From nobody Fri Sep 30 02:04:18 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 4Mdtnv1Z3xz4dfJY; Fri, 30 Sep 2022 02:04:19 +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 4Mdtnv0gTfz3fdk; Fri, 30 Sep 2022 02:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664503459; 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=45gXlfs484SKo/ltdrmjgfSIfI1zbkrS4mHPHl8ppyk=; b=FHOl8DJF2BkHPQKbZy6Wq1WVdgPQHt8cIgBtriWLNuO2imJcuELWHCofZJWk3rt3TzOmFG uNzH4cf+QIgdWqKjyNAwQXtdcw0IDhRLuxsNpBT7Gs0xds23oP207dfisj0mFswTl838t5 jGxl4sTmTaT91iLA0Z1OJAuZEcUtFftpjfJfnaOOI26aMpGlizFoNBlFeEr+9eJtydfdhT Dh1qTaatkQyB1rLEF+SwOC9dCElzx6ndZuwAweC5pZRlVHRnzAXVW8l8Wep6yX+Db7MZ7t oN/FePJLp6B0ltAjyXueIdRoPcUsSIi73Xda+kEZTd0iHZvOqcj+DxugQUtPaw== 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 4Mdtnt6rtvz11RG; Fri, 30 Sep 2022 02:04:18 +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 28U24Iua099321; Fri, 30 Sep 2022 02:04:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28U24IMV099320; Fri, 30 Sep 2022 02:04:18 GMT (envelope-from git) Date: Fri, 30 Sep 2022 02:04:18 GMT Message-Id: <202209300204.28U24IMV099320@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: 5955bc6b69f9 - stable/13 - rtld: teach LD_SHOW_AUXV about AT_USRSTACK* 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: 5955bc6b69f98c080b63540f73261d54deebf20d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664503459; 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=45gXlfs484SKo/ltdrmjgfSIfI1zbkrS4mHPHl8ppyk=; b=TfV+Y4f4uu4VxYTgSHoZwKjKnlFDP+iFqX8l8q4ee2XawalGP3OZrwaFVeMYofkEt83Wxz HEOXubK9c75obJIVMX2YAJdzqDb17Usk9buZLm0KrWbJ8fdY9ruONdialcwSZ0EszVfyZD VyVNVpUreZHQ2KUqJ4BxqvyEMixNo/E5gqOmxfA8X/X+2BqQAe7YXcR0DvHSRkdqc9buU5 i3VcILHJHDFYp0GK20bRjywnf90es0upAP3Rhk+NhgLmxUV8hRcZ4SyWhMGArymXRO0jTc KnNtrEe/PL0TWHphIovqJIhbYRj6UPgsogHh2v1jwh1BmPjDuTv5Qepzk13aTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664503459; a=rsa-sha256; cv=none; b=kxvGPg8HJy5jl5hv6N0TOQReSG4pjAN8K/e/Gl5hu9TrNOodjWntEcaPpVqisPQN3A+/Be ZZTv+PgKF6dCacKEeNOG1yJLUkCYv39p3yD3eKEqzrBjDnsTGZpro8I25Wv+tp3NYboK4d 9PhvyzIRyyZxFSQhSCgfWeuP1gLVWSeGonx1lgb8ZGCsRxzc8FbqCjkK8dvYcUBgKqKfev oNlSuVSCxyTJ5KevW3+eDWekLnPl3cwjRc3PjDQaBDVAyq05kp0nNIlfCa/ZRRhg4Zuz0U PAacwUqcm8YQlk9tcwxU6TtfAyUJVns5iCLNH9loLtZPFkm3K/YnDudqqJhf/Q== 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=5955bc6b69f98c080b63540f73261d54deebf20d commit 5955bc6b69f98c080b63540f73261d54deebf20d Author: Konstantin Belousov AuthorDate: 2022-09-15 10:16:30 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-30 00:29:10 +0000 rtld: teach LD_SHOW_AUXV about AT_USRSTACK* (cherry picked from commit daa85548d5cfc65e4beb7a211a155ae9b9fc41d9) --- libexec/rtld-elf/rtld.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 99a79682971f..ae7dc0ea0417 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -6247,6 +6247,8 @@ static const struct auxfmt { AUXFMT(AT_PS_STRINGS, "%p"), AUXFMT(AT_FXRNG, "%p"), AUXFMT(AT_KPRELOAD, "%p"), + AUXFMT(AT_USRSTACKBASE, "%#lx"), + AUXFMT(AT_USRSTACKLIM, "%#lx"), }; static bool