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:
commit
14ad786183
|
@ -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 }
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue