svn commit: r208694 - stable/8/sys/kern

Robert Watson rwatson at FreeBSD.org
Tue Jun 1 14:04:33 UTC 2010


Author: rwatson
Date: Tue Jun  1 14:04:33 2010
New Revision: 208694
URL: http://svn.freebsd.org/changeset/base/208694

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

Modified:
  stable/8/sys/kern/vfs_syscalls.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/kern/vfs_syscalls.c
==============================================================================
--- stable/8/sys/kern/vfs_syscalls.c	Tue Jun  1 14:04:00 2010	(r208693)
+++ stable/8/sys/kern/vfs_syscalls.c	Tue Jun  1 14:04:33 2010	(r208694)
@@ -2118,8 +2118,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-stable-8 mailing list