git: 547bce66c477 - stable/15 - ptrace.2: document PT_GET_ABI_NAME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Sep 2026 00:35:28 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=547bce66c47788f76720c3e7fd873a7f6424e3a5
commit 547bce66c47788f76720c3e7fd873a7f6424e3a5
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-08-22 23:04:32 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-09-05 00:33:41 +0000
ptrace.2: document PT_GET_ABI_NAME
(cherry picked from commit 3dfd63b58463e8982af2e45fc6dc1d5b03a88535)
---
lib/libsys/ptrace.2 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lib/libsys/ptrace.2 b/lib/libsys/ptrace.2
index c8513c7ba12d..612de4c5fc31 100644
--- a/lib/libsys/ptrace.2
+++ b/lib/libsys/ptrace.2
@@ -1099,6 +1099,17 @@ The child process is exiting or is a zombie.
The child process is currently being debugged by a process other
than its parent process.
.El
+.It Dv PT_GET_ABI_NAME
+Returns the string designating the Application Binary Interface (ABI)
+of the traced process.
+Among other details, the ABI defines the interpretation of system calls
+numbers and arguments.
+.Pp
+The buffer where the name is returned is pointed to by the
+.Fa addr
+argument, the size of the buffer is passed in the
+.Fa data
+argument.
.El
.Sh PT_COREDUMP and PT_SC_REMOTE usage
The process must be stopped before dumping or initiating a remote system call.