Is there anyway to do "insmod" and "rmmod" from C/C++ code? Other than running system(...), is there a Kernel API that will allow me to do this?
Excellent thanks for that, that should help me. I forgot that I can just look at the source for almost anything.. still stuck in Windows world mentally.
RishiD
2010-05-07 19:42:57
+1
A:
In addition to viewing the source for insmod
and module-init-tools you could strace
and ltrace
a run of insmod
.
nategoose
2010-05-07 19:40:26