Re: [patch], ptrace(2): Unnecessary escape before ">"

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

 



Bjarni,

On Mon, May 7, 2012 at 8:02 AM, Bjarni Ingi Gislason <bjarniig@xxxxxxxxx> wrote:
> Package: man-pages
> Version: 3.40
> Severity: minor
> Tags: patch
>
>  From "groff -ww ..." (or "man --warnings=w ...":
>
> <standard input>:758: warning: escape character ignored before `>'
>
>  Also periods (full stop) in ellipises "protected" with "\&".

My knowledge here is a bit thin. Can you expand on the previous sentence please.

Thanks,

Michael


>
>  Patch:
>
> --- ptrace.2    2012-04-26 22:58:36.000000000 +0000
> +++ ptrace.2.new        2012-05-06 01:13:38.000000000 +0000
> @@ -76,7 +76,7 @@
>  Ptrace commands are always sent to
>  a specific tracee using a call of the form
>
> -    ptrace(PTRACE_foo, pid, ...)
> +    ptrace(PTRACE_foo, pid, \&...\&)
>
>  where
>  .I pid
> @@ -752,7 +752,7 @@
>  .I WSTOPSIG(status)
>  macro can't be used to perform this examination,
>  because it returns the value
> -.IR "(status\>>8)\ &\ 0xff" .)
> +.IR "(status>>8)\ &\ 0xff" .)
>  .SS Signal-delivery-stop
>  When a (possibly multithreaded) process receives any signal except
>  .BR SIGKILL ,
> @@ -1507,14 +1507,14 @@
>  .LP
>  .nf
>  *** we get syscall-enter-stop in thread 1: **
> -PID1 execve("/bin/foo", "foo" <unfinished ...>
> +PID1 execve("/bin/foo", "foo" <unfinished \&...\&>
>  *** we issue PTRACE_SYSCALL for thread 1 **
>  *** we get syscall-enter-stop in thread 2: **
> -PID2 execve("/bin/bar", "bar" <unfinished ...>
> +PID2 execve("/bin/bar", "bar" <unfinished \&...\&>
>  *** we issue PTRACE_SYSCALL for thread 2 **
>  *** we get PTRACE_EVENT_EXEC for PID0, we issue PTRACE_SYSCALL **
>  *** we get syscall-exit-stop for PID0: **
> -PID0 <... execve resumed> )             = 0
> +PID0 <...\& execve resumed> )             = 0
>  .fi
>  .LP
>  If the
>
> --
> Bjarni I. Gislason



-- 
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