Date: Wed, 25 Aug 2004 01:23:38 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_socket.c Message-ID: <200408250123.i7P1NcYJ042692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-08-25 01:23:38 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_socket.c
Log:
In nfs_timer(), pass curthread rather than &thread0 into the protocol
send routine. In IPv6 UDP, the thread will be passed to suser(), which
asserts that if a thread is used for a super user check, it be
curthread. Many of these protocol entry points probably need to
accept credentials instead of threads.
MT5 candidate.
Noticed/tested by: kuriyama
Revision Changes Path
1.115 +2 -4 src/sys/nfsclient/nfs_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408250123.i7P1NcYJ042692>
