diff options
author | Tom Cherry <tomcherry@google.com> | 2017-10-02 16:59:02 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-10-02 16:59:02 -0700 |
commit | ac7428b2f54aa7f5c489c887940f5b201c4546b0 (patch) | |
tree | aad87ae7599216b1ff8834a3316134e0c2396987 /init | |
parent | 5eaa5bc0813d7bf2e5c708281370983a9725c417 (diff) | |
download | core-ac7428b2f54aa7f5c489c887940f5b201c4546b0.tar.gz core-ac7428b2f54aa7f5c489c887940f5b201c4546b0.tar.bz2 core-ac7428b2f54aa7f5c489c887940f5b201c4546b0.zip |
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
Diffstat (limited to 'init')
-rw-r--r-- | init/subcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/subcontext.cpp b/init/subcontext.cpp index 1306c7ded..85da23734 100644 --- a/init/subcontext.cpp +++ b/init/subcontext.cpp @@ -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 { |