create_module(2) System Calls Manual create_module(2) create_module - #include [[deprecated]] caddr_t create_module(const char *name, size_t size); Note: This system call is present only before Linux 2.6. create_module() , . . On success, returns the kernel address at which the module will reside. On error, -1 is returned and errno is set to indicate the error. EEXIST . EFAULT name . EINVAL . ENOMEM , . ENOSYS create_module() is not supported in this version of the kernel (e.g., Linux 2.6 or later). EPERM ( CAP_SYS_MODULE). Linux. Removed in Linux 2.6. This obsolete system call is not supported by glibc. No declaration is provided in glibc headers, but, through a quirk of history, glibc versions before glibc 2.23 did export an ABI for this system call. Therefore, in order to employ this system call, it was sufficient to manually declare the interface in your code; alternatively, you could invoke the system call using syscall(2). . delete_module(2), init_module(2), query_module(2) Azamat Hackimov , Dmitriy S. Seregin , Dmitry Bolkhovskikh , Katrin Kutepova , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . create_module(2)