]> git.ipfire.org Git - thirdparty/man-pages.git/commit
prctl.2: Clarify the unsupported hardware case of EINVAL
authorDave Martin <Dave.Martin@arm.com>
Tue, 12 May 2020 16:36:57 +0000 (17:36 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 13 May 2020 10:49:36 +0000 (12:49 +0200)
commitf7abc99cf991ca580d59a96956ad3771b6862fdf
tree3a4d60d0c66bcc07d7a455156afb1436b5204226
parent49a88f5decdea5b83af361a3e6cc566dcc5b16db
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>
man2/prctl.2