aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/keyctl.226
1 files changed, 2 insertions, 24 deletions
diff --git a/man2/keyctl.2 b/man2/keyctl.2
index a6497a9ddc..7073f80f05 100644
--- a/man2/keyctl.2
+++ b/man2/keyctl.2
@@ -781,31 +781,9 @@ via the function
.BR keyctl_instantiate (3).
.TP
.BR KEYCTL_NEGATE " (since Linux 2.6.11)"
-Negatively instantiate a partially constructed key with the ID provided in the
-.I arg2
-argument (cast to
-.IR key_serial_t ),
-setting the timeout (in seconds) to the value provided in the
-.I arg3
-argument (cast to
-.IR "unsigned int" ).
-The instantiated key will be linked to the keyring ID which is provided in the
-.I arg4
-argument (cast to
-.IR key_serial_t ).
-
-The caller must have the appropriate instantiation permit set
-(authorization key, see
-.B KEYCTL_ASSUME_AUTHORITY
-command).
-
-Negative keys are used to rate limit repeated
-.BR request_key (2)
-calls by causing them to fail with the error
-.B ENOKEY
-until the negative key expires.
+Negatively instantiate a partially constructed key.
-This is equivalent to the call
+This operation is equivalent to the call:
keyctl(KEYCTL_REJECT, arg2, arg3, ENOKEY, arg4);