summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorrepo sync <gcondra@google.com>2013-04-24 11:18:29 -0700
committerrepo sync <gcondra@google.com>2013-04-25 14:19:16 -0700
commitb89bdfde422eff751b3f939f10ab57e22af83eaa (patch)
treeaecc1341fc19309b5bcc9a3fc20c4dc81bf7c886 /init
parent7ee2e26eb98da10eaddf5a8e864d508cceab946b (diff)
downloadsystem_core-b89bdfde422eff751b3f939f10ab57e22af83eaa.zip
system_core-b89bdfde422eff751b3f939f10ab57e22af83eaa.tar.gz
system_core-b89bdfde422eff751b3f939f10ab57e22af83eaa.tar.bz2
Add persistent property for SELinux enforcment status.
Also adds triggers for going between enforcing and permissive status. Bug: 8702843 Change-Id: I841d80999b96acf6b6fd0a5408fb074952d6ae72
Diffstat (limited to 'init')
-rwxr-xr-xinit/property_service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/property_service.c b/init/property_service.c
index 5780001..3248399 100755
--- a/init/property_service.c
+++ b/init/property_service.c
@@ -91,6 +91,7 @@ struct {
{ "persist.service.", AID_SYSTEM, 0 },
{ "persist.security.", AID_SYSTEM, 0 },
{ "persist.service.bdroid.", AID_BLUETOOTH, 0 },
+ { "persist.selinux.enforcing", AID_SYSTEM, 0},
{ "selinux." , AID_SYSTEM, 0 },
{ NULL, 0, 0 }
};