]> git.baikalelectronics.ru Git - kernel.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)
commit7f6dfff21d957959a5226a46ae665f915e148890
tree4fb692731e6e72d0dc50add294128f6e5083d205
parent8acd95d39becb80f622d03ce2009d59863cfdc93
[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