Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2010 19:57:40 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204430 - head/sys/kern
Message-ID:  <201002271957.o1RJveQD058323@svn.freebsd.org>

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



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