sepolicy_vndr: avoid avc denials for QSTA/USTA test apps

add rules to avoid avc denials error with default_prop for
QSTA/USTA test apps

Change-Id: I6b20e3a38a56b0639a879dd0d2bee6880c4931e2
This commit is contained in:
Jun-Hyung Kwon 2021-05-07 13:56:30 -07:00 committed by Gerrit - the friendly Code Review server
parent cfe1465be3
commit a37053c669
2 changed files with 2 additions and 0 deletions

View file

@ -46,6 +46,7 @@ allow vendor_qsta_app {
dontaudit vendor_qsta_app gpu_service:service_manager find;
dontaudit vendor_qsta_app gpuservice:binder call;
dontaudit vendor_qsta_app vendor_hal_qspmhal_hwservice:hwservice_manager find;
dontaudit vendor_qsta_app default_prop:file read;
userdebug_or_eng(`
allow vendor_qsta_app vendor_diag_device:chr_file { read write open ioctl };

View file

@ -60,6 +60,7 @@ allow vendor_usta_app cgroup:file w_file_perms;
dontaudit vendor_usta_app vendor_hal_qspmhal_hwservice:hwservice_manager find;
dontaudit vendor_usta_app gpuservice:binder call;
dontaudit vendor_usta_app default_prop:file read;
userdebug_or_eng(`
dontaudit vendor_usta_app vendor_diag-router:unix_stream_socket connectto;
')