Loading / Unloading kernel module from another module

Pranay Srivastava pranjas at gmail.com
Mon Feb 3 01:12:06 EST 2014


On Feb 3, 2014 9:53 AM, "Chetan Nanda" <chetannanda at gmail.com> wrote:
>
> Hi,
>
> Is there a way to load and unload a module from another module?
> I know 'request_module' can be used to load but what is the API for
unloading a module.

Try and modify delete_module as per your need. Defined as a syscall.

>
> Thanks for your help.
>
> Thanks,
> Chetan Nanda
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140203/61ae828e/attachment.html 


More information about the Kernelnewbies mailing list