From nobody Fri Aug 28 12:05:14 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hWcXD0lXDz6qHRf for ; Fri, 28 Aug 2026 12:05:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hWcXC0rxqz3Bn9 for ; Fri, 28 Aug 2026 12:05:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787918715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yRJYTovtrHyLa67HyJ6xEEAWLyWC9lhBj2DY38PAFHg=; b=QweFu2KVL8LQlmqbmpBue7MeBwG/0t7FsbRE1nrnTTUyjz2KAUKePHIIustL/jAyKpOR/O gOPQACRkbbmeVa2SvvL8aKCGMN8xndMDzaFOwRz751qAD6Rkoks0gfKSDwslZVKnyuub+Z HZu1ehiI08l95c6zx+tWXeUSpa9dOBxHIDQnBicIdN1q7c2/R3XlCPqg3UwYcQLIzcHtap 1Uxm+Livqvg4lNJRBL6jBSdCvEqU/95ugEW89zH02lUfkl/qShm74iZm0M0PlM8RhHTjx2 eq0ObEIcHuGAoRCIslkxTk8tYbWmoqZkxS4I8SlrEO9yCRqtsk6ySKKVOh53ng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787918715; a=rsa-sha256; cv=none; b=JBoJy8RiUJ5hmh85ONGSP+C9d6gObb4fHfNqBitfkf4z3bhVYX0H75nZBIOU73FJ9ruEIp NCUTH7H7ROaF3UrQNmVE2vCASb++OYd94ZJggzsSidl0HxrduPzCRSmDm4qcsfKz/HZ2ac yxqkoA1Jv0moqbBkZZP66e1lPZxb4MhTowJ7B1qX4cGMQdqgHDcXKu6PshluonjxK0aHy4 NVmNg+yFneN+S47CawfWzPVD6rW9CK/D4Qf04GLykA+BjNUEzt5xLkMSSwdfDMH3IqTVIg IXDHujiL98eBnlt0KSjNZcKtO0a/qk+r5e29Jj7ahAiCe2QZpyaxyWMxwCPepA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787918715; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yRJYTovtrHyLa67HyJ6xEEAWLyWC9lhBj2DY38PAFHg=; b=StT0DhxQodzTRFg144eY3a481Z4GO5vdzmeBvAVhafbLJXPt6/MDKGqdoq0CHRbci/VFNT XsX5i4BuLwpwDLqJZzVq20yBF8k+vECvqhX/VVOshP4Bb6fbNKd7/LxtjX27ALwzNN7BnH ddGB2pg5+GJKbiFEDREAEaJhfgLltlKkd7NJee+mDZSn6sSFP38q2hVBsFB/Mg8O5NXe1w iLpnZi/avyX03tYcuEtBjig7JPenjXEp4jIzOv4ey4G8uTXALpspFYMTKh2kng+vGEqkFh halwlU/BsZh50lqWnlSzXCRHSC/Qid/a7ZiR4Ja5igAUKd1MTgvo5yrq1vFp0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hWcXB4zR5z18JJ for ; Fri, 28 Aug 2026 12:05:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 24bd2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 28 Aug 2026 12:05:14 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 3dfd63b58463 - main - ptrace.2: document PT_GET_ABI_NAME List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3dfd63b58463e8982af2e45fc6dc1d5b03a88535 Auto-Submitted: auto-generated Date: Fri, 28 Aug 2026 12:05:14 +0000 Message-Id: <6a91797a.24bd2.24f2a4c@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3dfd63b58463e8982af2e45fc6dc1d5b03a88535 commit 3dfd63b58463e8982af2e45fc6dc1d5b03a88535 Author: Konstantin Belousov AuthorDate: 2026-08-22 23:04:32 +0000 Commit: Konstantin Belousov CommitDate: 2026-08-28 11:53:01 +0000 ptrace.2: document PT_GET_ABI_NAME Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D59113 --- 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.