From nobody Thu Nov 07 05:20:33 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 4XkVlQ30v1z5cN4H; Thu, 07 Nov 2024 05:20:34 +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 4XkVlQ1vvCz54xH; Thu, 7 Nov 2024 05:20:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730956834; 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=9DikfKERbdF3bd40HtQFKOKD1Ds4I6zoU7xDDqPTBeM=; b=ew4SERktkNndU42F88VqhOqmQ2/U3Vt+KIuTEUAOb4DUpElRDMZE3xN4ApmwKqKUxn+6kK 8Lr6P1SlM4iv+bp0CHzWF1vHq+p1wiu+ks7I+gDYKQfrGJj+tndSdDBcp5BHZQE7yKWkZV PG+GjbBnwgRceN7GBVwTipLyY98Hk9lWNiCnwuh4UQ/1jYLFzzTOIOkv7kBIXMc57vXEn4 QzUKpR+hyAvekXd1rWjSUcPei30xMHw4kD4Qm+cIZnwyKEyTt2bdpEeNArF47jaYW93Ova zz8uLcIihEgtqj5oCdNQao8f+rHiGz9FaRexEgAkjceqJ0WCHHwtQdUiosEU0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730956834; 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=9DikfKERbdF3bd40HtQFKOKD1Ds4I6zoU7xDDqPTBeM=; b=WT4SwDOoHJcuML817DaeXvKeumF7G9WjnExIFg+r02Lk3FwiRPdzvvxLpyDP7bbsWK7aW2 YJXgweouN6CdkZuVKPzYn5BXnHjRBJT8TRIABDwSHf/Z7HayoXXUghiCGEfUfvvC6WL2+1 fyIS4+fPDBT2cBf/KNggSePVp6Wii3QOLR3H1/6wsPZTIf0KhQ18HzF91VpjFap1JgJxc0 SkNYyOapHmRzbJJne61e50APApcCighM2C5tRi5rFgcvus6lLZ0B6CYWDRGRUW0s/7HpNF zuJ0y6ntLcbAtz7vZGdaZyuh2sY5vaMDQeqaIdqQtvwVljSGN4DalWFrxb9seQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730956834; a=rsa-sha256; cv=none; b=tEYns5Ylfioq2uHYj/m5HN6YXJAPlRmBMfNIKi7b1KHtU64QhldMZmalGRnJAlIBb2Amcx aM9TsYoUpyhW2P/uuMoDjSIsWjiXqXDvb6zJshAl/taRJjRGA0KOH+jFNPIe1B6c74cvew rcv6HUx/4SZM+hyWAWe+KloQ2nmBZaQJqEWFE1fISJf/vyXVdCy/fR+E7EtmvjIGptCRFy 0xjngAKLrW0OBco/91CLmUhWlGOF20Cthh/HGba8zT5wNHxAo2S7ZbUNC5/wQ5M1wX0+Ec d5h6PyGE//YOYkDtctKS3JEYYTO/Nosb7IkytuTvoLA2CuLOLj1bg7ubTnQBCQ== 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 4XkVlP6WkWzXhM; Thu, 7 Nov 2024 05:20:33 +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 4A75KXJb014464; Thu, 7 Nov 2024 05:20:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A75KXXn014461; Thu, 7 Nov 2024 05:20:33 GMT (envelope-from git) Date: Thu, 7 Nov 2024 05:20:33 GMT Message-Id: <202411070520.4A75KXXn014461@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: 450e684e0fea - main - 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/main X-Git-Reftype: branch X-Git-Commit: 450e684e0fea2785b5770241f51e897070c86726 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=450e684e0fea2785b5770241f51e897070c86726 commit 450e684e0fea2785b5770241f51e897070c86726 Author: Konstantin Belousov AuthorDate: 2024-10-31 19:11:02 +0000 Commit: Konstantin Belousov CommitDate: 2024-11-07 05:14:38 +0000 rtld: 1-bit for bool is enough Reviewed by: brooks Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D47351 --- 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 a8db1198a899..c670ec7f0009 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -346,7 +346,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 }