Re: [PATCH] ptrace.2: wfix

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

 



[CC+=Denys]

On Sat, Mar 2, 2013 at 3:40 AM, David Prévot <taffit@xxxxxxxxxx> wrote:
> ---
>  man2/ptrace.2 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man2/ptrace.2 b/man2/ptrace.2
> index 9d1133c..a685049 100644
> --- a/man2/ptrace.2
> +++ b/man2/ptrace.2
> @@ -214,7 +214,7 @@ some modifications to the USER area are disallowed.
>  .TP
>  .BR PTRACE_GETREGS ", " PTRACE_GETFPREGS
>  Read the tracee's general-purpose or floating-point registers,
> -respectively, to the address
> +respectively, at the address
>  .I data
>  in the tracer.
>  See

David, I think you are right that there is a wording problem in this
sentence -- "Read ... to" is not the right preposition .  But I think
the fix is to change "Read" to "Copy". Thus:

.TP
.BR PTRACE_GETREGS ", " PTRACE_GETFPREGS
- Read the tracee's general-purpose or floating-point registers,
+ Copy the tracee's general-purpose or floating-point registers,
respectively, to the address
.I data
in the tracer.

Denys can confirm, since he wrote the original text.

Cheers,

Michael



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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