platform_external_selinux/libselinux
Stephen Smalley a609434b95 libselinux: normalize enforce values from the kernel
Normalize enforce values received from the kernel via
/sys/fs/selinux/enforce or netlink selinux notifications
to ensure that we always return a 0 or 1 to userspace code.
selinux_status_getenforce(), which reads the enforce value
via the SELinux kernel status page (/sys/fs/selinux/status)
already normalizes its result, so we do not need to update it.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2016-11-18 09:48:25 -05:00
..
include libselinux: android: fix lax service context lookup 2016-09-29 09:59:44 -04:00
man libselinux: Add function to find security.restorecon_last entries 2016-09-26 14:05:54 -04:00
src libselinux: normalize enforce values from the kernel 2016-11-18 09:48:25 -05:00
utils libselinux: fix subdir build and usage of cmdline CFLAGS 2016-11-14 13:10:51 -05:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: Add clean-pywrap and clean-rubywrap targets 2016-10-27 10:35:37 -04:00
VERSION Update VERSION and ChangeLog files for 2.6 final release. 2016-10-14 11:31:26 -04:00