From nobody Thu Nov 14 00:43:05 2024 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 4XphG21G9pz5cntC; Thu, 14 Nov 2024 00:43:06 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XphG16ngzz4qlD; Thu, 14 Nov 2024 00:43:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731544986; 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=g2IT3jjctgc1vm6ge1541ygVQG4FJqYZpNZFuxUavlU=; b=X87elkLAx1mbXBfZTzxxBAyLRZ7gXLu/OR/TvCFgj403G/X4MKSf7Vzcx+fXoWdzdjZwQD T20hZucYREMvSiS6cf60Z5aYnTnrS+rth5H+kzKmJZNhwiv5hF/QrtM67RVU3tonMMNIo7 L7NiM/sDYQWdaFVYX9i4LCKNkn7v3dVynEG9sXvGYFFXJrHA7edyUSfeb1Qe7dT65oKctx no8fIcYbG9CXcav8Kbi8d1P4iUpijAE/BfbdSex5eaGN0iG7lBG+jgHuwNMhzD/92VOZGf a64lRwY7+dkSaziC6iAY0e+efLl8xrpM9JciK5SSIt6O4sKR3C5PwMQniYxy4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731544986; 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=g2IT3jjctgc1vm6ge1541ygVQG4FJqYZpNZFuxUavlU=; b=iOOkLMPd51CPiyTfudekuNF3GDwzTe2zg86rkk7MYHcPxEWKpWSFcBJV4Lbgmr14NXJtkN sQvX/IJU/N45JKYJXdF/R9U52vg4Rz8DFCDw2po4p7iFfs68Fe7M0NCMWVm6F4WxI6Io2/ bhVLMjavlYu/4EAeSZWb/yJdZKH+ymz830feBfiW2z9sxn/+b++xW2z6O3LrIBL80X3pUc 2XwkFMQbKq+D46qQ6b8+cmw1YI/3/J+a2slNrz0U9KmS29m9uIuneAn4mFamXyIe+TJX8w XBaSd2DLISYqHzkYk8Uz3tGNR5gmW55/FFO3KGvU9DdEURx9ixJObRCH6REk9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731544986; a=rsa-sha256; cv=none; b=Kz/OelXxkmlsbPyFO6JOODNTjT8mT683SzpXDjv/8LWa9XAb2AM9Gd/inVFg3nqWivYBYL 7oUZyVpLo6ZsaS7nzyO4EQQOKDC4EqPJO8yQdrx5b0Xk3u4v3f8YVtAVIqAbWRr7A4HdXT eCUcJhf4K/x+5a4J85RPL6wam9Or2zc7/KzWRQyr9zbjCVvZeMEEN1QWisi+Wo51zbOlMZ NNltqzg6KXpRELiTGlUcE7z7bKcTKa9lm6+Unq3JowRpb+kWMCQ1taxYehY9x2C6dyosZI 1ynX1Qv8jzMD5Ta3GzfQ9hrga+MhfQ+Dga/6EUYA0nPjVe0xqD/j8659RXwVuw== 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 4XphG16MlGzHRC; Thu, 14 Nov 2024 00:43:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AE0h51X024304; Thu, 14 Nov 2024 00:43:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AE0h5dM024301; Thu, 14 Nov 2024 00:43:05 GMT (envelope-from git) Date: Thu, 14 Nov 2024 00:43:05 GMT Message-Id: <202411140043.4AE0h5dM024301@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: 8ee3da8e738b - stable/14 - rtld: 1-bit for bool is enough 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/14 X-Git-Reftype: branch X-Git-Commit: 8ee3da8e738beea9f071dc068d99effbe4d3935e Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8ee3da8e738beea9f071dc068d99effbe4d3935e commit 8ee3da8e738beea9f071dc068d99effbe4d3935e Author: Konstantin Belousov AuthorDate: 2024-10-31 19:11:02 +0000 Commit: Konstantin Belousov CommitDate: 2024-11-14 00:42:17 +0000 rtld: 1-bit for bool is enough (cherry picked from commit 450e684e0fea2785b5770241f51e897070c86726) --- libexec/rtld-elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index e7fcfde8f474..9e0c3b92848e 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -347,7 +347,7 @@ ld_utrace_log(int event, void *handle, void *mapbase, size_t mapsize, struct ld_env_var_desc { const char * const n; const char *val; - const bool unsecure; + const bool unsecure:1; }; #define LD_ENV_DESC(var, unsec) \ [LD_##var] = { .n = #var, .unsecure = unsec }