summaryrefslogtreecommitdiffstats
path: root/sepolicy/gpsd.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/gpsd.te')
-rw-r--r--sepolicy/gpsd.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/sepolicy/gpsd.te b/sepolicy/gpsd.te
index 309ab1a..9d588f3 100644
--- a/sepolicy/gpsd.te
+++ b/sepolicy/gpsd.te
@@ -1,7 +1,8 @@
allow gpsd rild:unix_stream_socket connectto;
allow gpsd system_data_file:dir { add_name write };
-allow gpsd system_data_file:file { create write lock open };
+#allow gpsd system_data_file:file { create write lock open };
allow gpsd system_data_file:fifo_file { create read write open setattr };
+allow gpsd system_data_file:dir { read write setattr open add_name };
allow gpsd sysfs_wake_lock:file { read write open };
allow gpsd servicemanager:binder call;
allow gpsd system_server:binder call;