android_device_samsung_msm8.../sepolicy/common/hal_wifi_hostapd_default.te
Kevin F. Haggerty 3cb55ae129
msm8974-common: sepolicy: Resolve hostapd HAL denials
avc: denied { read } for name="phy80211" dev="sysfs" ino=30200
scontext=u:r:hal_wifi_hostapd_default:s0
tcontext=u:object_r:sysfs_net:s0 tclass=lnk_file permissive=0

avc: denied { open } for name="rfkill" dev="tmpfs" ino=8718
scontext=u:r:hal_wifi_hostapd_default:s0
tcontext=u:object_r:wlan_device:s0 tclass=chr_file permissive=0

Change-Id: Ie196e3fb2c5a9458a73444bb1de13f15a037532d
2021-01-23 13:41:37 -07:00

3 lines
122 B
Plaintext

allow hal_wifi_hostapd_default sysfs_net:lnk_file read;
allow hal_wifi_hostapd_default wlan_device:chr_file r_file_perms;