From nobody Sat Sep 05 00:35:28 2026 X-Original-To: dev-commits-src-branches@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 4hcDrc46Ptz6qZSL for ; Sat, 05 Sep 2026 00:35:28 +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 4hcDrc1KGXz4456 for ; Sat, 05 Sep 2026 00:35:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788568528; 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=EXv+wLJbaVW/A64qxPEi0OVIEFpz454dsSA6RaQZd9U=; b=ZZ1IUXL/aH/4d0I0ieDNlwGMDzZGX2UF6XIihr6z85YSKTuKajHEKt/w3EKziZv6p3LZ3Z Nxl4nUn3KWsyGSBWNnEZquEcoCHDNTIJqmemY41211MeTzxXWKNKzbmLJv8vjEVGRrUItQ kfr8ydcO4bYf1H8rXr46N0yGJIRSqHqFwHP6BxBYc7JxueBOGpN73nVpkjisJ3Xj63JlI+ Cfl5cwUQpnYTX6rwITXtEU7tK19dxD5tXG16nQIqYkSLbfJT+w84eqUymBdpV5p2xcp2ab pRXYfV4NkrMzPySw0RPbE5xnvhiAikt1f8iJuOnKVnaqsU+9FiQy2hQ+eLjDCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788568528; a=rsa-sha256; cv=none; b=d85po34kQN8XmO8Z5WQK8XN06fsoAJ0x+JR43630p6pmtx4m+PFdf+9UI0ztjEP/5yXsMg 4QXkCML477g5bhOkevRFWvsZmGtGckod3VAb8xXFxeGvbQlex06aUmOcmxtwCZwsyHm6Xe AQGQ6hNsF/bLcwGk9Aq0T17IGmiBivAzYnnMJgI2HIvUgA1Qvg61MFnzw/fxHiiyw3uVMY gFo4JDQUKqboZ8cRdG17RizS7fd6/w1vxE68Froi5gP/bE1pXB4j2l1U26N3cnjDyeUwe2 iEMPkxgpHn4pjc/ITL2hOZ7hBv0e8HM/PVaHh6W2OQk1lA9MxpmoUx0cKF+7Aw== 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=1788568528; 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=EXv+wLJbaVW/A64qxPEi0OVIEFpz454dsSA6RaQZd9U=; b=RMcLKKE09REFXpjmM8IH9VRZlsg/SSQbLyNC03P7rf6dN3SxIrCScK5ftMc+hXP26gkGxj SS3AxTaz713FK/w+vmXogK52JKgcu6vLaya9HlP8v+S5kJTXDWZMHEl4GMvStQJz8gC2Mx KkTGt0/5WzrFXexlnkTyyPByqI9cNj9orSVP3/cdJZei46QnlxDGQWg5TpeumuEDEL8MG2 e3zFXA3iY44sYs+eYfxaPOcd573YmFy27Tkg7Z3ef0WDzpVMKP0DWPhAXAEcRXLXzSU3OH J4sQIMz3KXr8EPnTvLUzCYKvzLENz67iOev3dQahKFUbiaBfT3Aabiwx0/DMxA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hcDrc0Mkpz7tH for ; Sat, 05 Sep 2026 00:35:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1f6f1 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 05 Sep 2026 00:35:28 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 547bce66c477 - stable/15 - ptrace.2: document PT_GET_ABI_NAME List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 547bce66c47788f76720c3e7fd873a7f6424e3a5 Auto-Submitted: auto-generated Date: Sat, 05 Sep 2026 00:35:28 +0000 Message-Id: <6a9b63d0.1f6f1.46169795@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=547bce66c47788f76720c3e7fd873a7f6424e3a5 commit 547bce66c47788f76720c3e7fd873a7f6424e3a5 Author: Konstantin Belousov AuthorDate: 2026-08-22 23:04:32 +0000 Commit: Konstantin Belousov 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.