On 06/23/2016 01:01 PM, Ravi Kumar wrote:
> Hi Jeffrey,
> I tried to do the same ,
> added the allow rule in system_server as
> / allow system_server system_file:system module_load;/
>
> But still seeing issue as of the wlan.ko is a symlink as below
> wlan.ko -> /system/lib/modules/vendor_wlan.ko
>
> Wlan.ko or vendor_wlan.ko are with u:object_r:system_file:s0
>
> But still i see there is some issue where it show up this denial .
>
> W WifiStateMachin: type=1400 audit(0.0:2074): avc: denied { module_load
> } for scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0
> tclass=system permissive=0
> in the above denial i see the tcontext as system_server.
>
> I had not debugged much into will do but looks like there is some thing
> which we are missing .
hardware/libhardware_legacy/wifi/wifi.c needs to be updated to use
open() + finit_module() rather than load_file() + init_module().
And bionic needs to export finit_module?
_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to
[email protected].