diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-08-18 01:43:53 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-08-21 23:51:15 +0200 |
| commit | ff748d3edbe02f16dcc2316ae37f74c3c23e9d19 (patch) | |
| tree | 97d00b6a47ff9e8b3c5b925819a048664b811b5e | |
| parent | 5d008d0e2ccec9e89a2283587b88a98011463bec (diff) | |
| download | man-pages-ff748d3edbe02f16dcc2316ae37f74c3c23e9d19.tar.gz | |
keyctl.2: Tweak after making sashimi of this page
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man/man2/keyctl.2 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/man/man2/keyctl.2 b/man/man2/keyctl.2 index b73568485d..22897a4f38 100644 --- a/man/man2/keyctl.2 +++ b/man/man2/keyctl.2 @@ -18,9 +18,7 @@ Standard C library .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 ); +.BI "long syscall(SYS_keyctl, int " op ", ...);" .fi .SH DESCRIPTION .BR keyctl () @@ -29,17 +27,18 @@ allows user-space programs to perform key manipulation. The operation performed by .BR keyctl () is determined by the value of the -.I operation +.I op argument. Each of these operations is wrapped by the .I libkeyutils library (provided by the .I keyutils -package) into individual functions (noted below) +package) into individual functions (see +.BR keyctl (3)) to permit the compiler to check types. .P The permitted values for -.I operation +.I op are: .TP .BR KEYCTL_GET_KEYRING_ID (2const) |
