fix ptrace.2 man page
This commit is contained in:
parent
bee1f38e01
commit
9acaece9cc
|
@ -139,6 +139,8 @@ struct ptrace_range {
|
||||||
size_t pr_size;
|
size_t pr_size;
|
||||||
void *pr_ptr;
|
void *pr_ptr;
|
||||||
};
|
};
|
||||||
|
.ft R
|
||||||
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
The \fBpr_space\fP field specifies the address space from which to retrieve
|
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
|
.TP 10
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
Invalid request, signal, space, or length given.
|
Invalid request, signal, space, or length given.
|
||||||
.TP 10
|
.TP
|
||||||
.B ESRCH
|
.B ESRCH
|
||||||
The given process is not found, exiting, or not traced by the caller.
|
The given process is not found, exiting, or not traced by the caller.
|
||||||
.TP 10
|
.TP
|
||||||
.B EBUSY
|
.B EBUSY
|
||||||
The given process is not stopped, or already being traced.
|
The given process is not stopped, or already being traced.
|
||||||
.TP 10
|
.TP
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
The given address is invalid, inaccessible, or not properly aligned.
|
The given address is invalid, inaccessible, or not properly aligned.
|
||||||
.TP 10
|
.TP
|
||||||
.B EPERM
|
.B EPERM
|
||||||
Attaching is denied, because the caller equals the given process,
|
Attaching is denied, because the caller equals the given process,
|
||||||
or the caller is not root and does not match the given process's
|
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
|
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,
|
is a system process, or the caller is a system process,
|
||||||
or the given process may not be traced at all.
|
or the given process may not be traced at all.
|
||||||
.TP
|
|
||||||
.SH LIMITATIONS
|
.SH LIMITATIONS
|
||||||
Signals are not ordered. Attaching to a process guarantees that a \fBSIGSTOP\fP
|
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
|
will arrive at the tracer, but it is not guaranteed that this will be the first
|
||||||
|
|
Loading…
Reference in a new issue