sepolicy rules to allow Gnss Hal to access RIL Srv

Change-Id: I58f8f71978ddca6e97811e7523a1966cc6f475f8
CRs-fixed: 3287913
This commit is contained in:
Vamana Murthi 2023-03-20 14:51:17 +05:30
parent f149500bed
commit 2a0ce8f444
2 changed files with 16 additions and 0 deletions

8
generic/vendor/parrot/hal_gnss_qti.te vendored Normal file
View file

@ -0,0 +1,8 @@
# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
# generic/vendor_hal_gnss_qti.te - generic sepolicy rules for vendor_location hidl
#Allow Gnss HAL to access ril socket
allow vendor_hal_gnss_qti vendor_rild_socket:dir search;
unix_socket_connect(vendor_hal_gnss_qti, vendor_rild, rild)

8
generic/vendor/taro/hal_gnss_qti.te vendored Normal file
View file

@ -0,0 +1,8 @@
# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear
# generic/vendor_hal_gnss_qti.te - generic sepolicy rules for vendor_location hidl
#Allow Gnss HAL to access ril socket
allow vendor_hal_gnss_qti vendor_rild_socket:dir search;
unix_socket_connect(vendor_hal_gnss_qti, vendor_rild, rild)