mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-04-29 02:37:19 +09:00
Revert "sm6250-common: Make fastrpc_shell_3 publicly available"
This reverts commit 92b6e36b7163cf94e58c4e5b3e4c34fdb0c3d4b2. So far it doesn't look like any GCam mod uses this. Change-Id: I3926aef13315d329d07979cebc1e32f7ee2d25c1
This commit is contained in:
parent
8ded335453
commit
c7d3b35a00
@ -74,11 +74,6 @@ on post-fs
|
||||
chmod 0660 /sys/class/leds/red/brightness
|
||||
chown system system /sys/class/leds/red/brightness
|
||||
|
||||
mkdir /mnt/vendor/dsp 0770 root root
|
||||
copy /vendor/dsp/cdsp/fastrpc_shell_3 /mnt/vendor/dsp/fastrpc_shell_3
|
||||
chmod 0644 /mnt/vendor/dsp/fastrpc_shell_3
|
||||
mount none /mnt/vendor/dsp/fastrpc_shell_3 /vendor/dsp/cdsp/fastrpc_shell_3 bind
|
||||
|
||||
on early-boot
|
||||
# set RLIMIT_MEMLOCK to 64MB
|
||||
setrlimit 8 67108864 67108864
|
||||
|
1
sepolicy/vendor/adsprpcd.te
vendored
1
sepolicy/vendor/adsprpcd.te
vendored
@ -1,2 +1 @@
|
||||
r_dir_file(vendor_adsprpcd, public_adsprpcd_file)
|
||||
r_dir_file(vendor_adsprpcd, vendor_sysfs_graphics)
|
||||
|
2
sepolicy/vendor/app.te
vendored
2
sepolicy/vendor/app.te
vendored
@ -1,5 +1,3 @@
|
||||
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;
|
||||
|
||||
get_prop({ appdomain -isolated_app }, vendor_fingerprint_prop)
|
||||
|
1
sepolicy/vendor/cdsprpcd.te
vendored
1
sepolicy/vendor/cdsprpcd.te
vendored
@ -1 +0,0 @@
|
||||
r_dir_file(vendor_cdsprpcd, public_adsprpcd_file)
|
2
sepolicy/vendor/file.te
vendored
2
sepolicy/vendor/file.te
vendored
@ -6,8 +6,6 @@ type fingerprint_data_file, data_file_type, core_data_file_type, file_type;
|
||||
|
||||
type persist_subsys_file, vendor_persist_type, file_type;
|
||||
|
||||
type public_adsprpcd_file, file_type;
|
||||
|
||||
type sysfs_msm_boot, fs_type, sysfs_type;
|
||||
|
||||
type sysfs_msm_subsys, sysfs_type, fs_type;
|
||||
|
5
sepolicy/vendor/file_contexts
vendored
5
sepolicy/vendor/file_contexts
vendored
@ -17,11 +17,6 @@
|
||||
/data/vendor/goodix(/.*)? u:object_r:fingerprint_vendor_data_file:s0
|
||||
/data/vendor/fpc(/.*)? u:object_r:fingerprint_vendor_data_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
|
||||
|
||||
# IR
|
||||
/dev/spidev0.1 u:object_r:lirc_device:s0
|
||||
|
||||
|
1
sepolicy/vendor/hal_camera_default.te
vendored
1
sepolicy/vendor/hal_camera_default.te
vendored
@ -16,5 +16,4 @@ set_prop(hal_camera_default, vendor_camera_prop)
|
||||
allow hal_camera_default socket_device:sock_file write;
|
||||
allow hal_camera_default proc_stat:file { open };
|
||||
|
||||
allow hal_camera_default public_adsprpcd_file:file r_file_perms;
|
||||
allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms;
|
||||
|
@ -1,3 +1 @@
|
||||
r_dir_file(vendor_hal_neuralnetworks_default, public_adsprpcd_file)
|
||||
|
||||
get_prop(vendor_hal_neuralnetworks_default, vendor_adsprpc_prop)
|
||||
|
2
sepolicy/vendor/init.te
vendored
2
sepolicy/vendor/init.te
vendored
@ -1,3 +1 @@
|
||||
allow init same_process_hal_file:file execute;
|
||||
|
||||
allow init adsprpcd_file:file mounton;
|
||||
|
Loading…
x
Reference in New Issue
Block a user