aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Stefani <luca.stefani.ge1@gmail.com>2016-12-06 16:00:14 +0100
committerKaan Külahlı <rygebis@gmail.com>2017-02-27 15:23:16 +0000
commit527677b610fecedbefa30bde8f06d0409a74f4dd (patch)
tree5bf0d9db0aab6d14b5762444fa397aa369aec3cf
parent38ededaa53cacadae3e7a0eeddcee6aa7632f5c2 (diff)
msm8916-common: Add selinux rules needed by gestures cmhw
Change-Id: If9e907a5b16f2c11f87212cbc095e24b88eb69c9
-rw-r--r--sepolicy/system_app.te1
-rw-r--r--sepolicy/system_server.te2
2 files changed, 2 insertions, 1 deletions
diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te
deleted file mode 100644
index 59360f6..0000000
--- a/sepolicy/system_app.te
+++ /dev/null
@@ -1 +0,0 @@
-allow system_app sysfs_touchscreen:file rw_file_perms;
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index 6cf78ba..c0f1155 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -1,5 +1,7 @@
allow system_server mpctl_data_file:dir search;
allow system_server mpctl_data_file:sock_file write;
+allow system_server sysfs_touchscreen:file rw_file_perms;
+
r_dir_file(system_server, fac_file)
r_dir_file(system_server, persist_file)