Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/keyctl.2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 7f5fcb951..4b4eeee04 100644 --- a/man2/keyctl.2 +++ b/man2/keyctl.2 @@ -28,6 +28,13 @@ .TH KEYCTL 2 2021-03-22 Linux "Linux Key Management Calls" .SH NAME keyctl \- manipulate the kernel's key management facility +.SH LIBRARY +Linux kernel, glibc - standard C library +.RI ( libc ", " -lc ) +.PP +Alternatively, libkeyutils +.RI ( libkeyutils ", " -lkeyutils ); +see NOTES. .SH SYNOPSIS .nf .BR "#include <linux/keyctl.h>" " /* Definition of " KEY* " constants */" @@ -1955,8 +1962,6 @@ This system call is a nonstandard Linux extension. A wrapper is provided in the .IR libkeyutils library. -When employing the wrapper in that library, link with -.IR \-lkeyutils . However, rather than using this system call directly, you probably want to use the various library functions mentioned in the descriptions of individual operations above. -- 2.31.1