Adding a security parameter to VFS functions

David Howells dhowells at redhat.com
Mon Aug 20 08:09:52 EDT 2007


Linus Torvalds <torvalds at linux-foundation.org> 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


More information about the NFSv4 mailing list