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 <Dave.Martin@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Dave Martin 2020-05-12 17:36:57 +01:00 committed by Michael Kerrisk
parent 49a88f5dec
commit f7abc99cf9
1 changed files with 2 additions and 1 deletions

View File

@ -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