Merge "Revert "Set up access control rule for aocxd"" into main

This commit is contained in:
Treehugger Robot 2025-01-24 02:32:27 -08:00 committed by Android (Google) Code Review
commit 861f6bcf77
4 changed files with 1 additions and 22 deletions

View file

@ -1,6 +1,4 @@
BOARD_VENDOR_SEPOLICY_DIRS += \
device/google/gs-common/aoc/sepolicy \
device/google/gs-common/aoc/sepolicy/allowlist
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/aoc/sepolicy
PRODUCT_PACKAGES += dump_aoc \
aocd \

View file

@ -1,11 +0,0 @@
# set up rule to control the access to aocxd
neverallow {
domain
-hwservicemanager
-servicemanager
-vndservicemanager
-system_suspend_server
-dumpstate
-hal_audio_default
-aocxdallowdomain
} aocxd:binder { call transfer };

View file

@ -1,6 +0,0 @@
# Aocx AIDL service
allow aocxdallowdomain aocx:service_manager find;
binder_call(aocxdallowdomain, aocxd)
# Allow aocxd asynchronous callback to aocxdallowdomain
binder_call(aocxd, aocxdallowdomain)

View file

@ -1,2 +0,0 @@
# Allow domain to access aocx HAL API
attribute aocxdallowdomain;