Merge 5f8f5cfc02 on remote branch

Change-Id: Iaf5c1325c1d3e45ace90d75c982dea773e484399
This commit is contained in:
Linux Build Service Account 2024-05-21 02:39:29 -07:00
commit 14681e7363
5 changed files with 40 additions and 0 deletions

View file

@ -35,6 +35,8 @@
/(product|system/product)/etc/init\.qcom\.testscripts\.sh u:object_r:qti-testscripts_exec:s0
/(system_ext|system/system_ext)/bin/init\.qti\.qspa\.sh u:object_r:vendor_qspa_exec:s0
/storage/emulated(/.*)? u:object_r:media_rw_data_file:s0
####### device files ##############

View file

@ -49,3 +49,6 @@ system_internal_prop(vendor_xrcb_prop)
#bootreceiver property
system_public_prop(vendor_bootreceiver_prop)
#QSPA property
system_internal_prop(vendor_qspa_prop)

View file

@ -25,6 +25,12 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Changes from Qualcomm Innovation Center, Inc. are provided under the following license:
#
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
ro.vendor.qti.va_aosp.support u:object_r:vendor_exported_system_prop:s0 exact bool
ro.vendor.qti.va_odm.support u:object_r:vendor_exported_odm_prop:s0 exact bool
ro.vendor.perf.scroll_opt u:object_r:vendor_exported_system_prop:s0 exact bool
@ -101,3 +107,7 @@ ro.vendor.bootreceiver.enable u:object_r:vendor_bootreceiver_prop:s
#Power Module
ro.vendor.power.tuning.support u:object_r:vendor_exported_system_prop:s0 exact bool
# qspa
ro.vendor.config.qspa. u:object_r:vendor_qspa_prop:s0

15
generic/private/qspa.te Normal file
View file

@ -0,0 +1,15 @@
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
type vendor_qspa, domain;
type vendor_qspa_exec, system_file_type, exec_type, file_type;
typeattribute vendor_qspa coredomain;
init_daemon_domain(vendor_qspa)
allow vendor_qspa shell_exec:file {map read execute getattr};
allow vendor_qspa toolbox_exec:file {getattr execute read open execute_no_trans map};
set_prop(vendor_qspa, vendor_qspa_prop)

View file

@ -25,6 +25,12 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Changes from Qualcomm Innovation Center, Inc. are provided under the following license:
#
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
add_service(system_server, vendor_izat_service)
# Ant ipc
@ -74,3 +80,7 @@ allow system_server binderfs_logs:file r_file_perms;
# Allow system server to access for rcs service
get_prop(system_server, vendor_persist_rcs_prop)
# Allow system server to access for qspa prop
get_prop(system_server, vendor_qspa_prop)