Message ID | 20200513222306.870160-2-list.lkml.keyrings@me.benboeckel.net (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Clarify keyctl_set_reqkey_keyring(3) return value | expand |
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.
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