|
There are few of the system calls which
support loading an unloading of module, these system calls are also used by “insmod”
utility. In place of “insmod”, you can
write your own user level program using these system calls to load and unload
the module. The system calls related to module are: -
sys_create_module -
sys_init_module -
sys_delete_module -
sys_query_module You can get all the functions and system
calls related to modules in kernel by “grep’ing” the “/boot/System.map”
file. All functions starting with “sys_”
in this output are system calls which you can call from user space. Regards, Gaurav From:
kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Nilanjan Roychowdhury Is there any system call in user space through which we can
load a module. [ I am not talking of insmod from the shell]. I want something similar like request_module in kernel spac??? Regards, Nilanjan |