freebsd-nq/sys/rpc
Robert Watson 4f7d1876d5 Introduce a new lock, hostname_mtx, and use it to synchronize access
to global hostname and domainname variables.  Where necessary, copy
to or from a stack-local buffer before performing copyin() or
copyout().  A few uses, such as in cd9660 and daemon_saver, remain
under-synchronized and will require further updates.

Correct a bug in which a failed copyin() of domainname would leave
domainname potentially corrupted.

MFC after:	3 weeks
2008-07-05 13:10:10 +00:00
..
auth_none.c
auth_unix.c Include <sys/pcpu.h> for curthread. 2008-06-27 14:35:05 +00:00
auth.h
authunix_prot.c Introduce a new lock, hostname_mtx, and use it to synchronize access 2008-07-05 13:10:10 +00:00
clnt_dg.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
clnt_rc.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
clnt_stat.h
clnt_vc.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
clnt.h Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
getnetconfig.c
inet_ntop.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
inet_pton.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
netconfig.h
nettype.h
pmap_prot.h
rpc_callmsg.c
rpc_com.h
rpc_generic.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
rpc_msg.h
rpc_prot.c
rpc.h
rpcb_clnt.c It may be #if 0'd out code, but change a varname to not shadow a global. 2008-06-29 01:04:48 +00:00
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcclnt.c
rpcclnt.h
rpcm_subs.h
svc_auth_unix.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
svc_auth.c
svc_auth.h
svc_dg.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
svc_generic.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
svc_vc.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
svc.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
svc.h
types.h
xdr.h