Received: by mail.netbsd.org (Postfix, from userid 605) id F2FEA14A189; Wed, 12 Jun 2013 12:14:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 06A2114A17C for ; Wed, 12 Jun 2013 12:14:36 +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 Y_h1aLv9CrEa for ; Wed, 12 Jun 2013 12:14:35 +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 47A4414A14B for ; Wed, 12 Jun 2013 12:14:35 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 34DAC96; Wed, 12 Jun 2013 12:14:35 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 12 Jun 2013 12:14:35 +0000 From: "Antti Kantee" Subject: CVS commit: src/sys/rump/librump/rumpvfs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130612121435.34DAC96@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: "Antti Kantee" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: pooka Date: Wed Jun 12 12:14:35 UTC 2013 Modified Files: src/sys/rump/librump/rumpvfs: rumpfs.c Log Message: Make sure root creds override fs mode (at least in a root cred secmodel). The correct way is of course for the access method to perform this: return kauth_authorize_vnode(cred, KAUTH_ACCESS_ACTION(mode, vp->v_type, attr->va_mode), vp, NULL, genfs_can_access(vp->v_type, attr->va_mode, attr->va_uid, attr->va_gid, mode, cred)); To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/rump/librump/rumpvfs/rumpfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.