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:
parent
cfe1465be3
commit
a37053c669
2 changed files with 2 additions and 0 deletions
1
generic/vendor/test/qsta_app.te
vendored
1
generic/vendor/test/qsta_app.te
vendored
|
@ -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 };
|
||||
|
|
1
generic/vendor/test/usta_app.te
vendored
1
generic/vendor/test/usta_app.te
vendored
|
@ -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;
|
||||
')
|
||||
|
|
Loading…
Reference in a new issue