Date: Tue, 4 May 2021 14:23:16 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 1bffa4416607 - main - ptrace: document ENOMEM Message-ID: <202105041423.144ENGD6080705@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=1bffa441660770a03fb287124c1ac84ec8b8677a commit 1bffa441660770a03fb287124c1ac84ec8b8677a Author: Edward Tomasz Napierala <trasz@FreeBSD.org> AuthorDate: 2021-05-04 14:22:36 +0000 Commit: Edward Tomasz Napierala <trasz@FreeBSD.org> CommitDate: 2021-05-04 14:22:42 +0000 ptrace: document ENOMEM Reviewed By: emaste, markj Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D29960 --- lib/libc/sys/ptrace.2 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 6148e6d333d5..0135db98dc97 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105041423.144ENGD6080705>