From 23070e73f4aece63b85adfa505331138d8bfb0a2 Mon Sep 17 00:00:00 2001 From: Jani Lusikka Date: Wed, 20 Jan 2016 18:47:27 +0200 Subject: [PATCH] universal7580: sepolicy: Allow rild to access sysfs_input files Addresses: I auditd : type=1400 audit(0.0:124): avc: denied { write } for comm="rild" name="hall_irq_ctrl" dev="sysfs" ino=16010 scontext=u:r:rild:s0 tcontext=u:object_r:sysfs_input:s0 tclass=file permissive=0 Change-Id: I1f1667a230b4db02adc7165eedaf684cf318b471 --- sepolicy/rild.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/rild.te b/sepolicy/rild.te index d021e3f..a1201dd 100644 --- a/sepolicy/rild.te +++ b/sepolicy/rild.te @@ -23,6 +23,8 @@ allow rild mif_device:chr_file rw_file_perms; # /sys/devices/virtual/misc/multipdp/waketime allow rild sysfs_multipdp:file rw_file_perms; +allow rild sysfs_input:file rw_file_perms; + # /proc/sys/net/ipv6/conf/*/accept_ra_defrtr allow rild proc_net:file rw_file_perms; -- 2.20.1