mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
msm8976-common: sepolicy: Address timekeep denials
Change-Id: I1f6b24c2586106535415a1913d9b6d6841bc8392
This commit is contained in:
parent
9d3d34ab77
commit
3c733e2cc6
2 changed files with 6 additions and 1 deletions
|
@ -3,4 +3,8 @@ allow system_app sysfs_mdnie:file rw_file_perms;
|
|||
# TimeKeep Java service
|
||||
allow system_app time_data_file:dir rw_dir_perms;
|
||||
allow system_app time_data_file:file rw_file_perms;
|
||||
|
||||
allow system_app sysfs_rtc:dir search;
|
||||
allow system_app sysfs_rtc:file r_file_perms;
|
||||
|
||||
set_prop(system_app, timekeep_prop)
|
||||
|
|
|
@ -9,6 +9,7 @@ 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)
|
||||
|
|
Loading…
Reference in a new issue