common: sepolicy: legacy: allow qti_init_shell to write on watermark_scale_factor

* https://github.com/AOSPA/android_device_qcom_common/blob/topaz/vendor/init/init.qcom.post_boot.sh#L824

Change-Id: I66139b318596d54dcb811620a2c4ecf8950b3b44
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
Jprimero15 2023-05-28 10:02:50 +08:00 committed by Joshua Primero
parent ce7c22c056
commit c82350882a
1 changed files with 3 additions and 0 deletions

View File

@ -261,6 +261,9 @@ allow qti_init_shell proc_boot_reason:file r_file_perms;
# To read /proc/meminfo
allow qti_init_shell proc_meminfo:file r_file_perms;
# To write watermark_scale_factor
allow qti_init_shell proc_watermark_scale_factor:file w_file_perms;
# cpu_boost during touch input
allow qti_init_shell sysfs_cpu_boost:dir r_dir_perms;
allow qti_init_shell sysfs_cpu_boost:file rw_file_perms;