a32: sepolicy: Address macloader denials
avc: denied { open } for comm="macloader" path="/proc/731/net/dev" dev="proc" ino=4026532120 scontext=u:r:macloader:s0 tcontext=u:object_r:proc_net:s0 tclass=file permissive=1
avc: denied { ioctl } for comm="macloader" path="socket:[17831]" dev="sockfs" ino=17831 ioctlcmd=0x8914 scontext=u:r:macloader:s0 tcontext=u:r:macloader:s0 tclass=udp_socket permissive=1
avc: denied { create } for comm="macloader" scontext=u:r:macloader:s0 tcontext=u:r:macloader:s0 tclass=udp_socket permissive=1
This commit is contained in:
parent
d35ae9762d
commit
ea2a278d90
1 changed files with 3 additions and 0 deletions
3
sepolicy/vendor/macloader.te
vendored
3
sepolicy/vendor/macloader.te
vendored
|
|
@ -14,6 +14,9 @@ allow macloader init:unix_stream_socket connectto;
|
|||
allow macloader sysfs_wifi:dir search;
|
||||
allow macloader sysfs_wifi:file rw_file_perms;
|
||||
allow macloader efs_file:dir search;
|
||||
allow macloader proc_net:file rw_file_perms;
|
||||
allow macloader self:udp_socket { ioctl create };
|
||||
allowxperm macloader self:udp_socket ioctl { 0x8913-0x8914 };
|
||||
|
||||
set_prop(macloader, vendor_mtk_wifi_hotspot_prop)
|
||||
set_prop(macloader, wifi_log_prop)
|
||||
|
|
|
|||
Loading…
Reference in a new issue