legacy: Allow cnd to read wifi_hal_prop
The `wifi.interface` property was labelled as `exported_default_prop` by system/sepolicy in android 11. Since android 12 it is labelled as `wifi_hal_prop` which causes the following denial. W libc : Access denied finding property "wifi.interface" W cnd : type=1400 audit(0.0:22): avc: denied { read } for name="u:object_r:wifi_hal_prop:s0" dev="tmpfs" ino=26257 scontext=u:r:cnd:s0 tcontext=u:object_r:wifi_hal_prop:s0 tclass=file permissive=0 Change-Id: I15c7ea0b0975e7be2f348b1215b4417d5ab08bf8
This commit is contained in:
parent
f39f78b1d4
commit
06cef664dc
1 changed files with 2 additions and 0 deletions
2
legacy/vendor/common/cnd.te
vendored
2
legacy/vendor/common/cnd.te
vendored
|
@ -124,6 +124,8 @@ add_hwservice(cnd, vendor_hal_slmadapter_hwservice)
|
|||
|
||||
get_prop(cnd, vendor_slm_prop)
|
||||
|
||||
get_prop(cnd, wifi_hal_prop)
|
||||
|
||||
##############################################################
|
||||
#for using public interface vendor.qti.data.factory
|
||||
#client should add their domain to cnd.te
|
||||
|
|
Loading…
Reference in a new issue