Denial observed without this change: [ 19.217624] .(3)[351:init]selinux: avc: denied { set } for property=vendor.wlan.firmware.version pid=1389 uid=1010 gid=1010 scontext=u:r:mtk_hal_wifi:s0 tcontext=u:object_r:vendor_wifi_version:s0 tclass=property_service permissive=1\x0a Test: Boot and notice denial no longer appears Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com> Change-Id: Id769a2012ff7c53320e8d7a44bc2f49230e2a0e9
8 lines
212 B
Plaintext
8 lines
212 B
Plaintext
type mtk_hal_wifi, domain;
|
|
hal_server_domain(mtk_hal_wifi, hal_wifi)
|
|
|
|
type mtk_hal_wifi_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(mtk_hal_wifi)
|
|
|
|
set_prop(mtk_hal_wifi, vendor_wifi_version)
|