Message ID | 20200825215323.309899-1-anatol.pomozov@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | docs: crypto: Fix parameters order for keyctl() | expand |
diff --git a/Documentation/security/keys/core.rst b/Documentation/security/keys/core.rst index aa0081685ee1..59f752bdfc47 100644 --- a/Documentation/security/keys/core.rst +++ b/Documentation/security/keys/core.rst @@ -604,7 +604,7 @@ The keyctl syscall functions are: * Unlink a key or keyring from another keyring:: - long keyctl(KEYCTL_UNLINK, key_serial_t keyring, key_serial_t key); + long keyctl(KEYCTL_UNLINK, key_serial_t key, key_serial_t keyring); This function looks through the keyring for the first link to the specified key, and removes it if found. Subsequent links to that key are
key is the second parameter, keyring is the third one. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> --- Documentation/security/keys/core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)