Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2010 14:04:33 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r208694 - stable/8/sys/kern
Message-ID:  <201006011404.o51E4XLU051330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006011404.o51E4XLU051330>