]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] selinux: remove security struct magic number fields and tests
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 1 Feb 2006 11:05:56 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:19 +0000 (08:53 -0800)
commit9ac49d22138348198f729f07371ffb11991368e6
tree4fb692731e6e72d0dc50add294128f6e5083d205
parent26d2a4be6a56eec575dac651f6606756a971f0fb
[PATCH] selinux: remove security struct magic number fields and tests

Remove the SELinux security structure magic number fields and tests, along
with some unnecessary tests for NULL security pointers.  These fields and
tests are leftovers from the early attempts to support SELinux as a
loadable module during LSM development.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-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
security/selinux/include/objsec.h