android_device_samsung_msm8.../sepolicy/timekeep.te
LuK1337 dafcd292e6 msm8976-common: sepolicy: Allow timekeep to read since_epoch
Change-Id: I66af18e6c82f8ea6a2951a93e468f2533432b3c7
2019-01-19 12:58:40 +01:00

18 lines
499 B
Plaintext

type timekeep, domain;
type timekeep_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(timekeep)
# Grant permission to set system time and to set the real-time lock
allow timekeep self:capability { fowner sys_time };
allow timekeep time_data_file:file create_file_perms;
allow timekeep time_data_file:dir create_dir_perms;
allow timekeep sysfs:file r_file_perms;
allow timekeep sysfs_rtc:dir search;
allow timekeep sysfs_rtc:file r_file_perms;
set_prop(timekeep, timekeep_prop)