[klibc] [PATCH] SYSCALLS.def: Add finit_module() system call

Nikita Ermakov sh1r4s3 at mail.si-head.nl
Tue Sep 22 04:31:57 PDT 2020


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



More information about the klibc mailing list