Commits

Anonymous committed 5461f74

Fix ueventd denial.

Fix the following denials on grouper:

<5>[ 7.548916] type=1400 audit(1383869369.940:4): avc: denied { write } for pid=107 comm="ueventd" name="uevent" dev=sysfs ino=776 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_devices_tegradc:s0 tclass=file
<5>[ 7.549091] type=1400 audit(1383869369.940:5): avc: denied { open } for pid=107 comm="ueventd" name="uevent" dev=sysfs ino=776 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_devices_tegradc:s0 tclass=file

Change-Id: I1255488a9d2a5623ff29f8ae05499355b6ad72de

Comments (0)

Files changed (2)

BoardConfigCommon.mk

         sensors_config.te \
         surfaceflinger.te \
         system_app.te \
-        system_server.te
+        system_server.te \
+        ueventd.te

sepolicy/ueventd.te

+allow ueventd sysfs_devices_tegradc:file rw_file_perms;