[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <feef4f9a-4ed8-8a2e-d330-88e7f516faae@gmail.com>
Date: Tue, 15 Dec 2020 18:01:25 +0100
From: "Alejandro Colomar (man-pages)" <alx.manpages@...il.com>
To: Pavel Emelyanov <xemul@...nvz.org>,
Oleg Nesterov <oleg@...sign.ru>,
Andrew Morton <akpm@...ux-foundation.org>,
Michael Kerrisk <mtk.manpages@...il.com>,
Kees Cook <keescook@...omium.org>, Jann Horn <jann@...jh.net>
Cc: Ted Estes <ted@...twarecrafters.com>,
linux-man <linux-man@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: [Bug 210655] ptrace.2: documentation is incorrect about access
checking threads in same thread group
Hi,
There's a bug report: https://bugzilla.kernel.org/show_bug.cgi?id=210655
[[
Under "Ptrace access mode checking", the documentation states:
"1. If the calling thread and the target thread are in the same thread
group, access is always allowed."
This is incorrect. A thread may never attach to another in the same group.
Reference, ptrace_attach()
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/kernel/ptrace.c?h=v5.9.14#n380
]]
I just wanted to make sure that it is a bug in the manual page, and not
in the implementation.
Thanks,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es
Powered by blists - more mailing lists