Re: ptrace(2): wrong kernel version for PTRACE_SEIZE and others

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitry,

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?

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux