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)