INIT_MODULESection: Linux Programmer's Guide (2)
Index Return to Main Contents
NAMEinit_module - Initialize a loadable module entry
- long sys_init_module (void *umod, unsigned long len, const char *uargs);
init_module initializes a loadable module entry given by umod, which is indicated by the module's init function. The len and uargs values are sent to the load_module function, which is utilized by sys_init_module to get information on the module. The uargs contain any user space arguments to apply to the module. The len value indicates the size of the memory section the module loads into.
- The user must have administrator module modification capabilities.
- Only one module can be loaded at a time. This error is returned if more than one module is attempting to be loaded.
This document was created by man2html, using the manual pages.
Time: 05:33:04 GMT, December 24, 2015