keyutils/backport-fix-a-formatting-on-the-keyctl.1-man-page.patch
Linux_zhang 9395519559 sync branch patches
(cherry picked from commit a9e4932872a7d1948b83b70cc40aa9cef21a296d)
2025-04-23 14:28:56 +08:00

43 lines
880 B
Diff

From c776445b5c5cb7116cf678182a2777d69eaf3276 Mon Sep 17 00:00:00 2001
From: jiawenhao <jiawenhao@xfusion.com>
Date: Thu, 17 Apr 2025 17:10:19 +0800
Subject: [PATCH] fix-a-formatting-on-the-keyctl.1-man-page
---
man/keyctl.1 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/man/keyctl.1 b/man/keyctl.1
index 2343762..c1d067f 100644
--- a/man/keyctl.1
+++ b/man/keyctl.1
@@ -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
--
2.27.0