ueventd: don't skip restorecon after the cold boot
We need to do restorecon after the cold boot, otherwise the newly created sysfs nodes won't be labelled. Bug: 118861992 Test: manual - do insmod, check sysfs nodes are properly labelled Change-Id: I4bdfb4a68206724a568d8cbb6c644ba8764b5fa7
This commit is contained in:
parent
6d7c8fcc92
commit
dd5802a27e
|
@ -419,7 +419,7 @@ void DeviceHandler::HandleUevent(const Uevent& uevent) {
|
|||
}
|
||||
|
||||
void DeviceHandler::ColdbootDone() {
|
||||
skip_restorecon_ = true;
|
||||
skip_restorecon_ = false;
|
||||
}
|
||||
|
||||
DeviceHandler::DeviceHandler(std::vector<Permissions> dev_permissions,
|
||||
|
|
Loading…
Reference in New Issue