diff options
author | Arian <arian.kulmer@web.de> | 2021-11-03 23:49:10 +0100 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2023-06-13 00:20:25 +0800 |
commit | 22eef4340b62147139ab90d9c78f75d1566db5fb (patch) | |
tree | 24437f3172f204c7635a71ee27fbaa7ace61782d | |
parent | 6150514a25c6b566b880c2dd2af9567fb4819a65 (diff) |
sepolicy_vndr: 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
-rwxr-xr-x | legacy/vendor/common/cnd.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/vendor/common/cnd.te b/legacy/vendor/common/cnd.te index ab0abcce..6379afae 100755 --- a/legacy/vendor/common/cnd.te +++ b/legacy/vendor/common/cnd.te @@ -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 |