init_module.2: Glibc 2.23 removed last vestiges of support for this system call

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-22 08:12:54 +01:00
parent fa3b5cee4c
commit 0eace267be
1 changed files with 4 additions and 3 deletions

View File

@ -265,10 +265,11 @@ are Linux-specific.
The
.BR init_module ()
system call is not supported by glibc.
No declaration is provided in glibc headers, but,
through a quirk of history, glibc does export an ABI for this system call.
No declaration is provided in glibc headers, but, through a quirk of history,
glibc versions before 2.23 did export an ABI for this system call.
Therefore, in order to employ this system call,
it is sufficient to manually declare the interface in your code;
it is (before glibc 2.23) sufficient to
manually declare the interface in your code;
alternatively, you can invoke the system call using
.BR syscall (2).