aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-06-19 12:01:02 +0200
committerAlejandro Colomar <alx@kernel.org>2024-08-21 23:51:05 +0200
commit19a2eb8b64bf898916e8fbe5026a5bf1dabc47f2 (patch)
tree6596962b519bc29b2d1dbd1f9cb809d40d2c434c /man/man2
parent1cd8e9351a2063861b556473b56b9ec081752523 (diff)
downloadman-pages-19a2eb8b64bf898916e8fbe5026a5bf1dabc47f2.tar.gz
keyctl.2: Tweak in preparation for sashimi
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2')
-rw-r--r--man/man2/keyctl.219
1 files changed, 5 insertions, 14 deletions
diff --git a/man/man2/keyctl.2 b/man/man2/keyctl.2
index d153762544..77d644c010 100644
--- a/man/man2/keyctl.2
+++ b/man/man2/keyctl.2
@@ -1,7 +1,8 @@
-.\" Copyright (C) 2016 Michael Kerrisk <mtk.manpages@gmail.com>
-.\" and Copyright (C) 2016 Eugene Syromyatnikov <evgsyr@gmail.com>
+.\" Copyright 2016, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright 2016, Eugene Syromyatnikov <evgsyr@gmail.com>
.\" A very few fragments remain from an earlier version of this page
.\" written by David Howells (dhowells@redhat.com)
+.\" Copyright 2024, Alejandro Colomar <alx@kernel.org>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
@@ -11,26 +12,16 @@ keyctl \- manipulate the kernel's key management facility
.SH LIBRARY
Standard C library
.RI ( libc ,\~ \-lc )
-.P
-Alternatively, Linux Key Management Utilities
-.RI ( libkeyutils ,\~ \-lkeyutils );
-see VERSIONS.
.SH SYNOPSIS
.nf
-.BR "#include <linux/keyctl.h>" " /* Definition of " KEY* " constants */"
-.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
+.BR "#include <linux/keyctl.h>" " /* Definition of " KEY* " constants */"
+.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.P
.BI "long syscall(SYS_keyctl, int " operation ", unsigned long " arg2 ,
.BI " unsigned long " arg3 ", unsigned long " arg4 ,
.BI " unsigned long " arg5 );
.fi
-.P
-.IR Note :
-glibc provides no wrapper for
-.BR keyctl (),
-necessitating the use of
-.BR syscall (2).
.SH DESCRIPTION
.BR keyctl ()
allows user-space programs to perform key manipulation.