Add sepolicy for wifi_sniffer and wifi_perf_diag
avc: denied { search } for name="wifi" dev="dm-38" ino=329 scontext=u:r:wifi_sniffer:s0 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir avc: denied { setuid } for capability=7 scontext=u:r:wifi_sniffer:s0 tcontext=u:r:wifi_sniffer:s0 tclass=capability avc: denied { setgid } for capability=6 scontext=u:r:wifi_sniffer:s0 tcontext=u:r:wifi_sniffer:s0 tclass=capability avc: denied { search } for comm="wifi_perf_diag" name="wifi" dev="dm-38" ino=329 scontext=u:r:wifi_perf_diag:s0 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir Bug: 243727673 Test: PixelLogger works normally Change-Id: Idd0bb1ffeb198eea855b717a745fd93fecfe2251
This commit is contained in:
parent
11348d7e76
commit
e465f1a856
2 changed files with 7 additions and 0 deletions
3
vendor/wifi_perf_diag.te
vendored
Normal file
3
vendor/wifi_perf_diag.te
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
userdebug_or_eng(`
|
||||
allow wifi_perf_diag vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
')
|
4
vendor/wifi_sniffer.te
vendored
Normal file
4
vendor/wifi_sniffer.te
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
userdebug_or_eng(`
|
||||
allow wifi_sniffer self:capability { setuid setgid };
|
||||
allow wifi_sniffer vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
')
|
Loading…
Add table
Add a link
Reference in a new issue