In PDK build, it uses default wifi hal instead wifi_ext hal. Need to add rules for hal_wifi_default as well as we added for hal_wifi_ext Bug: 253544307 Test: Wifi can be enabled in PDK builds Change-Id: I57ad330c2467ae99b9c5190fbdc2f02e998b2fc1
21 lines
900 B
Plaintext
21 lines
900 B
Plaintext
# loc_launcher service
|
|
# which launches various other services supporting Wifi-RTT (LOWI) vendor_location
|
|
type vendor_location, domain;
|
|
type vendor_location_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(vendor_location)
|
|
|
|
# execute permission for vendor_location daemons in /vendor/bin/
|
|
domain_auto_trans(vendor_location, lowi_server_exec, lowi_server)
|
|
|
|
# /dev/socket/vendor_location
|
|
allow vendor_location vendor_location_socket:{sock_file lnk_file} create_file_perms;
|
|
allow vendor_location vendor_location_socket:dir rw_dir_perms;
|
|
|
|
# /sys/devices/soc0/soc_id
|
|
allow vendor_location vendor_location_sysfs:file create_file_perms;
|
|
|
|
# /dev/socket/location/mq/*
|
|
allow vendor_location lowi_server:unix_dgram_socket {sendto read write};
|
|
allow vendor_location hal_wifi_default:unix_dgram_socket {sendto read write};
|
|
allow vendor_location hal_wifi_ext:unix_dgram_socket {sendto read write};
|