From owner-svn-src-all@FreeBSD.ORG Sat Feb 27 19:57:40 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA41B106566C; Sat, 27 Feb 2010 19:57:40 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B9ED58FC28; Sat, 27 Feb 2010 19:57:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o1RJvehZ058325; Sat, 27 Feb 2010 19:57:40 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o1RJveQD058323; Sat, 27 Feb 2010 19:57:40 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <201002271957.o1RJveQD058323@svn.freebsd.org> From: Robert Watson Date: Sat, 27 Feb 2010 19:57:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r204430 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2010 19:57:40 -0000 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;