Board tree for Google Tensor G2 devices
Find a file
Star Chang c466a68305 wifi_sniffer: Add policy to allow wifi sniffer to access wifi firmware
related files.

Add policy to allow wifi_sniffer daemon to access wifi firmware related
files.

To fix the denial message:
[85544.205505] type=1400 audit(1656381950.486:90): avc: denied { search
} for comm="wifi_sniffer" name="wifi" dev="sysfs" ino=97256
scontext=u:r:wifi_sniffer:s0 tcontext=u:object_r:sysfs_wifi:s0
tclass=dir permissive=1
[85544.206027] type=1400 audit(1656381950.486:91): avc: denied { write }
for comm="wifi_sniffer" name="firmware_path" dev="sysfs" ino=97268
scontext=u:r:wifi_sniffer:s0 tcontext=u:object_r:sysfs_wifi:s0
tclass=file permissive=1
[85544.206206] type=1400 audit(1656381950.486:92): avc: denied { open }
for comm="wifi_sniffer" path="/sys/wifi/firmware_path" dev="sysfs"
ino=97268 scontext=u:r:wifi_sniffer:s0 tcontext=u:object_r:sysfs_wifi:s0
tclass=file permissive=1
[85544.206349] type=1400 audit(1656381950.486:93): avc: denied { getattr
} for comm="wifi_sniffer" path="/sys/wifi/firmware_path" dev="sysfs"
ino=97268 scontext=u:r:wifi_sniffer:s0 tcontext=u:object_r:sysfs_wifi:s0
tclass=file permissive=1

Bug: 237465412
Test: wifi_sniffer is workable
Change-Id: I5500be87d2b670e29c08d026872a6b304109f7a3
2022-07-07 06:15:48 +00:00
aoc audio: sync aocdump setting from gs101 2022-03-21 02:08:55 +00:00
dauntless RKP: Add IRemotelyProvisionedComponent service 2022-03-01 06:10:23 +00:00
edgetpu Label GCA-Eng app 2022-05-13 05:18:09 +00:00
gps gps: sync sepolicy from gs101 to allow gps access pps gpio 2022-04-21 01:47:37 +00:00
health Implement health AIDL HAL. 2022-01-11 21:39:14 +00:00
private sched: move sysfs to procfs 2022-03-24 17:44:37 +00:00
system_ext Allow platform apps to access FP Hal 2022-04-15 21:39:58 +00:00
tracking_denials Update error on ROM 8765438 2022-07-05 03:11:33 +00:00
whitechapel_pro wifi_sniffer: Add policy to allow wifi sniffer to access wifi firmware 2022-07-07 06:15:48 +00:00
widevine Pixel 2022: MediaDrm AIDL sepolicy 2022-04-13 18:38:21 +00:00
gs201-sepolicy.mk Implement health AIDL HAL. 2022-01-11 21:39:14 +00:00
OWNERS Include core policy OWNERS 2021-12-21 07:37:30 -08:00