jmc
2811b70e6c
spelling fixes; from paul tagliamonte
2022-12-27 07:44:56 +00:00
deraadt
91fc4dda8d
Add a new clnt*_control CLSET_CONNECTED, which says the socket has already
...
been connected. In the udp case, this means to use send(), not sendto()
ok jmatthew, claudio, miod
2022-07-15 17:33:28 +00:00
guenther
8d4335cb9b
Mark all the rpc 'ops' vectors, for auth, client, service, and xdr,
...
as const, moving them from .data to .data.rel.ro. The other BSDs
did this a long time ago; NetBSD did a chunk in 1998, which is long
enough I didn't bother to get exact dates for others.
ok deraadt@ millert@
2022-02-14 03:38:59 +00:00
guenther
937c6c5fe0
Pull in <sys/select.h> for fd_set
...
ok deraadt@
2016-08-27 04:28:28 +00:00
guenther
f09ad35c18
Prefer the standardized <poll.h> over <sys/poll.h>
2015-09-14 08:16:14 +00:00
guenther
85858ec2de
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@
2015-09-13 15:36:56 +00:00
guenther
af44c6e45d
authdes_create() was never implemented
2015-09-13 12:29:03 +00:00
guenther
e356e1c257
Add prototypes for xdr_{accepted,rejected}_reply() and svcudp_enablecache()
...
(Both NetBSD and FreeBSD provide these prototypes)
ok millert@
2014-10-29 04:34:21 +00:00
millert
cb7760d181
Oracle has re-licensed sunrpc under a three-clause BSD license.
...
Update our sources appropriately. OK deraadt@ jsg@
2010-09-01 14:43:34 +00:00
mk
5727ab90b7
incomming -> incoming
...
The ones found in gnu/ left out by intention.
ok jmc
2010-05-01 08:14:26 +00:00
otto
ee1a9978f9
Commit requested by marco:
...
Add nonblock support for xdrrecs
ok millert blambert & otto; from NetBSD. libc bump to follow soon.
2008-12-09 19:40:10 +00:00
sturm
3ae1bc46f2
implement xdr_int64_t, xdr_u_int64_t
...
from NetBSD
2008-06-13 21:12:11 +00:00
jmc
f7ab9cefff
some spelling fixes from Martynas Venckus
2007-11-24 12:59:28 +00:00
grunk
4de4e8ca32
add void set_rpc_maxgrouplist(int), to be able to make mount_nfs -g
...
working again.
help from millert@, ok deraadt@ pedro@
2006-11-10 17:29:31 +00:00
jmc
4df9652199
typos from alexey dobriyan;
2006-02-06 16:47:07 +00:00
krw
80eabbf1b9
Oops. Too much 'KNF'. We don't use NULL_xdrproc_t, but someone might
...
use it in a vararg function call that needs the type info.
Pointed out by otto@.
2005-01-08 19:47:38 +00:00
krw
3f820ea1b1
Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointed
...
out by mickey@, seconded by millert@.
ok deraadt@.
2005-01-08 19:17:39 +00:00
espie
d1f942ab4c
Remove unnecessary typedef usage.
...
u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int
okay millert@
2004-01-22 21:48:02 +00:00
millert
2cca59ed80
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 previous
version is the use of a simple free list that simplifies the logic when
adding a socket to svc_pollfd. I've also added code to pack svc_pollfd
when the free list gets too big. The idea general idea is to keep
svc_pollfd as tightly packed as possible to make poll(2) efficient.
Tested by many people and OK deraadt@
2003-12-31 03:27:23 +00:00
margarida
461ddd8225
realated -> related
2003-03-16 00:34:01 +00:00
margarida
ce4f46b6cb
unkown -> unknown
...
ok millert@
2003-03-14 04:58:10 +00:00
david
441f8ae302
fix spelling in comment
...
ok millert@
2003-03-10 03:45:20 +00:00
millert
2c51cfc044
Make x_handy in XDR u_int, not int since there are places in the
...
code that assign a u_int value to x_handy. However, this means
that we need to be careful checking for overflow as we can no longer
subtract a value and check the result for < 0. We reorder the
expression instead to avoid this problem (basic algebra).
deraadt@ OK
2002-12-11 22:55:39 +00:00
millert
f3c3a9c6df
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
2002-02-17 19:42:18 +00:00
millert
c72b5b24e1
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.
2002-02-16 21:27:05 +00:00
deraadt
41aa8645fb
prototype cleanup
2001-09-15 13:51:00 +00:00
deraadt
f590e579b1
plug many memory leaks
2001-03-03 06:50:27 +00:00
deraadt
46d44c1d6b
proto _rpc_dtablesize()
2000-10-12 09:44:26 +00:00
deraadt
70f172e5d9
proto svc_getreqset2
2000-08-22 18:44:48 +00:00
millert
cc31112f12
pull in rpc/pmap_clnt.h to silence gcc and prototype xdr_opaque_auth for the same reason
1998-12-20 23:43:18 +00:00
deraadt
e60732d320
change pmap_set() protocol to u_int, similar to solaris; ref: casper
1998-08-29 18:57:14 +00:00
millert
a7c2f5b9ec
Some -Wall
1998-03-19 00:27:17 +00:00
deraadt
43dc1aedc3
pretty some types, real minor
1998-02-10 06:25:32 +00:00
niklas
5ea2d675e0
Well, as we are heading for a release people are encouraged to rebuild their
...
entire trees for testing anyway, I might as well do this intrusive touching
of include files now. Added openBSD tags.
1997-09-21 10:45:23 +00:00
deraadt
97d48f3c55
proto more
1997-07-17 06:37:08 +00:00
millert
66d8a28b5d
Move prototype for bindresvport(3) to <netiniet/in.h> as it is
...
not rpc-specific and other stuff uses it now.
1997-07-02 00:18:55 +00:00
provos
2f986f08a0
relocated header files
1997-06-29 10:28:23 +00:00
deraadt
1566ac18b1
proto get_myaddress()
1996-07-31 11:26:34 +00:00
deraadt
ea166fb7bd
proto bindresvport() here
1996-07-29 09:14:15 +00:00
deraadt
5948f55a17
(*cl_control)() takes a void * for last param
1996-07-20 04:54:08 +00:00
deraadt
df930be708
initial import of NetBSD tree
1995-10-18 08:37:01 +00:00