cosmopolitan/libc/calls/struct
Justine Tunney 69f4152f38 Always initialize thread local storage
We had previously not enabled TLS in MODE=tiny in order to keep the
smallest example programs (e.g. life.com) just 16kb in size. But it
was error prone doing that, so now we just always enable it because
this change uses hacks to ensure it won't increase life.com's size.

This change also fixes a bug on NetBSD, where signal handlers would
break thread local storage if SA_SIGINFO was being used. This looks
like it might be a bug in NetBSD, but it's got a simple workaround.
2022-07-19 00:21:46 -07:00
..
bpf.h Improve system calls 2022-07-08 06:42:03 -07:00
dirent.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
filter.h Strengthen the pledge() polyfill 2022-06-27 13:02:17 -07:00
flock.h Make redbean StoreAsset() work better 2021-05-14 05:44:37 -07:00
framebufferfixedscreeninfo.h Initial import 2020-06-15 07:18:57 -07:00
framebuffervirtualscreeninfo.h Initial import 2020-06-15 07:18:57 -07:00
iovec.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
itimerval.h Initial import 2020-06-15 07:18:57 -07:00
metasigaltstack.h Improve memory safety 2021-10-13 17:27:13 -07:00
metastat.internal.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
metatermios.internal.h Apply some touchups 2021-02-07 07:02:46 -08:00
rlimit.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
rusage.h Improve system calls 2022-07-08 06:42:03 -07:00
sched_param.h Improve system calls 2022-07-08 06:42:03 -07:00
seccomp.h Add seccomp bpf sandboxing to redbean 2022-04-18 08:54:42 -07:00
sigaction-freebsd.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction-linux.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction-netbsd.h Add NetBSD support 2021-02-05 06:19:45 -08:00
sigaction-openbsd.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction-xnu.internal.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
sigaction.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
sigaltstack.h Improve memory safety 2021-10-13 17:27:13 -07:00
siginfo-freebsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo-netbsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo-openbsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo-xnu.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
siginfo.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
sigset.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
sigval.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
sockaddr6.h Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
stat.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
stat.macros.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
sysinfo.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
termios.h Fix termios struct on Linux 2021-09-03 22:19:41 -07:00
timespec.h Improve system calls 2022-07-08 06:42:03 -07:00
timespec_gt.c Improve system calls 2022-07-08 06:42:03 -07:00
timeval.h Improve system calls 2022-07-08 06:42:03 -07:00
tms.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
ucontext-freebsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
ucontext-netbsd.internal.h Always initialize thread local storage 2022-07-19 00:21:46 -07:00
ucontext-openbsd.internal.h Improve signals and memory protection 2022-04-12 22:11:00 -07:00
user_regs_struct.h Remove dollars from system call support symbols 2021-02-03 19:35:29 -08:00
utsname.h Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
winsize.h Initial import 2020-06-15 07:18:57 -07:00