git: 450e684e0fea - main - rtld: 1-bit for bool is enough
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Nov 2024 05:20:33 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=450e684e0fea2785b5770241f51e897070c86726
commit 450e684e0fea2785b5770241f51e897070c86726
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-31 19:11:02 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
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 }