From: Dave Martin Date: Tue, 12 May 2020 16:36:57 +0000 (+0100) Subject: prctl.2: Clarify the unsupported hardware case of EINVAL X-Git-Tag: man-pages-5.07~125 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fman-pages.git;a=commitdiff_plain;h=f7abc99cf991ca580d59a96956ad3771b6862fdf prctl.2: Clarify the unsupported hardware case of EINVAL prctls that are architecture-specific won't work on other architectures, and arch-specific prctls that manipulate optional hardware features likewise won't work if that hardware feature is not present. The established pattern seems to be to treat such prctls as if they are unimplemented, when attempted on the wrong hardware. Cover these cases with some generic weasel words in the closet existing EINVAL clause. Signed-off-by: Dave Martin Signed-off-by: Michael Kerrisk --- diff --git a/man2/prctl.2 b/man2/prctl.2 index 6de4439381..7e78fc3c11 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -1586,7 +1586,8 @@ is an invalid address. .B EINVAL The value of .I option -is not recognized. +is not recognized, +or not supported on this system. .TP .B EINVAL .I option