summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-08-12 16:49:03 +0000
committerrwatson <rwatson@FreeBSD.org>2002-08-12 16:49:03 +0000
commitf8156b93eeb0d400644d4f1731a0d3ee31b837fb (patch)
tree73aeb7b211cd1c4e8da6457997f515914f7a50ac /lib/libc
parent7a27007bbba75b4d691e1af110c195a64af712a2 (diff)
downloadFreeBSD-src-f8156b93eeb0d400644d4f1731a0d3ee31b837fb.zip
FreeBSD-src-f8156b93eeb0d400644d4f1731a0d3ee31b837fb.tar.gz
Use the credential authorizing the socket creation operation to perform
the jail check and the MAC socket labeling in socreate(). This handles socket creation using a cached credential better (such as in the NFS client code when rebuilding a socket following a disconnect: the new socket should be created using the nfsmount cached cred, not the cred of the thread causing the socket to be rebuilt). Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud