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: Ifd2c37c58c548aec46a2c46891a1fc4d1f83f9be Signed-off-by: Rick Chen <rickctchen@google.com>
This commit is contained in:
parent
898da02fa5
commit
d140706db9
1 changed files with 2 additions and 0 deletions
2
whitechapel/vendor/google/chre.te
vendored
2
whitechapel/vendor/google/chre.te
vendored
|
@ -27,3 +27,5 @@ binder_call(chre, stats_service_server)
|
|||
# Allow CHRE to use WakeLock
|
||||
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