Received: by mail.netbsd.org (Postfix, from userid 605) id 5439119CEBD; Sun, 20 Mar 2011 21:20:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A66F219CEFF for ; Sun, 20 Mar 2011 21:19:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 9TDHMqgvNj7B for ; Sun, 20 Mar 2011 21:19:58 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id E4D4E19CEB8 for ; Sun, 20 Mar 2011 21:19:57 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C6DC1175DD; Sun, 20 Mar 2011 21:19:57 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 20 Mar 2011 21:19:57 +0000 From: "Manuel Bouyer" Subject: CVS commit: [netbsd-5] src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20110320211957.C6DC1175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Manuel Bouyer" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: bouyer Date: Sun Mar 20 21:19:57 UTC 2011 Modified Files: src/sys/kern [netbsd-5]: vfs_syscalls.c Log Message: Pull up following revision(s) (requested by dholland in ticket #1567): sys/kern/vfs_syscalls.c: revision 1.415 via patch Check for bogus flags to access() up front. Otherwise we end up calling VOP_ACCESS with flags 0 and something asserts deep in the bowels of kauth. PR 44648 from Taylor Campbell. (I moved the check earlier relative to the suggested patch.) Pullup candidate. To generate a diff of this commit: cvs rdiff -u -r1.376.4.5 -r1.376.4.6 src/sys/kern/vfs_syscalls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.