Re: [patch 01/15] security: pass path to inode_create

Matthew Wilcox
2008-06-02T12:49:21Z

On Mon, Jun 02, 2008 at 02:45:10PM +0200, Andreas Gruenbacher wrote:
> Without the vfsmount, when something is mounted in more than once place, you
> cannot report which of the name aliases a process is accessing. This is
> unacceptable; the logs would become unusable. With pathname-based, the
> AppArmor and TOMOYO folks really mean pathname-based, not a hybrid pathname /
> mount point model.

audit_getname manages to do this. You're just not thinking hard enough ;-)

> One consequence of this is that pathname-based models must control who is
> allowed to create aliases where, of course.

Absolutely.

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."