09bb619041
* Used by GCAM for DSP-accelerated HDR processing * Arguably we should label /vendor/dsp/cdsp/fastrpc_shell_3 to same_process_hal_file like Pixels, but the partition is prebuilt thus we're unable to relabel it. * Copy the file to writable tmpfs, setup attributes and bind mount back to workaround the limitation. [ghostrider-reborn]: Allow adsp/cdsprpcd and neuralnetworks HAL to access fastrpc_shell_3 [kras edit: 1. rename some contexts as per qva/kona 2. extend to allow camera HAL and VPP service to access it as well] Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Change-Id: Ide90e5c7307d413db5ece736e859559f06679545
12 lines
244 B
Plaintext
12 lines
244 B
Plaintext
# For mount tracefs tracefs /sys/kernel/tracing
|
|
allow init debugfs_tracing_debug:dir mounton;
|
|
|
|
allow init same_process_hal_file:file execute;
|
|
|
|
allow init proc_last_kmsg:file {
|
|
r_file_perms
|
|
setattr
|
|
};
|
|
|
|
allow init adsprpcd_file:file mounton;
|