aboutsummaryrefslogtreecommitdiffstats
path: root/sepolicy/gpsd.te
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-07-18 17:59:44 +0200
committerAndreas Blaesius <skate4life@gmx.de>2015-07-31 11:46:21 -0700
commitaef65ac5b00bd1948816abae5232e70ee126e844 (patch)
treedf61e06ea980146735326432eaab398da6728342 /sepolicy/gpsd.te
parent97c8812fa1683f97cec6e549dfbe91732544c3b4 (diff)
downloaddevice_samsung_espresso3g-aef65ac5b00bd1948816abae5232e70ee126e844.zip
device_samsung_espresso3g-aef65ac5b00bd1948816abae5232e70ee126e844.tar.gz
device_samsung_espresso3g-aef65ac5b00bd1948816abae5232e70ee126e844.tar.bz2
P51XX: Update SELinux Policies [2/2]
- Move common policies to omap4-common - remove redundant seclabel in init.espresso10.rc - address some denials Change-Id: I396215f3eb1316c3ba96e5eb98a03b98b77543fd
Diffstat (limited to 'sepolicy/gpsd.te')
-rw-r--r--sepolicy/gpsd.te8
1 files changed, 8 insertions, 0 deletions
diff --git a/sepolicy/gpsd.te b/sepolicy/gpsd.te
new file mode 100644
index 0000000..6fabca6
--- /dev/null
+++ b/sepolicy/gpsd.te
@@ -0,0 +1,8 @@
+# gpsd - GPS daemon
+allow gpsd rild:unix_stream_socket { connectto };
+allow gpsd self:process { execmem };
+allow gpsd sysfs_wake_lock:file { read write };
+
+# TODO - Label with gps_data_file
+allow gpsd system_data_file:dir { write add_name };
+allow gpsd system_data_file:fifo_file { create setattr write open };