aboutsummaryrefslogtreecommitdiffstats
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-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