Nikita Ermakov
2020-Sep-22 11:31 UTC
[klibc] [PATCH] SYSCALLS.def: Add finit_module() system call
The finit_module() system call was merged in Linux 3.8. This system call is similar to init_module(), but it allows to load Linux kernel modules from file descriptors. Signed-off-by: Nikita Ermakov <sh1r4s3 at mail.si-head.nl> --- usr/klibc/SYSCALLS.def | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index c8ac9e0d..7a67b01f 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -270,6 +270,7 @@ int uname(struct utsname *); int setdomainname(const char *, size_t); int sethostname(const char *, size_t); long init_module(void *, unsigned long, const char *); +long finit_module(int, const char *, int); long delete_module(const char *, unsigned int); int reboot::__reboot(int, int, int, void *); int syslog::klogctl(int, char *, int); -- 2.28.0
Ben Hutchings
2020-Dec-12 22:48 UTC
[klibc] [PATCH] SYSCALLS.def: Add finit_module() system call
On Tue, 2020-09-22 at 14:31 +0300, Nikita Ermakov wrote:> The finit_module() system call was merged in Linux 3.8. This system > call > is similar to init_module(), but it allows to load Linux kernel > modules > from file descriptors. > > Signed-off-by: Nikita Ermakov <sh1r4s3 at mail.si-head.nl>[...] Applied, thanks. Ben. -- Ben Hutchings Design a system any fool can use, and only a fool will want to use it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: <https://lists.zytor.com/archives/klibc/attachments/20201212/0e684b48/attachment.sig>