]> git.ipfire.org Git - thirdparty/man-pages.git/commit
prctl.2: Clarify that prctl can apply to threads
authorDave Martin <Dave.Martin@arm.com>
Tue, 12 May 2020 16:36:46 +0000 (17:36 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 13 May 2020 10:32:32 +0000 (12:32 +0200)
commit1e0d99b89969ff63ae76640f63b3ce868d1441fb
tree06836637a79646cc85b8a074728470cdb47201c0
parent3f1dc8e16a231ec1068d761370dcf73cd9b2ebdb
prctl.2: Clarify that prctl can apply to threads

The current synopsis for prctl(2) misleadingly claims that prctl
operates on a process.  Rather, some (in fact, most) prctls operate
on a thread.

The wording probably dates back to the old days when Linux didn't
really have threads at all.

Reword as appropriate.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/prctl.2