Allow kernel to set priority of processes.

Address the below denials:
type=1400 audit(1481886153.969:3726): avc: denied { setsched } for pid=20505
comm="kworker/2:8" scontext=u:r:kernel:s0 tcontext=u:r:system_app:s0 tclass=process permissive=0

Change-Id: I32e13e573c3918945bf52e40f537485c291f679f
CRs-Fixed: 1103022
This commit is contained in:
Biswajit Paul
2017-01-10 13:41:48 -08:00
committed by Gerrit - the friendly Code Review server
parent 44112802df
commit 1cd478f0cf

View File

@@ -8,3 +8,7 @@ userdebug_or_eng(`
# Access firmware_file
r_dir_file(kernel, firmware_file)
# Allow kernel to schedule process to different cpuset
# when the current cpu is hotplugged out
allow kernel domain:process setsched;