universal7580: sepolicy: Allow rild to access sysfs_input files
authorJani Lusikka <jani.lusikka@gmail.com>
Wed, 20 Jan 2016 16:47:27 +0000 (18:47 +0200)
committerJan Altensen <info@stricted.net>
Fri, 16 Aug 2019 21:19:00 +0000 (23:19 +0200)
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

index d021e3f728a9bba86bb0b000429f5e87b649b2b5..a1201ddafe563724530334d48e371dbae7a0fb4b 100644 (file)
@@ -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;