restorecon /property_contexts
/property_contexts exists before selinux policies are loaded, so we must restorecon before other processes can access it Bug: 21852512 Change-Id: Ie983caac635eb928ab19eea996a5625f3673de39
This commit is contained in:
parent
a3892504ac
commit
e36a85cdcc
1 changed files with 1 additions and 0 deletions
|
|
@ -602,6 +602,7 @@ int main(int argc, char** argv) {
|
|||
restorecon("/dev");
|
||||
restorecon("/dev/socket");
|
||||
restorecon("/dev/__properties__");
|
||||
restorecon("/property_contexts");
|
||||
restorecon_recursive("/sys");
|
||||
|
||||
epoll_fd = epoll_create1(EPOLL_CLOEXEC);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue