init: fix subcontext SELinux strings
'object_r' is supposed to be simply 'r'. Test: boot sailfish with SELinux fully enabled and subcontexts enabled Change-Id: I7eb8b2dd18e66f23c09863e8961da339f72d25c5
This commit is contained in:
parent
5eaa5bc081
commit
ac7428b2f5
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ using android::base::unique_fd;
|
|||
namespace android {
|
||||
namespace init {
|
||||
|
||||
const std::string kInitContext = "u:object_r:init:s0";
|
||||
const std::string kVendorContext = "u:object_r:vendor_init:s0";
|
||||
const std::string kInitContext = "u:r:init:s0";
|
||||
const std::string kVendorContext = "u:r:vendor_init:s0";
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
Loading…
Reference in a new issue