Revert "sepolicy: Make fastrpc_shell_3 publicly available"

This reverts commit 503d7c4cb5c60d1ea9ec0fbcdcfbb752faa71e13.

Change-Id: I0ec697cb8a26b9cf311bd96fb59edfdb6b0fe551
This commit is contained in:
nnippon99
2023-05-16 14:42:41 +03:00
committed by boedhack99
parent 13fc1e36c2
commit e22b86c0c7
8 changed files with 2 additions and 18 deletions

View File

@@ -1,4 +1 @@
type public_adsprpcd_file, file_type;
r_dir_file(vendor_adsprpcd, public_adsprpcd_file)
r_dir_file(vendor_adsprpcd, vendor_sysfs_graphics)

View File

@@ -1,6 +1,4 @@
allow { appdomain -isolated_app } vendor_xdsp_device:chr_file r_file_perms;
get_prop({ appdomain -isolated_app }, vendor_fingerprint_prop)
get_prop({ appdomain -isolated_app }, vendor_tee_listener_prop)
allow { appdomain -isolated_app } adsprpcd_file:dir r_dir_perms;
allow { appdomain -isolated_app } public_adsprpcd_file:file r_file_perms;
allow { appdomain -isolated_app } vendor_xdsp_device:chr_file r_file_perms;

View File

@@ -1 +0,0 @@
r_dir_file(vendor_cdsprpcd, public_adsprpcd_file)

View File

@@ -19,11 +19,6 @@
/vendor/lib(64)?/libipebpsstriping\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libipebpsstriping170\.so u:object_r:same_process_hal_file:s0
# Hexagon DSP-side executable needed for Halide operation
# This is labeled as public_adsprpcd_file as it needs to be read by apps
# (e.g. Google Camera App)
/mnt/vendor/dsp/fastrpc_shell_3 u:object_r:public_adsprpcd_file:s0
# Fingerprint
/dev/goodix_fp u:object_r:fingerprint_device:s0
/dev/silead_fp u:object_r:fingerprint_device:s0

View File

@@ -18,7 +18,6 @@ allow hal_camera_client vendor_hal_camerapostproc_xiaomi_hwservice:hwservice_man
allow hal_camera_default platform_app:binder { call transfer };
allow hal_camera_default priv_app:binder { call transfer };
allow hal_camera_default public_adsprpcd_file:file r_file_perms;
allow hal_camera_default system_server:binder { call transfer };
allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms;
allow hal_camera_default vendor_xdsp_device:chr_file { ioctl open read write };

View File

@@ -1,3 +1 @@
r_dir_file(vendor_hal_neuralnetworks_default, public_adsprpcd_file)
get_prop(vendor_hal_neuralnetworks_default, vendor_adsprpc_prop)

View File

@@ -1,4 +1,3 @@
allow init adsprpcd_file:file mounton;
allow init debugfs_tracing_debug:dir mounton;
allow init vendor_sysfs_graphics:file mounton;

View File

@@ -1 +0,0 @@
r_dir_file(vendor_vppservice, public_adsprpcd_file)