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:
Hsiu-Chang Chen 2022-03-14 17:00:59 +08:00
parent 1663eff382
commit 374602a559
9 changed files with 85 additions and 0 deletions

9
vendor/ioctl_macros vendored Normal file
View file

@ -0,0 +1,9 @@
define(`lowi_server_ioctls', `{
SIOCGIFINDEX
SIOCGIFHWADDR
SIOCGIFFLAGS
SIOCIWFIRSTPRIV_05
SIOCIWFIRSTPRIV_11
SIOCIWFIRSTPRIV_13
SIOCDEVPRIVATE_1
}')