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:
Tom Cherry 2017-10-02 16:59:02 -07:00
parent 5eaa5bc081
commit ac7428b2f5

View file

@ -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 {