From nobody Fri Sep 16 20:25:39 2022 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 4MTlv76qmnz4d6rc; Fri, 16 Sep 2022 20:25:39 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MTlv74W5yz3MPk; Fri, 16 Sep 2022 20:25:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663359939; 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=7HGrFaPED6ZdKib9/jZGX2Pe/9MB0pyYKkFyc33id8U=; b=GLnWfZ+fUsZyVST1kRDMcIhyMMOZ+vfeCpthZ4g1Or8//lVyPhz2uGbpTbh0JlwVfq6J8+ W2auHYLh59j0Qmtf0cTxwFWuF30sDpTNDomZdPc1XfngggyfASh2PhG1XPTDs+ZafSLJeW uKKnR2h8tKszfBeXZoK3CBDgW+nWVrO1Rw2wicd5rwDYmjRXH6UP9p0s8PLBFiscHL5UwZ OiblaRbsqaK/wQon8CQ/T24f3jVu9YrySgD8yU87kF5Z8L1l/kIBy0MAIKsY64fVcPRnmc KbURHzCS15BWU+PlPxwhSXlIYCUvQcfJHJ8KNAYPB6ZQIfKNdNe/jQLD1Q7IBQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MTlv73dCRzTF3; Fri, 16 Sep 2022 20:25:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28GKPdkZ026341; Fri, 16 Sep 2022 20:25:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28GKPdlM026340; Fri, 16 Sep 2022 20:25:39 GMT (envelope-from git) Date: Fri, 16 Sep 2022 20:25:39 GMT Message-Id: <202209162025.28GKPdlM026340@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 1d280f21427f - main - procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org 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: 1d280f21427f560c696476366cfeb74d93629293 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663359939; 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=7HGrFaPED6ZdKib9/jZGX2Pe/9MB0pyYKkFyc33id8U=; b=JlT2keeTG8UcDZpUiWbedI14OWsEENggvN1ycW9ltw2UCAWcoA92Vd8xUI82uyEQyKfG82 E14170er4CaILUoiOnvEyOsRLoHXq7ZJCfsijQ8RQDW7uzTGgq2wsCPlN8oOZUX9ZfmjeD qDYjoZa1+0h0qg6UtK6u+GNx09fli+JPM5ZGggVsQhw60LGnwybHCDPA+tseKuZIdjnX1Q VqwzUFfMqhd42pAKfthqB82pfYwvqHKvmllQ9o+Ag53dNgB4ggDpvCFxrwsQ8tpA8Yx4xY Xw5Gujn6Hz0zMlCwQUvLxBgQ0UkDukK3Zr2wejSyPBTpeKuX2qhRjFWVNKVwUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663359939; a=rsa-sha256; cv=none; b=gkEZvG5msAp65DbCYaQriYAWWqQonD3AhWKo8wSxsUUTaDd+PjWHkMwkRFoRS7xljmhBqd BOC20LdHtv+bxnRvQOJ0vU90v0IVoKnvYy3LurU1lCfSlZQvAPsE/dI2fhhJYmJx3qNa+V C8C/K9LrhUnXawQxr0AkK8TYEw1k6e9GZDgg9uArMhArBjm47QlkpsuwX7Mb1Ue7tzg7+3 ZhhRfP6VNv4dDtAV4R3NaRK1SNC+/EeFUrLtzy94wG03JzYk59SC6AXQ2RgeQUlNKkAj/0 w950UreG2ToKFhaygMky2IHWPqvut30DsJk1qc9SPLeSu6hUaaNxxid27kPLEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1d280f21427f560c696476366cfeb74d93629293 commit 1d280f21427f560c696476366cfeb74d93629293 Author: Konstantin Belousov AuthorDate: 2022-09-15 10:14:17 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-16 20:23:38 +0000 procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM Reviewed by: brooks, imp (previous version) Discussed with: markj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D36540 --- usr.bin/procstat/procstat_auxv.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr.bin/procstat/procstat_auxv.c b/usr.bin/procstat/procstat_auxv.c index d62ed6028569..d58faf9777c4 100644 --- a/usr.bin/procstat/procstat_auxv.c +++ b/usr.bin/procstat/procstat_auxv.c @@ -245,6 +245,20 @@ procstat_auxv(struct procstat *procstat, struct kinfo_proc *kipp) xo_emit("{dw:/%s}{Lw:/%-16s/%s}{:AT_KPRELOAD/%p}\n", prefix, "AT_KPRELOAD", auxv[i].a_un.a_ptr); break; +#endif +#ifdef AT_USRSTACKBASE + case AT_USRSTACKBASE: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}" + "{:AT_USRSTACKBASE/%#lx}\n", + prefix, "AT_USRSTACKBASE", auxv[i].a_un.a_val); + break; +#endif +#ifdef AT_USRSTACKLIM + case AT_USRSTACKLIM: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}" + "{:AT_USRSTACKLIM/%#lx}\n", + prefix, "AT_USRSTACKLIM", auxv[i].a_un.a_val); + break; #endif default: xo_emit("{dw:/%s}{Lw:/%16ld/%ld}{:UNKNOWN/%#lx}\n",