]> err.no Git - linux-2.6/commit
[PATCH] SELinux: add rootcontext= option to label root inode when mounting
authorEric Paris <eparis@parisplace.org>
Mon, 10 Jul 2006 11:43:55 +0000 (04:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:13 +0000 (13:24 -0700)
commit0808925ea5684a0ce25483b30e94d4f398804978
tree62456726442d656d21bc4fa6b1339f0236f0a6e8
parentc312feb2931ded0582378712727b7ea017a951bd
[PATCH] SELinux: add rootcontext= option to label root inode when mounting

Introduce a new rootcontext= option to FS mounting.  This option will allow
you to explicitly label the root inode of an FS being mounted before that
FS or inode because visible to userspace.  This was found to be useful for
things like stateless linux, see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190001

Signed-off-by: Eric Paris <eparis@parisplace.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/hooks.c