mirror of https://github.com/mkerrisk/man-pages
request_key.2: Add notes on libkeyutils wrapper function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e2eab9148d
commit
d2f1788ee8
|
@ -19,6 +19,8 @@ request_key \- request a key from the kernel's key management facility
|
|||
.BI " const char *" callout_info ,
|
||||
.BI " key_serial_t " keyring ");"
|
||||
.fi
|
||||
|
||||
No glibc wrapper is provided for this system call; see NOTES.
|
||||
.SH DESCRIPTION
|
||||
.BR request_key ()
|
||||
attempts to find a key of the given
|
||||
|
@ -132,13 +134,12 @@ This system call first appeared in Linux 2.6.11.
|
|||
.SH CONFORMING TO
|
||||
This system call is a nonstandard Linux extension.
|
||||
.SH NOTES
|
||||
Although this is a Linux system call, it is not present in
|
||||
.I libc
|
||||
but can be found rather in
|
||||
.IR libkeyutils .
|
||||
When linking,
|
||||
.B -lkeyutils
|
||||
should be specified to the linker.
|
||||
No wrapper for this system call is provided in glibc.
|
||||
A wrapper is provided in the
|
||||
.IR libkeyutils
|
||||
package.
|
||||
When employing the wrapper in that library, link with
|
||||
.IR \-lkeyutils .
|
||||
.SH SEE ALSO
|
||||
.BR keyctl (1),
|
||||
.BR add_key (2),
|
||||
|
|
Loading…
Reference in New Issue