wifi: Add sepolicy for LOWI tools
Add sepolicy rules for LOWI tools including loc_launcher and lowi-server which are necessary for NAN and RTT Bug: 223296149 Test: loc_launcher and lowi-server start automatically Change-Id: I915be13fa715de85de91c30e0605f1e8e9d578f4
This commit is contained in:
parent
1663eff382
commit
374602a559
9 changed files with 85 additions and 0 deletions
11
vendor/hal_wifi_ext.te
vendored
11
vendor/hal_wifi_ext.te
vendored
|
@ -1 +1,12 @@
|
|||
allow hal_wifi_ext vendor_wlan_device:chr_file w_file_perms;
|
||||
|
||||
# write to files owned by location daemon
|
||||
allow hal_wifi_ext vendor_location_socket:dir rw_dir_perms;
|
||||
allow hal_wifi_ext vendor_location_socket:{sock_file lnk_file} create_file_perms;
|
||||
allow hal_wifi_ext vendor_location:unix_dgram_socket sendto;
|
||||
allow hal_wifi_ext lowi_server:unix_dgram_socket sendto;
|
||||
|
||||
# Connect to vendor_location via vendor_location socket.
|
||||
unix_socket_connect(hal_wifi, vendor_location, vendor_location)
|
||||
allow hal_wifi_ext vendor_wifihal_socket:dir rw_dir_perms;
|
||||
allow hal_wifi_ext vendor_wifihal_socket:sock_file create_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue