aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-04-27 21:39:31 +0200
committerRoberto Gibellini <gibellini.roberto@gmail.com>2016-04-27 12:50:28 -0700
commit838cfb84a6c0e2191a730c03934be7bf6dcad349 (patch)
treee9bdc97cb26dab75b3fbdcd537147e9fba7b235a
parent5de77538f88ced717fd366442da7ff1ba0c41985 (diff)
downloaddevice_samsung_kona-common-838cfb84a6c0e2191a730c03934be7bf6dcad349.zip
device_samsung_kona-common-838cfb84a6c0e2191a730c03934be7bf6dcad349.tar.gz
device_samsung_kona-common-838cfb84a6c0e2191a730c03934be7bf6dcad349.tar.bz2
kona : enable spen detection
Change-Id: I583dc0195acb2a54147c094a9c258e8c0ab4ede9
-rw-r--r--selinux/untrusted_app.te5
1 files changed, 4 insertions, 1 deletions
diff --git a/selinux/untrusted_app.te b/selinux/untrusted_app.te
index b9358f0..ca9e731 100644
--- a/selinux/untrusted_app.te
+++ b/selinux/untrusted_app.te
@@ -1,2 +1,5 @@
allow untrusted_app domain:dir { getattr search };
-allow untrusted_app domain:file { read open }; \ No newline at end of file
+allow untrusted_app domain:file { read open };
+# S-Pen detection
+allow untrusted_app input_device:dir { search write open read };
+allow untrusted_app input_device:chr_file { getattr write ioctl read open }; \ No newline at end of file