diff options
author | rwatson <rwatson@FreeBSD.org> | 2010-06-01 14:04:33 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2010-06-01 14:04:33 +0000 |
commit | 69b5854f29305482badb6419e2433f1027a36d90 (patch) | |
tree | 1961b87f1adbe796c7379e37987c96007fe6a1b3 /sys | |
parent | dac680de2dbde9e20cec20ada325699a0f030d04 (diff) | |
download | FreeBSD-src-69b5854f29305482badb6419e2433f1027a36d90.zip FreeBSD-src-69b5854f29305482badb6419e2433f1027a36d90.tar.gz |
Merge r204430 from head to stable/8:
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.
Approved by: re (bz)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index b3753c2..72b4795 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -2118,8 +2118,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; |