All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Boeckel <me@benboeckel.net>
To: keyrings@vger.kernel.org
Cc: Ben Boeckel <mathstuf@gmail.com>, dhowells@redhat.com
Subject: [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default
Date: Wed, 13 May 2020 22:23:06 +0000	[thread overview]
Message-ID: <20200513222306.870160-2-list.lkml.keyrings@me.benboeckel.net> (raw)
In-Reply-To: <20200513222306.870160-1-list.lkml.keyrings@me.benboeckel.net>

From: Ben Boeckel <mathstuf@gmail.com>

The prose mentions this, but the return value section gave conflicting
information.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
---
 man/keyctl_set_reqkey_keyring.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/keyctl_set_reqkey_keyring.3 b/man/keyctl_set_reqkey_keyring.3
index 00da586..6e6725e 100644
--- a/man/keyctl_set_reqkey_keyring.3
+++ b/man/keyctl_set_reqkey_keyring.3
@@ -66,8 +66,8 @@ and
 .SH RETURN VALUE
 On success
 .BR keyctl_set_reqkey_keyring ()
-returns
-.BR 0 .
+returns the serial number of the keyring which was the previous default for the
+current thread.
 On error, the value
 .B -1
 will be returned and
-- 
2.25.4

  reply	other threads:[~2020-05-13 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 22:23 [PATCH 0/1] Clarify keyctl_set_reqkey_keyring(3) return value Ben Boeckel
2020-05-13 22:23 ` Ben Boeckel [this message]
2020-05-18 14:06   ` [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200513222306.870160-2-list.lkml.keyrings@me.benboeckel.net \
    --to=me@benboeckel.net \
    --cc=dhowells@redhat.com \
    --cc=keyrings@vger.kernel.org \
    --cc=mathstuf@gmail.com \
    --subject='Re: [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.