sys_init_module  [kernel/module.c]


Initializes a loadable module entry.

Arguments

eax 128
ebx Pointer to a null-terminated string that specifies the name of a module.
ecx Indicates the size of the memory section the module loads into.
edx Pointer to an array of user space arguments to be passed to the module.

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:

-EPERM The user must have administrator module modification capabilities.
-EINTR Only one module can be loaded at a time. This error is returned if more than one module is attempting to be loaded.

Remarks

n/a

Compatibility

n/a