From: Jan Altensen Date: Tue, 2 Jul 2019 15:03:45 +0000 (+0200) Subject: universal7580: sepolicy: fixup init sysfs_light lnk_file permissions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62865c856d6589df9749a62f0517f570ebad0074;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git universal7580: sepolicy: fixup init sysfs_light lnk_file permissions Change-Id: Id0162030f71561009c84535dac594b4af70b30a3 --- diff --git a/sepolicy/init.te b/sepolicy/init.te index c1a3b03..0673892 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -70,6 +70,7 @@ allow init sysfs_mmc:file { w_file_perms setattr }; allow init sysfs_net:file rw_file_perms; allow init sysfs_graphics:file { rw_file_perms setattr }; allow init sysfs_light:file { rw_file_perms setattr }; +allow init sysfs_light:lnk_file { rw_file_perms setattr }; allow init sysfs_mdnie:file { setattr }; allow init sysfs_sec:file { rw_file_perms setattr }; allow init sysfs_sec:lnk_file read;