From: James Morris Date: Wed, 22 Mar 2006 08:09:18 +0000 (-0800) Subject: [PATCH] selinuxfs cleanups: sel_make_bools X-Git-Tag: v2.6.17-rc1~1129^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253a8b1db1af146d3a7eef0f3626781df12c7141;p=pandora-kernel.git [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 Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed