summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2010-02-27 19:57:40 +0000
committerrwatson <rwatson@FreeBSD.org>2010-02-27 19:57:40 +0000
commitfc045dee1354f1fe87ba069c4ce407ba063c3bd2 (patch)
tree80b2874b3e1e4661d48849f244a0a9bc1d4e42fc /sys/kern/vfs_syscalls.c
parent967067efbcb376530ab6358020a9c63fc96866ee (diff)
downloadFreeBSD-src-fc045dee1354f1fe87ba069c4ce407ba063c3bd2.zip
FreeBSD-src-fc045dee1354f1fe87ba069c4ce407ba063c3bd2.tar.gz
Remove stale comment about socket buffer accounting from access(2) code.
It is the case, however, that the uidinfo of the temporary credential set up for access(2) is not properly updated when its effective uid is changed. MFC after: 3 days
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index aa072ff..f1e6ca8 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -2122,8 +2122,7 @@ kern_accessat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
/*
* Create and modify a temporary credential instead of one that
- * is potentially shared. This could also mess up socket
- * buffer accounting which can run in an interrupt context.
+ * is potentially shared.
*/
if (!(flags & AT_EACCESS)) {
cred = td->td_ucred;
OpenPOWER on IntegriCloud