CREATE_MODULE(2) Linux Module Support CREATE_MODULE(2)NAME
create_module - create a loadable module entry
SYNOPSIS
#include <linux/module.h>
caddr_t create_module(const char *name, size_t size);
DESCRIPTION
create_module 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.
RETURN VALUE
On success, returns the kernel address at which the module will reside. On error -1 is returned and errno is set appropriately.
ERRORS
EPERM The user is not the superuser.
EEXIST A module by that name already exists.
EINVAL The requested size is too small even for the module header information.
ENOMEM The kernel could not allocate a contiguous block of memory large enough for the module.
EFAULT name is outside the program's accessible address space.
SEE ALSO init_module(2), delete_module(2), query_module(2).
Linux 26 Dec 1996 CREATE_MODULE(2)
Check Out this Related Man Page
CREATE_MODULE(2) Linux Programmer's Manual CREATE_MODULE(2)NAME
create_module - create a loadable module entry
SYNOPSIS
#include <linux/module.h>
caddr_t create_module(const char *name, size_t size);
DESCRIPTION
create_module() attempts to create a loadable module entry and reserve the kernel memory that will be needed to hold the module. This sys-
tem call requires privilege.
RETURN VALUE
On success, returns the kernel address at which the module will reside. On error -1 is returned and errno is set appropriately.
ERRORS
EEXIST A module by that name already exists.
EFAULT name is outside the program's accessible address space.
EINVAL The requested size is too small even for the module header information.
ENOMEM The kernel could not allocate a contiguous block of memory large enough for the module.
ENOSYS create_module() is not supported in this version of the kernel.
EPERM The caller was not privileged (did not have the CAP_SYS_MODULE capability).
VERSIONS
This system call is only present on Linux up until kernel 2.4; it was removed in Linux 2.6.
CONFORMING TO
create_module() is Linux-specific.
SEE ALSO delete_module(2), init_module(2), query_module(2)COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2007-06-03 CREATE_MODULE(2)
I asked the next question in a former thread :
Can I safely share objects that have virtual functions (i.e. have
virtual function table pointers) between two processes ?
Where will the pointers point to in each process ?
The objects are supposed to reside in shared memory
I received a... (6 Replies)
Hi,
i am very beginer to perl, I am reading one xml file and i am creating hash table for that file. i written code like this
#!/usr/bin/perl
use warnings;
use strict;
use XML::LibXML::Reader;
#Reading XML with a pull parser
my $file;
open( $file, 'formal.xml');
my $reader =... (8 Replies)
I have some custom functions which i want to use in perl Scripting all time.
i want to How to create modules in perl and how to import them.
Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Hello.
The company I work for would like to stop using these big ol' Genicom 4440 printers and create PDFs instead. The cost for maintenance and paper has gotten too high. Ideally whenever someone prints in Unix it will produce a (plain text) file in a folder on a windows server. I believe this... (8 Replies)