From nobody Fri Sep 30 02:04:12 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 4Mdtnm2mhbz4dfDw; Fri, 30 Sep 2022 02:04:12 +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 4Mdtnm29trz3fKx; Fri, 30 Sep 2022 02:04:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664503452; 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=/g3xzmr5tGPo2gYVpWm6LDCjHScDu8X5g9flIrgisiU=; b=GMOf+VeVJplq86O2jWbZucSqwJjkdTwsFuH85TohzEHyzJpFNuvRbr0Eh8kjvBHgSUFVmT 9jHp7OryUNEZS/oeumBLfCVL/gP2Puzkx+F4tTU5FxqNgkAOr83ZuCU0blJroYlBkrXxSh al7EAVm781R+ywAgb3358bedXZT5eNFiIToG9us02ZOKIUzNmETUScRk9ufNhvSoyRievX Mp54oQYHGnRe9910jg4bBscWyV4jp0b8WiVerZ7cjLk1ix3X5boh3CyStM730M2M3EVcU6 voUuiQQ3fvwO1ONSFUfo4jPKTMQzdu8goddAQoRHLk6icw7Z0A62vQzwSYlCHg== 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 4Mdtnm18fKz11RF; Fri, 30 Sep 2022 02:04:12 +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 28U24Cdk099166; Fri, 30 Sep 2022 02:04:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28U24Cpj099165; Fri, 30 Sep 2022 02:04:12 GMT (envelope-from git) Date: Fri, 30 Sep 2022 02:04:12 GMT Message-Id: <202209300204.28U24Cpj099165@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 49246fc249a6 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 49246fc249a62680ebdd3f211fe384d70902728c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664503452; 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=/g3xzmr5tGPo2gYVpWm6LDCjHScDu8X5g9flIrgisiU=; b=j41NlIRqafiaMSrRpTvTbNvJFuHERdJClQTr4y4F+dtdhNHR56Rq2MFSxUWIYTU+Zs6GZu JI52Xpjn4W7VPc+J2oUHGrh9qWKAztkLp4D2IKnoQXkFjdLDaT0XVESxQg3CuUm+P6ZTVn CRFWxzDMSn/09VVG50OIEFsX4UDkRv/s29rUiLLhW8XNL/mQ1ruO9+5dbFceUGiGnxzmxC QIiS5mr4NGrXsemLAqzNjXYO1iNU/21H1SVqSh0dNr0EBg5IWykNI/0IGtTMAHaUrp/0gK hZMy4+IhOybUK9+lsG/XneHQhyoW8VsF18VuDIpP5H6VUiGE8ijY4IIAk/MxfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664503452; a=rsa-sha256; cv=none; b=KX1ssTwj2RFpfXHb/Hg1EcYDAfilMAV5tT9cg4BSkrn3ZPUxH+lWUJcuSqGdSRxUumJ8sE ye//U4YBsa1IF2JgBO/21d1cF5/pGIXgRlJx07sB4cCV0fp78ckrJlsfhkGqdnYHKRwL/h 0nuGSAVYRdPXdaHdENnB8WZoki4SANLN4h7mwZf4X67/dBNAUWJsqSEp4M4SbDESEFr/Os Z17Q5VwZpYlE8fuEwo2sXvIuhJPhgd4QkXbIy0ORtfq7W6B7w07KSkCq0wE1zanMXRBsoK fWgmr1FnRInN0AluXwXwKaIpPQ/PokHK02kkAuGHLijB4Xm82Scdp0oCChPbHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=49246fc249a62680ebdd3f211fe384d70902728c commit 49246fc249a62680ebdd3f211fe384d70902728c Author: Konstantin Belousov AuthorDate: 2022-09-15 10:14:17 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-30 00:29:09 +0000 procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM (cherry picked from commit 1d280f21427f560c696476366cfeb74d93629293) --- 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",