aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/time_daemon.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/time_daemon.te')
-rw-r--r--sepolicy/time_daemon.te4
1 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/time_daemon.te b/sepolicy/time_daemon.te
index 3896a0a..d8a8394 100644
--- a/sepolicy/time_daemon.te
+++ b/sepolicy/time_daemon.te
@@ -1,5 +1,5 @@
allow time_daemon sysfs_msm_subsys:dir search;
allow time_daemon sysfs_msm_subsys:file { getattr open read setattr };
allow time_daemon sysfs_soc:dir search;
-allow time_daemon time_data_file:file { open read write };
-allow time_daemon time_data_file:dir search;
+allow time_daemon time_data_file:file create_file_perms;
+allow time_daemon time_data_file:dir rw_dir_perms;