Re: request_module with params

2017-08-21 Thread Okash Khawaja
Hi, On 21 Aug 2017 8:21 am, "Cihangir Akturk" 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 w

Re: request_module with params

2017-08-21 Thread Cihangir Akturk
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: from include/linux/kmod.h #d

request_module with params

2017-08-20 Thread Okash Khawaja
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"); Thanks, Okash ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/m