From ee0365443eaa8451279720b3b9a5cc8cb1ecf170 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 9 Jan 2018 23:31:38 +0100 Subject: [PATCH] msm8976-common: Timekeep is now in /vendor --- sepolicy/file_contexts | 2 +- sepolicy/timekeep.te | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 4a63f76..19151a5 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -29,7 +29,7 @@ /sys/devices/virtual/sec/sec_key(/.*)? u:object_r:sysfs_sec_key:s0 # TimeKeep -/system/bin/timekeep u:object_r:timekeep_exec:s0 +/(vendor|system/vendor)/bin/timekeep u:object_r:timekeep_exec:s0 # Uncrypt /dev/block/platform/soc\.0/7824900\.sdhci/by-name/fota u:object_r:misc_block_device:s0 diff --git a/sepolicy/timekeep.te b/sepolicy/timekeep.te index 8853267..19cbe2d 100644 --- a/sepolicy/timekeep.te +++ b/sepolicy/timekeep.te @@ -1,5 +1,5 @@ type timekeep, domain; -type timekeep_exec, exec_type, file_type; +type timekeep_exec, exec_type, vendor_file_type, file_type; # Started by init init_daemon_domain(timekeep)