From 838cfb84a6c0e2191a730c03934be7bf6dcad349 Mon Sep 17 00:00:00 2001 From: RGIB Date: Wed, 27 Apr 2016 21:39:31 +0200 Subject: kona : enable spen detection Change-Id: I583dc0195acb2a54147c094a9c258e8c0ab4ede9 --- selinux/untrusted_app.te | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'selinux') 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 -- cgit v1.1