Re: [PATCH] ptrace.2: do not say that PTRACE_O_TRACESYSGOOD may not work

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

 



Hello Dmitry,

On 11/26/18 10:18 PM, Dmitry V. Levin wrote:
> Remove the old statement that PTRACE_O_TRACESYSGOOD may not work
> on all architectures.  As far as I can tell, all kernel code properly
> tests PT_TRACESYSGOOD flag and sets the 7th bit in the exit code passed
> to ptrace_notify().

Thank you. Patch applied.

Cheers,

Michael


> Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
> ---
>  man2/ptrace.2 | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/man2/ptrace.2 b/man2/ptrace.2
> index 6e4175f35..3b6b6ea84 100644
> --- a/man2/ptrace.2
> +++ b/man2/ptrace.2
> @@ -586,8 +586,6 @@ When delivering system call traps, set bit 7 in the signal number
>  .IR "SIGTRAP|0x80" ).
>  This makes it easy for the tracer to distinguish
>  normal traps from those caused by a system call.
> -.RB ( PTRACE_O_TRACESYSGOOD
> -may not work on all architectures.)
>  .TP
>  .BR PTRACE_O_TRACEVFORK " (since Linux 2.5.46)"
>  Stop the tracee at the next
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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