mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
Everybody gets what they want! * AT_RANDOM is completely ignored. * On Linux, MADV_WIPEONFORK is used to provide fork safety. * On pthread systems, `pthread_atfork` is used to provide fork safety. * For systems that do not have the capability to provide fork safety, the implementation falls back to calling getrandom() every time. * If madvise is unavailable or returns an error, or pthread_atfork fails for whatever reason, it falls back to calling getrandom() every time. * Applications may choose to opt-out of fork safety. * Applications may choose to opt-in to unconditionally calling getrandom() for every call to std.crypto.random.fillFn. * Added `std.meta.globalOption`. * Added `std.os.madvise` and related bits. * Bumped up the size of the main thread TLS buffer. See the comment there for justification. * Simpler hot path in TLS initialization. |
||
|---|---|---|
| .. | ||
| bpf | ||
| arm-eabi.zig | ||
| arm64.zig | ||
| bpf.zig | ||
| i386.zig | ||
| io_uring.zig | ||
| mips.zig | ||
| powerpc64.zig | ||
| riscv64.zig | ||
| sparc64.zig | ||
| start_pie.zig | ||
| test.zig | ||
| tls.zig | ||
| vdso.zig | ||
| x86_64.zig | ||