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

From: Matthew Wilcox
Date: Mon Jun 02 2008 - 08:49:22 EST


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."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/