aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/gpsd.te
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/gpsd.te')
-rw-r--r--selinux/gpsd.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/selinux/gpsd.te b/selinux/gpsd.te
new file mode 100644
index 0000000..853ec78
--- /dev/null
+++ b/selinux/gpsd.te
@@ -0,0 +1,4 @@
+domain_trans(init, rootfs, gpsd)
+
+allow gpsd rild:unix_stream_socket connectto;
+allow gpsd sysfs_wake_lock:file { read write open };