Merge tag 'LA.QSSI.13.0.r1-07100-qssi.0' into staging/lineage-20.0_merge-LA.QSSI.13.0.r1-07100-qssi.0

"LA.QSSI.13.0.r1-07100-qssi.0"

# By rnamala (2) and others
# Via Linux Build Service Account (3) and Gerrit - the friendly Code Review server (2)
* tag 'LA.QSSI.13.0.r1-07100-qssi.0':
  Added permission for platform app to dsp hal
  Added permission for platform app to dsp hal
  Allow untrusted apps to be client of the QSPM HAL server
  Added permission for untrusted app to dsp hal
  Perf: dontaudit domain while reading vendor.perf.framepacing.

Change-Id: I24f88be5a32b42aae1f6fa5f40981d2961fa7159
This commit is contained in:
Michael Bestas
2022-10-05 18:09:28 +03:00
4 changed files with 12 additions and 1 deletions

View File

@@ -27,3 +27,5 @@
get_prop(domain, vendor_exported_system_prop)
get_prop(domain, vendor_exported_odm_prop)
dontaudit domain vendor_afp_prop:file r_file_perms;

3
generic/private/platform_app.te Executable file → Normal file
View File

@@ -58,3 +58,6 @@ typeattribute platform_app hal_wifi_supplicant_client;
get_prop(platform_app, radio_cdma_ecm_prop)
unix_socket_connect(platform_app, vendor_dpmtcm, vendor_tcmd);
# allow platform_app access to hal service
hal_client_domain(platform_app, vendor_hal_dspmanager);

View File

@@ -37,4 +37,7 @@ typeattribute untrusted_app vendor_hal_qvrservice_qti_socket_fd_use_client;
typeattribute untrusted_app vendor_hal_sxrservice_qti_socket_fd_use_client;
# allow app to be a client of DSP HAL
hal_client_domain(untrusted_app, vendor_hal_dspmanager)
hal_client_domain(untrusted_app, vendor_hal_dspmanager)
# allow app to be a client of QSPM HAL
hal_client_domain(untrusted_app, vendor_hal_qspmhal)

3
generic/private/untrusted_app_30.te Executable file → Normal file
View File

@@ -32,3 +32,6 @@
qesdk_app_access(untrusted_app_30);
hal_client_domain(untrusted_app_30, vendor_hal_qspmhal)
# allow app to be a client of DSP HAL
hal_client_domain(untrusted_app_30, vendor_hal_dspmanager)