Adds permissions for chre socket to SELinux policy. Used for the Wallaby nanoapp. Bug: b/324278826 Test: Manually tested on zuma pro devices Change-Id: Ied113002ec0650607f657cc47d183635916ae83e
10 lines
No EOL
356 B
Text
10 lines
No EOL
356 B
Text
# Allow ITouchContextService callback
|
|
binder_call(twoshay, systemui_app)
|
|
|
|
binder_call(twoshay, hal_radioext_default)
|
|
|
|
# b/324278826
|
|
unix_socket_connect(twoshay, chre, chre)
|
|
# TODO(b/248615564): Remove above rule after CHRE multiclient HAL is launched.
|
|
unix_socket_connect(twoshay, chre, hal_contexthub_default)
|
|
allow twoshay self:capability2 block_suspend; |