[PATCH] selinux: simplify sel_read_bool
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 22 Mar 2006 08:09:15 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:07 +0000 (07:54 -0800)
commit68bdcf28a8d245208a02dc9caa60fe13cc1b0ea8
tree4d50f43597d677c7b1b88b10696cb2358abaf83e
parentbb0030797f55c9996ea1cebd16b65750ceb7e4fd
[PATCH] selinux: simplify sel_read_bool

Simplify sel_read_bool to use the simple_read_from_buffer helper, like the
other selinuxfs functions.

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/selinuxfs.c