summaryrefslogtreecommitdiff
path: root/security/seclvl.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2006-03-22 11:09:18 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 18:54:07 +0300
commit253a8b1db1af146d3a7eef0f3626781df12c7141 (patch)
tree9aea4b9864a3dc12df89c73e5cf156bd3e7932ad /security/seclvl.c
parent161ce45a8a34ba81673f60c603e6fc6d37d99c8f (diff)
downloadlinux-253a8b1db1af146d3a7eef0f3626781df12c7141.tar.xz
[PATCH] selinuxfs cleanups: sel_make_bools
Remove the call to sel_make_bools() from sel_fill_super(), as policy needs to be loaded before the boolean files can be created. Policy will never be loaded during sel_fill_super() as selinuxfs is kernel mounted during init and the only means to load policy is via selinuxfs. Also, the call to d_genocide() on the error path of sel_make_bools() is incorrect and replaced with sel_remove_bools(). Signed-off-by: James Morris <jmorris@namei.org> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/seclvl.c')
0 files changed, 0 insertions, 0 deletions