aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2016-12-06 16:00:14 +0100
committerJason Riordan <jriordan001@gmail.com>2017-02-02 00:03:34 -0500
commit6fa2665fd0d734178a32c1e6d6a1c841706b297b (patch)
tree9722940860063e7817118c24754446c00294d311
parent7eb573cdf418680a2143669e8e59856ff7fa5e2b (diff)
mofd-common: Add selinux rules needed by gestures cmhw
Change-Id: If9e907a5b16f2c11f87212cbc095e24b88eb69c9
-rw-r--r--sepolicy/system_app.te1
-rw-r--r--sepolicy/system_server.te1
2 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te
index 9403029..e7eb608 100644
--- a/sepolicy/system_app.te
+++ b/sepolicy/system_app.te
@@ -1,5 +1,4 @@
allow system_app sysfs_thermal_writable:file rw_file_perms;
allow system_app sysfs_coretemp:file rw_file_perms;
-allow system_app sysfs_touchscreen:file rw_file_perms;
# TODO This looks dubious
allow system_app self:netlink_kobject_uevent_socket {create read bind connect getopt setopt shutdown};
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index 2781be0..6cab4c3 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -18,3 +18,4 @@ allow system_server unlabeled:file { unlink };
allow system_server system_file:file execmod;
unix_socket_connect(system_server, sensorhubd, sensorhubd)
+allow system_server sysfs_touchscreen:file rw_file_perms;