Adding sysfs_thermal write file permissions to ueventd.te

This addresses the following bootup denial:
denied  { write } for  pid=529 comm="ueventd" name="uevent" dev="sysfs"
ino=43198 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_thermal:s0
tclass=file

Bug: 34784662
Test: The above denial is no longer shown during bootup
Change-Id: I6eaa291e3338ba177dd73263823dec41a850514c
This commit is contained in:
Max Bires
2017-02-14 17:25:13 -08:00
parent 1a10f39b90
commit 0c2c343024

1
sepolicy/ueventd.te Normal file
View File

@@ -0,0 +1 @@
allow ueventd sysfs_thermal:file w_file_perms;