From: David van Moolenbroek Date: Wed, 11 Aug 2010 08:57:48 +0000 (+0000) Subject: fix ptrace.2 man page X-Git-Tag: v3.1.8~82 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=9acaece9ccd24229ec25f3196d1a3214983fc320;p=minix.git fix ptrace.2 man page --- diff --git a/man/man2/ptrace.2 b/man/man2/ptrace.2 index 386d225c1..efb27259c 100644 --- a/man/man2/ptrace.2 +++ b/man/man2/ptrace.2 @@ -139,6 +139,8 @@ struct ptrace_range { size_t pr_size; void *pr_ptr; }; +.ft R +.fi .RE .PP The \fBpr_space\fP field specifies the address space from which to retrieve @@ -177,23 +179,22 @@ The functions will fail if any of the following errors occur: .TP 10 .B EINVAL Invalid request, signal, space, or length given. -.TP 10 +.TP .B ESRCH The given process is not found, exiting, or not traced by the caller. -.TP 10 +.TP .B EBUSY The given process is not stopped, or already being traced. -.TP 10 +.TP .B EFAULT The given address is invalid, inaccessible, or not properly aligned. -.TP 10 +.TP .B EPERM Attaching is denied, because the caller equals the given process, or the caller is not root and does not match the given process's user or group ID, or the caller is not root and the given process is a system process, or the caller is a system process, or the given process may not be traced at all. -.TP .SH LIMITATIONS Signals are not ordered. Attaching to a process guarantees that a \fBSIGSTOP\fP will arrive at the tracer, but it is not guaranteed that this will be the first