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)
commit75834fc3b6fcff00327f5d2a18760c1e8e0179c5
tree28b1085d2aa76517024709d2f077fdc41aeec4c2
parentc3d20103d08e5c0b6738fbd0acf3ca004e5356c5
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