docs: crypto: Fix parameters order for keyctl()
Subsystems (2)
PATCH 1/1 docs: crypto: Fix parameters order for keyctl()
key is the second parameter, keyring is the third one.
Signed-off-by Anatol Pomozov <[email protected]>
--- Documentation/security/keys/core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/security/keys/core.rst +1 -1
@@ -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
Signature · 1 line
2.28.0