Files
device_xiaomi_miatoll/sepolicy/vendor/timekeep.te
Roberto Sartori 6f042cb1c6 miatoll: Switch from time_daemon to TimeKeep
* time_daemon just refuses to work properly on mata.
    Sony's TimeKeep, instead, does the job flawlessly,
    so just ditch the former in favor of the latter.

Signed-off-by: Roberto Sartori <roberto.sartori.android@gmail.com>
Change-Id: I54f50ed3d49efc2834d478781b15e6ee428a3062
2023-08-17 04:52:48 +00:00

14 lines
347 B
Plaintext

type timekeep, domain;
type timekeep_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(timekeep)
allow timekeep self:capability sys_time;
allow timekeep vendor_time_data_file:dir rw_dir_perms;
allow timekeep vendor_time_data_file:file create_file_perms;
r_dir_file(timekeep, sysfs_rtc)
set_prop(timekeep, vendor_timekeep_prop)