wifi: Add sepolicy for qcom driver control interface

01-06 11:55:38.816   796   796 I auditd  : type=1400 audit(0.0:281): avc: denied { write } for comm="wifi_ext@1.0-se" name="wlan" dev="tmpfs" ino=984 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
01-06 11:55:38.820   796   796 I auditd  : type=1400 audit(0.0:282): avc: denied { open } for comm="wifi_ext@1.0-se" path="/dev/wlan" dev="tmpfs" ino=984 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

Bug: 209934729
Test: Basic function tests, SSR tests
Change-Id: Id6afd0580f8792eeb7ef8a25d42724ec79696875
This commit is contained in:
Hsiu-Chang Chen 2022-01-06 10:36:23 +08:00
parent a069c07972
commit 069de3333d
3 changed files with 6 additions and 0 deletions

1
vendor/hal_wifi_ext.te vendored Normal file
View file

@ -0,0 +1 @@
allow hal_wifi_ext vendor_wlan_device:chr_file w_file_perms;