i am not sure about others, but 'sys_query_module' no longer exists (for 2.6.X kernels). anupam ----- Original Message ----- From: Dhiman, Gaurav <gaurav.dhiman@xxxxxx> Date: Wed, 1 Sep 2004 19:51:22 +0530 Subject: RE: loading module from user space To: Nilanjan Roychowdhury <nilanjan.roychowdhury@xxxxxxxx> Cc: kernelnewbies@xxxxxxxxxxxx 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 Sent: Wednesday, September 01, 2004 7:25 PM To: kernelnewbies@xxxxxxxxxxxx Subject: loading module from user space 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 -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/