am 538b5d4e: Merge "Add persistent property for SELinux enforcment status." into jb-mr2-dev

* commit '538b5d4e8e4c480b2120aa957fe3e11a2836a1b3':
  Add persistent property for SELinux enforcment status.
This commit is contained in:
gcondra@google.com 2013-04-26 13:37:52 -07:00 committed by Android Git Automerger
commit 14ad786183
2 changed files with 7 additions and 0 deletions

View File

@ -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 }
};

View File

@ -413,6 +413,12 @@ on property:selinux.reload_policy=1
restart ueventd
restart installd
on property:persist.selinux.enforcing=1
setenforce 1
on property:persist.selinux.enforcing=0
setenforce 0
service console /system/bin/sh
class core
console