Twoshay: Add SELinux Permissions for CHRE [Zuma]

Adds connection and write permissions for chre socket to SELinux policy.
Used for the Wallaby nanoapp.

Bug: b/315347346
Bug: b/314721681
Test: Manually tested on SB3 Proto 1.0
Change-Id: I4a01be73d76a577d8da07c36276349525c0fda68
This commit is contained in:
Imo Richard Umoren 2023-12-12 02:36:44 +00:00 committed by Imo Umoren
parent 259348f8f7
commit b3e48816fa

5
vendor/twoshay.te vendored
View file

@ -2,3 +2,8 @@
binder_call(twoshay, systemui_app)
binder_call(twoshay, hal_radioext_default)
# b/315347346
# b/314721681
unix_socket_connect(twoshay, chre, chre)
allow twoshay self:capability2 block_suspend;