svn commit: r204430 - head/sys/kern

Robert Watson rwatson at FreeBSD.org
Sat Feb 27 19:57:40 UTC 2010


Author: rwatson
Date: Sat Feb 27 19:57:40 2010
New Revision: 204430
URL: http://svn.freebsd.org/changeset/base/204430

Log:
  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

Modified:
  head/sys/kern/vfs_syscalls.c

Modified: head/sys/kern/vfs_syscalls.c
==============================================================================
--- head/sys/kern/vfs_syscalls.c	Sat Feb 27 19:44:44 2010	(r204429)
+++ head/sys/kern/vfs_syscalls.c	Sat Feb 27 19:57:40 2010	(r204430)
@@ -2122,8 +2122,7 @@ kern_accessat(struct thread *td, int fd,
 
 	/*
 	 * 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;


More information about the svn-src-all mailing list