]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: move SELINUX_MAGIC into magic.h
authorEric Paris <eparis@redhat.com>
Mon, 18 May 2009 14:26:10 +0000 (10:26 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 18 May 2009 22:19:00 +0000 (08:19 +1000)
commit8d639fa1993cd9307e73e4f462cb1773f57c011e
tree28b1085d2aa76517024709d2f077fdc41aeec4c2
parent4f55f2c927e7ded954376ebdd8f7a6e670a43b26
SELinux: move SELINUX_MAGIC into magic.h

The selinuxfs superblock magic is used inside the IMA code, but is being
defined in two places and could someday get out of sync.  This patch moves the
declaration into magic.h so it is only done once.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/magic.h
security/integrity/ima/ima_policy.c
security/selinux/include/security.h