mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
14 lines
417 B
Text
14 lines
417 B
Text
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;
|
|
|
|
set_prop(timekeep, timekeep_prop)
|