Allow CHRE to use EPOLLWAKEUP
avc: denied { block_suspend } for comm="UsfTransport" capability=36 scontext=u:r:chre:s0 tcontext=u:r:chre:s0 tclass=capability2 permissive=0 Bug: 238666865 Test: Check no chre avc denied. Change-Id: Ie936055550c6221beae394c264d664c1e76f946b Signed-off-by: Rick Chen <rickctchen@google.com>
This commit is contained in:
parent
765aa8ec3a
commit
e43ab3c52a
1 changed files with 3 additions and 0 deletions
|
@ -26,3 +26,6 @@ binder_call(chre, stats_service_server)
|
||||||
|
|
||||||
# Allow CHRE to use WakeLock
|
# Allow CHRE to use WakeLock
|
||||||
wakelock_use(chre)
|
wakelock_use(chre)
|
||||||
|
|
||||||
|
# Allow CHRE to block suspend, which is required to use EPOLLWAKEUP.
|
||||||
|
allow chre self:global_capability2_class_set block_suspend;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue