* [PATCH 0/1] Clarify keyctl_set_reqkey_keyring(3) return value
@ 2020-05-13 22:23 Ben Boeckel
2020-05-13 22:23 ` [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default Ben Boeckel
0 siblings, 1 reply; 3+ messages in thread
From: Ben Boeckel @ 2020-05-13 22:23 UTC (permalink / raw)
To: keyrings
From: Ben Boeckel <mathstuf@gmail.com>
Minor documentation fixup I noticed.
I'm still in the process of migrating emails for various usages hence
the email From mismatch here (I've migrated my list subscription, but
not my general contribution email).
Ben Boeckel (1):
man: clarify that keyctl_set_reqkey_keyring(3) returns the old default
man/keyctl_set_reqkey_keyring.3 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
base-commit: 704802463dd1fd74000132d4325300c718a4b474
--
2.25.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default
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
2020-05-18 14:06 ` David Howells
0 siblings, 1 reply; 3+ messages in thread
From: Ben Boeckel @ 2020-05-13 22:23 UTC (permalink / raw)
To: keyrings; +Cc: Ben Boeckel, dhowells
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default
2020-05-13 22:23 ` [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default Ben Boeckel
@ 2020-05-18 14:06 ` David Howells
0 siblings, 0 replies; 3+ messages in thread
From: David Howells @ 2020-05-18 14:06 UTC (permalink / raw)
To: keyrings
Ben Boeckel <me@benboeckel.net> wrote:
> 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>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-18 14:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 22:23 [PATCH 0/1] Clarify keyctl_set_reqkey_keyring(3) return value Ben Boeckel
2020-05-13 22:23 ` [PATCH 1/1] man: clarify that keyctl_set_reqkey_keyring(3) returns the old default Ben Boeckel
2020-05-18 14:06 ` David Howells
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.