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:
Tom Cherry 2015-11-30 16:40:25 -08:00
parent a3892504ac
commit e36a85cdcc

View file

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