Allow CHRE to use EPOLLWAKEUP [DO NOT MERGE]
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
632c5dba75
commit
bd36256bad
1 changed files with 2 additions and 0 deletions
2
whitechapel/vendor/google/chre.te
vendored
2
whitechapel/vendor/google/chre.te
vendored
|
@ -23,3 +23,5 @@ allow chre hal_wifi_ext_hwservice:hwservice_manager find;
|
|||
allow chre fwk_stats_service:service_manager find;
|
||||
binder_call(chre, stats_service_server)
|
||||
|
||||
# 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