From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: Adding a security parameter to VFS functions Date: Mon, 20 Aug 2007 13:09:52 +0100 Message-ID: <11466.1187611792@redhat.com> References: <29015.1187178055@redhat.com> Cc: dhowells@redhat.com, viro@ftp.linux.org.uk, sds@tycho.nsa.gov, casey@schaufler-ca.com, linux-fsdevel@vger.kernel.org, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov, linux-security-module@vger.kernel.org To: Linus Torvalds Return-path: In-Reply-To: Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Linus Torvalds wrote: > > Would you object greatly to functions like vfs_mkdir() gaining a security > > parameter? What I'm thinking of is this: > ... > Why the *hell* would mkdir() be so magical as to need something like that? If you look again, you'll notice that I said "functions like vfs_mkdir()". I was I using vfs_mkdir() as an example. I didn't mean to apply this to directory creation only. It would need to apply to all the vfs_*() entry points called by nfsd and cachefiles. David