Allow aocxd to set thread priority
aocxd sets thread scheduler to SCHED_FIFO. This is so audio processing in aocxd can run without glitching. vndbinder:11464: type=1400 audit(0.0:17): avc: denied { sys_nice } for capability=23 scontext=u:r:aocxd:s0 tcontext=u:r:aocxd:s0 tclass=capability permissive=0 BUG: 318791959 Change-Id: I9c9148aa7b18ce525091f93956e112b4c178a129
This commit is contained in:
parent
b824d770f4
commit
d202a34dbc
@ -23,3 +23,6 @@ wakelock_use(aocxd);
|
|||||||
|
|
||||||
# add aocx service to the domain
|
# add aocx service to the domain
|
||||||
add_service(aocxd, aocx);
|
add_service(aocxd, aocx);
|
||||||
|
|
||||||
|
# allow managing thread priority
|
||||||
|
allow aocxd self:global_capability_class_set sys_nice;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user