ptrace: document ENOMEM

Reviewed By:	emaste, markj
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D29960
This commit is contained in:
Edward Tomasz Napierala 2021-05-04 15:22:36 +01:00
parent 023bff7990
commit 1bffa44166
1 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@
.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
.\"
.\" This file is in the public domain.
.Dd April 10, 2021
.Dd May 4, 2021
.Dt PTRACE 2
.Os
.Sh NAME
@ -1211,6 +1211,17 @@ above.
previously returned the last entry of the memory map.
No more entries exist.
.El
.It Bq Er ENOMEM
.Bl -bullet -compact
.It
A
.Dv PT_READ_I,
.Dv PT_READ_D,
.Dv PT_WRITE_I, or
.Dv PT_WRITE_D
request attempted to access an invalid address, or a memory allocation failure
occurred when accessing process memory.
.El
.It Bq Er ENAMETOOLONG
.Bl -bullet -compact
.It