request_module with params

Okash Khawaja okash.khawaja at gmail.com
Mon Aug 21 03:38:36 EDT 2017


Hi,

On 21 Aug 2017 8:21 am, "Cihangir Akturk" <cakturk at gmail.com> wrote:

On Sun, Aug 20, 2017 at 09:24:09AM +0100, Okash Khawaja wrote:
> Hi,
>
> Is there a way to load a kernel module from another module and pass
> parameters to it? Something like
>
> request_module("mymod param1=val1");

I think this is exactly what you are looking for:


This works fine when no parameters are supplied. But if I call it like
this:

request_module("mymod param1=val1");

It doesn't work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170821/498e4d9c/attachment.html 


More information about the Kernelnewbies mailing list