Merge "Revert "Set up access control rule for aocxd"" into main
This commit is contained in:
commit
861f6bcf77
4 changed files with 1 additions and 22 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 };
|
|
@ -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)
|
|
@ -1,2 +0,0 @@
|
|||
# Allow domain to access aocx HAL API
|
||||
attribute aocxdallowdomain;
|
Loading…
Add table
Add a link
Reference in a new issue