]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31459d3f496ea89713233bcdd23cf86684ffd23d
treeff6daed6c494ac83afad70049a28f20ec5770b44
parent99fbed79ff902ca1441440117c015dda7cd19d08
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