All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: crypto: Fix parameters order for keyctl()
@ 2020-08-25 21:53 Anatol Pomozov
  0 siblings, 0 replies; only message in thread
From: Anatol Pomozov @ 2020-08-25 21:53 UTC (permalink / raw)
  To: zohar, keyrings; +Cc: Anatol Pomozov

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(-)

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
-- 
2.28.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-25 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 21:53 [PATCH] docs: crypto: Fix parameters order for keyctl() Anatol Pomozov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.