stone: sepolicy: allow sysfs_devices

08-18 14:02:20.275   660   660 W NodeLooperThrea: type=1400 audit(0.0:8558): avc:  denied  { write } for  name="scaling_max_freq" dev="sysfs" ino=57104 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=0
08-18 14:02:20.275   660   660 W NodeLooperThrea: type=1400 audit(0.0:8559): avc:  denied  { write } for  name="scaling_min_freq" dev="sysfs" ino=57103 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=0
08-18 14:02:20.275   660   660 W NodeLooperThrea: type=1400 audit(0.0:8560): avc:  denied  { write } for  name="up_rate_limit_us" dev="sysfs" ino=95128 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=0
08-18 14:02:20.275   660   660 W NodeLooperThrea: type=1400 audit(0.0:8561): avc:  denied  { write } for  name="down_rate_limit_us" dev="sysfs" ino=95129 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=0
08-18 14:02:20.275   660   660 W NodeLooperThrea: type=1400 audit(0.0:8562): avc:  denied  { write } for  name="scaling_max_freq" dev="sysfs" ino=57151 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_devices_system_cpu:s0 tclass=file permissive=0

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
This commit is contained in:
kamikaonashi
2024-08-18 15:11:40 +02:00
committed by Arijit78
parent edc6da9909
commit bc56deb9ba

View File

@@ -8,3 +8,5 @@ set_prop(hal_power_default, vendor_power_prop)
# Allow powerhal to write, open & read
allow hal_power_default proc:file { write open read };
allow hal_power_default sysfs_devices_system_cpu:file write;