From nobody Fri Sep 16 20:25:46 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 4MTlvH1Rmpz4d6m5; Fri, 16 Sep 2022 20:25:47 +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 4MTlvG3g44z3MxT; Fri, 16 Sep 2022 20:25:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663359946; 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=IQrCiTaz8DAuDedqW3OSiZZ8mu67s1YaUlczEMXXoYA=; b=Ny+72FWvF+a/OEGYYkACWcyCJLOAYNZXK5GBKYdnk8L7qPg+POywIJRo3aDU/Koh20RBNh HUSnD1DCK0qTMdj/m+Z+5tejff2F0V4YzYF93ZNdrnWjwBv9xuJSDjG149jltQ75FrcCl6 7YZ6BcffqeD/O6KYqwfM1wE9dj0AamrnfbNzQo3Ij6mUmQqEdYsNZ1J7UJI+NM6ZiHK7ps UgSSidcMPFHqXghKuwc+Dz5VoyugoAn9YmXh9SmIFRzYY+BnnPgOV2V0lU/3DSPoAvOhyb O+9Gz4Y1MiZziSHCKsUoBj3GfOLvbzLZoMwAg1eFXbOP537F02hR8FlNQUM5cQ== 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 4MTlvG2lB0zT8q; Fri, 16 Sep 2022 20:25:46 +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 28GKPktc026514; Fri, 16 Sep 2022 20:25:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28GKPkAj026513; Fri, 16 Sep 2022 20:25:46 GMT (envelope-from git) Date: Fri, 16 Sep 2022 20:25:46 GMT Message-Id: <202209162025.28GKPkAj026513@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: daa85548d5cf - main - 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/main X-Git-Reftype: branch X-Git-Commit: daa85548d5cfc65e4beb7a211a155ae9b9fc41d9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663359946; 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=IQrCiTaz8DAuDedqW3OSiZZ8mu67s1YaUlczEMXXoYA=; b=q6Umh9T7ma4HVNh6+yada/Pv6zOY6EXTQQlm+pfQtXUW7aAlqLm/QQGp8bOpcj9Nc+Zwga 2yvDZmI2RfXC5WEWjpmdZhycKtBmdICa40Cnxs7F26N1W180r1+7Bx0FbUpOjNu9buhime 0Fy03JpASq1hPdK486Yip0ifR2E2mnz8950H4Si2+P9QtQ8GqxV6rEnMUZXgM26bvUXfKt 7vG1MJNckSG/ALNdT7EfF7mzM2UKz2j1nHH/DShXcZeoEJDb2KxNdstwvg12DJcxohmoyt q6+ISlYAicCheLqp/b2IU/c7/U8ZfeyqwNxUsGj5NlQLDP8x4lYn87t2ZXHj3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663359946; a=rsa-sha256; cv=none; b=t7SYPivz6kr+w/8qYxJfiTEcNhpVQQgkvphrbpjmOhXTfXehRxkB453N0CemhJQlCroSnc mdMFtAgas74XcW08bP79InFQFr3bUqkj/5qeg7oLlIUMm837Ibax1hNIja3N9uVi0eRU6u BtjgG8PYMuyiPRULniNY0C45MUIyb9TCIjw05m/HADSeDtd7o3SdU7CKpukRxsDrwGzaR9 Ifwj2Hj48BHkHTsqZlXJFB6ZhtYWuY4oEye0dbTOBLZ0S44zzbsTP3EY+o4FPE54889fsT 8GbbevCS+65KaY2xh1o9mfCs/VfsLavMDyhQUEzjuVAFIyR95WCdPBhY3nFyrg== 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=daa85548d5cfc65e4beb7a211a155ae9b9fc41d9 commit daa85548d5cfc65e4beb7a211a155ae9b9fc41d9 Author: Konstantin Belousov AuthorDate: 2022-09-15 10:16:30 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-16 20:24:18 +0000 rtld: teach LD_SHOW_AUXV about AT_USRSTACK* 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 --- 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 e08ab9f947c7..86515ef416d3 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -6192,6 +6192,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