mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
afea16b8f7
The remainder of the patch series proposed by upstream [2] for the locking synchronization issue [1]. [1] https://www.openwall.com/lists/musl/2020/05/22/3 [2] https://www.openwall.com/lists/musl/2020/05/22/10 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
26 lines
639 B
Diff
26 lines
639 B
Diff
From f12888e9eb9eed60cc266b899dcafecb4752964a Mon Sep 17 00:00:00 2001
|
|
From: Rich Felker <dalias@aerifal.cx>
|
|
Date: Fri, 22 May 2020 17:25:38 -0400
|
|
Subject: [PATCH 3/4] cut down size of some libc struct members
|
|
|
|
these are all flags that can be single-byte values.
|
|
---
|
|
src/internal/libc.h | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/src/internal/libc.h
|
|
+++ b/src/internal/libc.h
|
|
@@ -18,9 +18,9 @@ struct tls_module {
|
|
};
|
|
|
|
struct __libc {
|
|
- int can_do_threads;
|
|
- int threaded;
|
|
- int secure;
|
|
+ char can_do_threads;
|
|
+ char threaded;
|
|
+ char secure;
|
|
int threads_minus_1;
|
|
size_t *auxv;
|
|
struct tls_module *tls_head;
|