Revert "Allow devices that use HIDL to find AIDL radio_ext_service"
Revert submission 29238469-gril-selinux Reason for revert: b/367183524 - build break Reverted changes: /q/submissionid:29238469-gril-selinux Change-Id: Ica10c6ee500389223256e328d182c9495a826b06
This commit is contained in:
parent
1331d97c92
commit
1685969e60
9 changed files with 6 additions and 10 deletions
|
@ -1,4 +1,3 @@
|
|||
PRODUCT_PACKAGES += vendor.google.radioext@1.0-service
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/gril/aidl/2.0/compatibility_matrix.xml
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/aidl/2.0/sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/common/sepolicy
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# allow grilservice_app to find hal_radio_ext_service
|
||||
allow grilservice_app hal_radio_ext_service:service_manager find;
|
||||
# allow grilservice_app to find hal_aidl_radio_ext_service
|
||||
allow grilservice_app hal_aidl_radio_ext_service:service_manager find;
|
||||
binder_call(grilservice_app, hal_aidl_radio_ext)
|
||||
binder_call(grilservice_app, twoshay)
|
||||
|
|
|
@ -12,7 +12,7 @@ binder_call(hal_aidl_radio_ext, servicemanager)
|
|||
binder_call(hal_aidl_radio_ext, grilservice_app)
|
||||
binder_call(hal_aidl_radio_ext, hal_bluetooth_btlinux)
|
||||
|
||||
add_service(hal_aidl_radio_ext, hal_radio_ext_service)
|
||||
add_service(hal_aidl_radio_ext, hal_aidl_radio_ext_service)
|
||||
|
||||
# RW /dev/oem_ipc0
|
||||
allow hal_aidl_radio_ext radio_device:chr_file rw_file_perms;
|
||||
|
|
2
gril/aidl/2.0/sepolicy/service.te
Normal file
2
gril/aidl/2.0/sepolicy/service.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Radio Ext AIDL service
|
||||
type hal_aidl_radio_ext_service, hal_service_type, protected_service, service_manager_type;
|
|
@ -1 +1 @@
|
|||
vendor.google.radio_ext.IRadioExt/default u:object_r:hal_radio_ext_service:s0
|
||||
vendor.google.radio_ext.IRadioExt/default u:object_r:hal_aidl_radio_ext_service:s0
|
|
@ -1,4 +1,3 @@
|
|||
PRODUCT_PACKAGES += vendor.google.radioext@1.0-service
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/gril/hidl/1.7/compatibility_matrix.xml
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/hidl/1.7/sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/common/sepolicy
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
# allow grilservice_app to find hal_radio_ext_service
|
||||
allow grilservice_app hal_radio_ext_service:service_manager find;
|
||||
# allow grilservice_app to binder call hal_radioext_default
|
||||
binder_call(grilservice_app, hal_radioext_default)
|
||||
|
|
|
@ -3,4 +3,3 @@ PRODUCT_PACKAGES += vendor.google.radio_ext-service
|
|||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/modem/radio_ext/compatibility_matrix.xml
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/modem/radio_ext/sepolicy
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gril/common/sepolicy
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
# Radio Ext AIDL service
|
||||
# Shared definition so a single type is referenced
|
||||
type hal_radio_ext_service, hal_service_type, protected_service, service_manager_type;
|
Loading…
Add table
Add a link
Reference in a new issue