Files
android_device_google_lynx/vendor/file_contexts
Hsiu-Chang Chen 374602a559 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
2022-03-15 09:37:05 +00:00

18 lines
1.3 KiB
Plaintext

# Devices
/dev/lwis-act-lc898129 u:object_r:lwis_device:s0
/dev/lwis-eeprom-lc898129 u:object_r:lwis_device:s0
/dev/lwis-eeprom-m24c64x-imx712 u:object_r:lwis_device:s0
/dev/lwis-eeprom-m24c64x-imx712-uw u:object_r:lwis_device:s0
/dev/lwis-ois-lc898129 u:object_r:lwis_device:s0
/dev/lwis-sensor-imx712 u:object_r:lwis_device:s0
/dev/lwis-sensor-imx712-uw u:object_r:lwis_device:s0
/dev/lwis-sensor-imx787 u:object_r:lwis_device:s0
# Wifi
/data/vendor/wifi(/.*)? u:object_r:vendor_wifi_vendor_data_file:s0
/dev/wlan u:object_r:vendor_wlan_device:s0
/dev/socket/location(/.*)? u:object_r:vendor_location_socket:s0
/dev/socket/wifihal(/.*)? u:object_r:vendor_wifihal_socket:s0
/vendor/bin/loc_launcher u:object_r:vendor_location_exec:s0
/vendor/bin/lowi-server u:object_r:lowi_server_exec:s0