On 28 Mar 2016 16:55, Michael Kerrisk (man-pages) wrote: > On 23 March 2016 at 00:16, Dmitry V. Levin <ldv@xxxxxxxxxxxx> wrote: > > On Fri, Mar 18, 2016 at 05:21:28PM -0400, Patrick Donnelly wrote: > >> The ptrace(2) man page says that PTRACE_SEIZE, PTRACE_LISTEN, and > >> PTRACE_INTERRUPT was introduced in Linux 3.4. In fact, this was added > >> in 3.1: > >> > >> $ git diff v3.0 v3.1 include/linux/ptrace.h | grep SEIZE > >> +#define PTRACE_SEIZE 0x4206 > >> +/* flags in @data for PTRACE_SEIZE */ > >> +#define PTRACE_SEIZE_DEVEL 0x80000000 /* temp flag for development */ > > > > Yes, PTRACE_SEIZE was introduced by commit v3.1-rc1~308^2~28, but > > it had to be used along with a temporary flag PTRACE_SEIZE_DEVEL, > > which was removed later by commit v3.4-rc1~109^2~20. > > > > That is, between v3.0 and v3.4 we had a test mode of PTRACE_SEIZE API, > > which was not compatible with the current PTRACE_SEIZE API introduced > > in Linux 3.4. > > So, it sounds like the page is good as it stands, right? if the commented source has these details, then yes. otherwise, might be good to stash them in the commented block. i don't think it should be exposed to the user. glancing at the source, i'm not seeing a commented block. -mike
Attachment:
signature.asc
Description: Digital signature