Penguin
Blame: create_module(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of create_module(2) version 5, including all changes. View license author blame.
Rev Author # Line
3 perry 1 !!NAME
2 create_module - create a loadable module entry
3 !!SYNOPSIS
4
5
5 PerryLorier 6 __#include <linux/module.h>__
7 caddr_t create_module(const char *__''name''__, size_t__ ''size''__);__
3 perry 8 !!DESCRIPTION
9
5 PerryLorier 10 create_module(2) attempts to create a loadable module entry and reserve the kernel memory that will be needed to hold the module. This system call is only open to the superuser.
3 perry 11 !!RETURN VALUE
12
5 PerryLorier 13 On success, returns the kernel address at which the module will reside. On error -1 is returned and ''errno'' is set appropriately.
3 perry 14 !!ERRORS
15
5 PerryLorier 16 ;[EPERM]: The user is not the superuser.
17 ;[EEXIST]: A module by that name already exists.
18 ;[EINVAL]: The requested size is too small even for the module header information.
19 ;[ENOMEM]: The kernel could not allocate a contiguous block of memory large enough for the module.
20 ;[EFAULT]: ''name'' is outside the program's accessible address space.
3 perry 21
22 !!SEE ALSO
5 PerryLorier 23 init_module(2), delete_module(2), query_module(2).
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 3 times)