init: split property context into platform & non-platform components
Bug: 33746484 Test: Successfully boot with original service and property contexts. Test: Successfully boot with split serivce and property contexts. Test: 'getprop -Z' Change-Id: I62689b229a67e319c65bf034da804f660f82bd35 Signed-off-by: Sandeep Patil <sspatil@google.com>
This commit is contained in:
parent
fe05f1cde4
commit
871c306855
|
@ -775,7 +775,8 @@ int main(int argc, char** argv) {
|
|||
restorecon("/dev/random");
|
||||
restorecon("/dev/urandom");
|
||||
restorecon("/dev/__properties__");
|
||||
restorecon("/property_contexts");
|
||||
restorecon("/plat_property_contexts");
|
||||
restorecon("/nonplat_property_contexts");
|
||||
restorecon("/sys", SELINUX_ANDROID_RESTORECON_RECURSE);
|
||||
restorecon("/dev/block", SELINUX_ANDROID_RESTORECON_RECURSE);
|
||||
restorecon("/dev/device-mapper");
|
||||
|
|
Loading…
Reference in New Issue