Skip to contentSkip to conversation

man: fix a formatting on the keyctl.1 man page

PATCH Applied Vladis Dronov 2 participants 3 messages May 10, 2022 – Mar 20, 2023 Keys/keyrings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man: fix a formatting on the keyctl.1 man page

Fix a formatting and a command output on
the keyctl.1 man page in a couple of places.

---

Hi,

This is a fix to userspace keyutils utilities, not to a kernel security/keys/ code:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/

Best regards,
Vladis

---
 man/keyctl.1 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
man/keyctl.1 +3 -2
index 2343762..c1d067f 100644
@@ -302,7 +302,7 @@ The \fBpadd\fR variant of the command reads the data from stdin rather than
 taking it from the command line:
 
 .RS
-.fi
+.nf
 $ echo \-n stuff | keyctl padd user mykey @u
 26
 .fi
@@ -499,6 +499,7 @@ reject all links.
 .RS
 .nf
 $ keyctl restrict_keyring $1 asymmetric builtin_trusted
+.fi
 .RE
 .SS Read a key
 \fBkeyctl read\fR <key>
@@ -522,7 +523,7 @@ $ keyctl read 26
 $ keyctl print 26
 b
 $ keyctl pipe 26
-$
+b$
 .fi
 .RE
 .SS List a keyring
Signature · 1 line
2.35.1
#2 lore raw
Quoted 9 lines · David Howells
Quoted 4 lines · Vladis Dronov

Fix a formatting and a command output on
the keyctl.1 man page in a couple of places.

Applied.

Thanks, David, most appreciated.

Best regards,
Vladis