SELinux: don't check permissions for kernel mounts
authorJames Morris <jmorris@namei.org>
Fri, 19 Dec 2008 00:41:10 +0000 (11:41 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 19 Dec 2008 22:03:39 +0000 (09:03 +1100)
commit74192246910ff4fb95309ba1a683215644beeb62
treeff6daed6c494ac83afad70049a28f20ec5770b44
parent12204e24b1330428c3062faee10a0d80b8a5cb61
SELinux: don't check permissions for kernel mounts

Don't bother checking permissions when the kernel performs an
internal mount, as this should always be allowed.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
security/selinux/hooks.c