freebsd-dev/usr.sbin/rpcbind
Ian Dowse 98f36a359d Fix some return-value brain-damage in forward_register(). This
function has a return type of u_int32_t, into which it was somehow
supposed to encode:
 *  A valid 32-bit XID (which could be any value including 0).
 *  0, meaning a duplicate request.
 *  -1, meaning a malloc failed (!);
We now ensure that all XIDs are non-zero, and pass the XID out via
a pointer argument.

In forward_find() and free_slot_by_xid(), remove an unnecessary
and confusing test for a negative result from an unsigned modulo
operation, but add an unnecessary cast to highlight why.
2001-06-23 21:54:47 +00:00
..
check_bound.c
Makefile - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pmap_svc.c Hopefully fix some of the bugs in passing credentials over UNIX domain sockets. 2001-03-22 04:31:30 +00:00
rpcb_stat.c
rpcb_svc_4.c
rpcb_svc_com.c Fix some return-value brain-damage in forward_register(). This 2001-06-23 21:54:47 +00:00
rpcb_svc.c
rpcbind.8
rpcbind.c
rpcbind.h
security.c
util.c Bring in some bugfixes from NetBSD. I'm going to make a more 2001-04-26 17:05:55 +00:00
warmstart.c