]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The NFS server modevent code manually patches the system call table to
authorrwatson <rwatson@FreeBSD.org>
Mon, 31 May 2004 00:59:10 +0000 (00:59 +0000)
committerrwatson <rwatson@FreeBSD.org>
Mon, 31 May 2004 00:59:10 +0000 (00:59 +0000)
commitbbcb59f82d959b3188ef967e1a2b92738784acb7
tree86d6be4316693376ea8678ac1db3c0190ba3ef2c
parent77bfa810cc8670872b69e0edff8b53eda5193edf
The NFS server modevent code manually patches the system call table to
install nfssvc().  It also updates the argument count, but did so
without setting SYF_MPSAFE, effectively removing the MPSAFE flag even
when syscalls.master indicates it doesn't require Giant.  This change
forces the modevent to set MPSAFE as a flag to its internal notion of
an argument coutn.

Note: this duplication of information is a bad thing, but is a more
general problem I'm not currently willing to address.
sys/nfsserver/nfs_srvsubs.c