Merge "Add sepolicy dir and sock permissions to location module" into sepolicy.lnx.12.0.c2
This commit is contained in:
commit
dabe110bf0
2 changed files with 8 additions and 0 deletions
5
legacy/vendor/sdm660/hal_wifi_supplicant.te
vendored
Normal file
5
legacy/vendor/sdm660/hal_wifi_supplicant.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# # Allow wpa_supplicant to send back wifi information to location
|
||||
allow hal_wifi_supplicant_default location:unix_dgram_socket sendto;
|
3
legacy/vendor/sdm660/location.te
vendored
3
legacy/vendor/sdm660/location.te
vendored
|
@ -5,3 +5,6 @@
|
|||
|
||||
# allows location to access ssgtzd socket
|
||||
allow location ssgtzd_socket:sock_file write;
|
||||
|
||||
# /data/vendor/wifi
|
||||
allow location wifi_vendor_data_file:dir rw_dir_perms;
|
||||
|
|
Loading…
Reference in a new issue