From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Kerrisk Subject: Re: [PATCH 1/3] ptrace.2: place GETSIGINFO and SETSIGINFO near each other Date: Thu, 18 Jul 2013 03:13:39 +0200 Message-ID: <51E74143.4040709@gmail.com> References: <1373962773-2041-1-git-send-email-avagin@openvz.org> <1373962773-2041-2-git-send-email-avagin@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1373962773-2041-2-git-send-email-avagin-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andrey Vagin Cc: Michael Kerrisk , linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, criu-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org List-Id: linux-man@vger.kernel.org Thanks Andrey. Applied. M On 07/16/13 10:19, Andrey Vagin wrote: > Signed-off-by: Andrey Vagin > --- > man2/ptrace.2 | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/man2/ptrace.2 b/man2/ptrace.2 > index 0d77e3f..5fcac2b 100644 > --- a/man2/ptrace.2 > +++ b/man2/ptrace.2 > @@ -255,18 +255,6 @@ On return, the kernel modifies > .B iov.len > to indicate the actual number of bytes returned. > .TP > -.BR PTRACE_GETSIGINFO " (since Linux 2.3.99-pre6)" > -Retrieve information about the signal that caused the stop. > -Copy a > -.I siginfo_t > -structure (see > -.BR sigaction (2)) > -from the tracee to the address > -.I data > -in the tracer. > -.RI ( addr > -is ignored.) > -.TP > .BR PTRACE_SETREGS ", " PTRACE_SETFPREGS > Modify the tracee's general-purpose or floating-point registers, > respectively, from the address > @@ -301,6 +289,18 @@ and > is analogous to > .BR PTRACE_GETREGSET . > .TP > +.BR PTRACE_GETSIGINFO " (since Linux 2.3.99-pre6)" > +Retrieve information about the signal that caused the stop. > +Copy a > +.I siginfo_t > +structure (see > +.BR sigaction (2)) > +from the tracee to the address > +.I data > +in the tracer. > +.RI ( addr > +is ignored.) > +.TP > .BR PTRACE_SETSIGINFO " (since Linux 2.3.99-pre6)" > Set signal information: > copy a > -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html