spelling fixes; from paul tagliamonte
Add a new clnt*_control CLSET_CONNECTED, which says the socket has alreadybeen connected. In the udp case, this means to use send(), not sendto()ok jmatthew, claudio, miod
Mark all the rpc 'ops' vectors, for auth, client, service, and xdr,as const, moving them from .data to .data.rel.ro. The other BSDsdid this a long time ago; NetBSD did a chunk in 1998, which is lo
Mark all the rpc 'ops' vectors, for auth, client, service, and xdr,as const, moving them from .data to .data.rel.ro. The other BSDsdid this a long time ago; NetBSD did a chunk in 1998, which is longenough I didn't bother to get exact dates for others.ok deraadt@ millert@
show more ...
Pull in <sys/select.h> for fd_setok deraadt@
Prefer the standardized <poll.h> over <sys/poll.h>
Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h>ok deraadt@
authdes_create() was never implemented
Add prototypes for xdr_{accepted,rejected}_reply() and svcudp_enablecache()(Both NetBSD and FreeBSD provide these prototypes)ok millert@
Oracle has re-licensed sunrpc under a three-clause BSD license.Update our sources appropriately. OK deraadt@ jsg@
incomming -> incomingThe ones found in gnu/ left out by intention.ok jmc
Commit requested by marco:Add nonblock support for xdrrecsok millert blambert & otto; from NetBSD. libc bump to follow soon.
implement xdr_int64_t, xdr_u_int64_tfrom NetBSD
some spelling fixes from Martynas Venckus
add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -gworking again.help from millert@, ok deraadt@ pedro@
typos from alexey dobriyan;
Oops. Too much 'KNF'. We don't use NULL_xdrproc_t, but someone mightuse it in a vararg function call that needs the type info.Pointed out by otto@.
Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointedout by mickey@, seconded by millert@.ok deraadt@.
Remove unnecessary typedef usage.u_char -> unsigned charu_short -> unsigned shortu_long -> unsigned longu_int -> unsigned intokay millert@
Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)in the libc rpc code. The main difference between this and the previousversion is the use of a simple free list that si
Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)in the libc rpc code. The main difference between this and the previousversion is the use of a simple free list that simplifies the logic whenadding a socket to svc_pollfd. I've also added code to pack svc_pollfdwhen the free list gets too big. The idea general idea is to keepsvc_pollfd as tightly packed as possible to make poll(2) efficient.Tested by many people and OK deraadt@
realated -> related
unkown -> unknownok millert@
fix spelling in commentok millert@
Make x_handy in XDR u_int, not int since there are places in thecode that assign a u_int value to x_handy. However, this meansthat we need to be careful checking for overflow as we can no longers
Make x_handy in XDR u_int, not int since there are places in thecode that assign a u_int value to x_handy. However, this meansthat we need to be careful checking for overflow as we can no longersubtract a value and check the result for < 0. We reorder theexpression instead to avoid this problem (basic algebra).deraadt@ OK
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
12