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

klibc-bot for Nikita Ermakov sh1r4s3 at mail.si-head.nl
Sat Dec 12 15:27:06 PST 2020


Commit-ID:  ae9acb16b62b9575cbfc2d3268406c43ab09bed1
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ae9acb16b62b9575cbfc2d3268406c43ab09bed1
Author:     Nikita Ermakov <sh1r4s3 at mail.si-head.nl>
AuthorDate: Tue, 22 Sep 2020 14:31:57 +0300
Committer:  Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 12 Dec 2020 22:29:31 +0100

[klibc] 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>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>

---
 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);


More information about the klibc mailing list