Re: call insmod in C program



mbm wrote:
Hi

I need to insert kernel modules from a C application , is it possible
to do that without calling system("insmod ..")

Definitely. All you need to do is to take the insmod source code and copy it into your application.
Simple as that. Open Source.

--
These are my personal views and not those of Fujitsu Siemens Computers!
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://www.fujitsu-siemens.com/imprint.html
.



Relevant Pages

  • Re: call insmod in C program
    ... to do that without calling system ... All you need to do is to take the insmod source code and ... Just compile your module at a source directory, ... int main ...
    (comp.os.linux.development.system)
  • Re: call insmod in C program
    ... to do that without calling system ... All you need to do is to take the insmod source code and ... compile it with GCC, get back to me in case of any errors. ...
    (comp.os.linux.development.system)