selinux/libsepol
Thomas Hurd c046d974c5 libsepol: bool_copy_callback set state on creation
Boolean states are only written on a declaration.
If a module is turned off which includes a tunable declaration that
is required in another module, the state is never set. This patch
sets the state when the booldatum is created so that an uninitialized
memory read does not occur in cond_write_bool and write garbage to
the link binary.  This can cause a failure in cond_read_bool when
running semodule_expand.

Signed-off-by: Thomas Hurd <thurd@tresys.com>
2015-03-19 14:33:47 -04:00
..
cil libsepol, checkpolicy: add device tree ocontext nodes to Xen policy 2015-03-18 08:16:44 -04:00
include libsepol, checkpolicy: add device tree ocontext nodes to Xen policy 2015-03-18 08:16:44 -04:00
man Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
src libsepol: bool_copy_callback set state on creation 2015-03-19 14:33:47 -04:00
tests libsepol/tests: fix gcc -Warray-bounds warning 2014-10-02 09:56:45 -04:00
utils
.gitignore libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
Android.mk Enable building CIL in the host libsepol. 2015-02-03 11:18:44 -05:00
COPYING
ChangeLog Update ChangeLogs. 2015-03-18 08:37:10 -04:00
Makefile libsepol: build cil into libsepol 2014-08-26 08:03:31 -04:00
VERSION Bump to final release 2015-02-02 09:38:10 -05:00