sm7250-common: sepolicy: Resolve neverallows

Signed-off-by: alk3pInjection <webmaster@raspii.tech>
Change-Id: Id53185beac0757193d0fc68c76efcfe1279c335f
This commit is contained in:
alk3pInjection
2021-12-30 19:27:20 +08:00
committed by KakatkarAkshay
parent 580139f879
commit f2ab8f8bbb
7 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
binder_call(hal_cameraHIDL_client, hal_cameraHIDL_server)
binder_call(hal_cameraHIDL_server, hal_cameraHIDL_client)
hal_attribute_hwservice(hal_cameraHIDL, hal_cameraHIDL_hwservice)
add_hwservice(hal_cameraHIDL_server, hal_cameraHIDL_hwservice)
allow hal_cameraHIDL_client hal_cameraHIDL_hwservice:hwservice_manager find;

View File

@@ -1,4 +1,5 @@
binder_call(hal_display_client, hal_display_server)
binder_call(hal_display_server, hal_display_client)
hal_attribute_hwservice(hal_display, hal_display_hwservice)
add_hwservice(hal_display_server, hal_display_hwservice)
allow hal_display_client hal_display_hwservice:hwservice_manager find;

View File

@@ -1,4 +1,5 @@
binder_call(hal_display_iris_client, hal_display_iris_server)
binder_call(hal_display_iris_server, hal_display_iris_client)
hal_attribute_hwservice(hal_display_iris, hal_display_iris_hwservice)
add_hwservice(hal_display_iris_server, hal_display_iris_hwservice)
allow hal_display_iris_client hal_display_iris_hwservice:hwservice_manager find;

View File

@@ -1,4 +1,5 @@
binder_call(hal_hdcpkey_client, hal_hdcpkey_server)
binder_call(hal_hdcpkey_server, hal_hdcpkey_client)
hal_attribute_hwservice(hal_hdcpkey, hal_hdcpkey_hwservice)
add_hwservice(hal_hdcpkey_server, hal_hdcpkey_hwservice)
allow hal_hdcpkey_client hal_hdcpkey_hwservice:hwservice_manager find;

View File

@@ -1,4 +1,5 @@
binder_call(hal_param_client, hal_param_server)
binder_call(hal_param_server, hal_param_client)
hal_attribute_hwservice(hal_param, hal_param_hwservice)
add_hwservice(hal_param_server, hal_param_hwservice)
allow hal_param_client hal_param_hwservice:hwservice_manager find;

View File

@@ -1,2 +0,0 @@
# Allow nfc to get vendor_nfc_prop
get_prop(nfc, vendor_nfc_prop)

View File

@@ -11,4 +11,3 @@ allow vendor_init proc_watermark_boost_factor:file rw_file_perms;
get_prop(vendor_init, vendor_db_security_prop)
set_prop(vendor_init, vendor_oem_bluetooth_prop)
set_prop(vendor_init, vendor_oem_wifi_prop)
set_prop(vendor_init, vendor_persist_camera_prop)