File prctl.2-Fixes-to-Dave-Martin-s-patch.patch of Package man-pages.31489
From 7289930f200ea673c9ecb45de4a6e79d3a0d4383 Mon Sep 17 00:00:00 2001
From: Michael Kerrisk <mtk.manpages@gmail.com>
Date: Tue, 9 Jun 2020 13:33:23 +0200
Subject: [PATCH 2/2] prctl.2: Fixes to Dave Martin's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
---
man2/prctl.2 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: b/man2/prctl.2
===================================================================
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -863,7 +863,7 @@ generic authentication \(lqA\(rq key.
.IP
As a special case, if
.I arg2
-is zero then all the keys are reset.
+is zero, then all the keys are reset.
Since new keys could be added in future,
this is the recommended way to completely wipe the existing keys
when establishing a clean execution context.
@@ -876,7 +876,7 @@ since
resets all the pointer authentication keys.
.IP
The remaining arguments
-.IR arg3 ", " arg4 " and " arg5
+.IR arg3 ", " arg4 ", and " arg5
must all be zero.
.IP
If the arguments are invalid,
@@ -884,13 +884,16 @@ and in particular if
.I arg2
contains set bits that are unrecognized
or that correspond to a key not available on this platform,
-the call fails with error
+then the call fails with error
.BR EINVAL .
.IP
.B Warning:
Because the compiler or run-time environment
may be using some or all of the keys,
a successful
+may crash the calling process.
+The conditions for using it safely are complex and system-dependent.
+Don't use it unless you know what you are doing.
.IP
For more information, see the kernel source file
.I Documentation/arm64/pointer\-authentication.rst