NetBSD/sys/nfs
bouyer 615c2e4e8d PR kern/41154: possible races in NFS server code
Fix some of the races (but probably not all of them) in the NFS server code.
nfssvc_nfsd(): change a splsoftclock()/spx() to mutex_enter/exit(&nfsd_lock)
 (I guess it was forgotten when the nfsd code was made SMP safe)
m_freem(nd_nam) in nfsrv_slpderef() instead of nfsrv_zapsock() to
 avoid possible use after free in nfssvc_nfsd()
Fix nfsrv_slpderef() to not release  nfsd_lock before testing SLP_VALID
 and reaquiring it just after. This could cause a use after free
 of the slp if one thread is in nfsrv_slpderef() and the other one grabs
 slp from nfssvc_sockpending and zap it.
2009-04-10 19:04:14 +00:00
..
files.nfs Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
krpc_subr.c ansify function definitions 2009-03-15 17:14:40 +00:00
krpc.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
Makefile remove nqnfs. 2006-12-27 12:10:09 +00:00
nfs_bio.c Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
nfs_boot.c Update comments to reflect realities; the filenames were changed in 1997 2009-03-04 06:56:25 +00:00
nfs_bootdhcp.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
nfs_bootparam.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
nfs_bootstatic.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
nfs_export.c kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
nfs_iod.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs_kq.c Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
nfs_node.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_serv.c PR kern/41158: nfs_rename() locking against myself 2009-04-10 18:58:50 +00:00
nfs_socket.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs_srvcache.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_srvsocket.c Change about 4500 of the K&R function definitions to ANSI ones. 2009-03-14 15:35:58 +00:00
nfs_srvsubs.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs_subs.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_syscalls.c PR kern/41154: possible races in NFS server code 2009-04-10 19:04:14 +00:00
nfs_var.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
nfs_vfsops.c ansify function definitions 2009-03-15 17:14:40 +00:00
nfs_vnops.c ANSIfy another 1261 function definitions. 2009-03-14 21:04:01 +00:00
nfs.h Change NFS to use a RB-tree for its FH->nfsnode lookups. 2008-10-22 11:36:06 +00:00
nfsdiskless.h change nfs boot behaviour to automatically try next boot method if boot information are incomplete to succeed. 2008-10-27 10:58:22 +00:00
nfsm_subs.h PR kern/41158: nfs_rename() locking against myself 2009-04-10 18:58:50 +00:00
nfsmount.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
nfsnode.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
nfsproto.h remove nqnfs. 2006-12-27 12:10:09 +00:00
nfsrtt.h remove several nqnfs definitions. 2006-12-28 00:39:03 +00:00
nfsrvcache.h merge non-intrusive nfs changes from vmlocking. 2007-12-04 17:42:30 +00:00
rpcv2.h remove several nqnfs definitions. 2006-12-28 00:39:03 +00:00
xdr_subs.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00