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: Ib9c087115040c1609aa64a3ed66d4e67e937e33d Signed-off-by: Sandeep Patil <sspatil@google.com>
This commit is contained in:
parent
1cb8d9df6c
commit
7a5db4ec7f
1 changed files with 2 additions and 1 deletions
|
|
@ -810,7 +810,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…
Add table
Reference in a new issue