History log of /system/sepolicy/tools/sepolicy-analyze/booleans.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d1559144795a3a5100fb81c27e71765fe9578f06 11-Mar-2015 Stephen Smalley <sds@tycho.nsa.gov> sepolicy-analyze: Change booleans command to be more test-friendly.

Instead of displaying the boolean count, display a list of booleans
defined in the policy, if any. This makes sepolicy-analyze booleans
consistent with sepolicy-analyze permissive and allows automated tests
to simply check whether there was any output at all.

Change-Id: I221b60d94e6e7f6d80399bf0833887af3747fe83
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/system/sepolicy/tools/sepolicy-analyze/booleans.c
a7b2c5f4ab5fc393dd75af934e5daa13e2ac70a6 11-Mar-2015 Stephen Smalley <sds@tycho.nsa.gov> sepolicy-analyze: Implement booleans test.

Implement the booleans test in sepolicy-analyze so
that we can move the no-booleans check from the
SELinuxTest to the SELinuxHostTest along with the
other policy checks.

Change-Id: I95d7ad34da10c354470f43734d34a6ec631a7b4e
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/system/sepolicy/tools/sepolicy-analyze/booleans.c