zig/lib/std/os
Alex Rønne Petersen da018f9726
std.os.linux: Add unwinding protection in clone() implementations.
Whatever was in the frame pointer register prior to clone() will no longer be
valid in the child process, so zero it to protect FP-based unwinders. Similarly,
mark the link register as undefined to protect DWARF-based unwinders.

This is only zeroing the frame pointer(s) on Arm/Thumb because of an LLVM
assembler bug: https://github.com/llvm/llvm-project/issues/115891
2024-12-11 00:10:17 +01:00
..
linux std.os.linux: Add unwinding protection in clone() implementations. 2024-12-11 00:10:17 +01:00
plan9 extract std.posix from std.os 2024-03-19 11:45:09 -07:00
uefi uefi: erroneous alignment check in pool_allocator 2024-09-24 13:30:53 -07:00
windows std.os.windows: Deprecate WINAPI in favor of CallingConvention.winapi. 2024-11-02 10:44:18 +01:00
emscripten.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
linux.zig std.os.linux: Fix fadvise64 syscall selection for n32/x32. 2024-12-01 02:23:55 +01:00
plan9.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
uefi.zig std.os.uefi: Fix calling convention build error 2024-10-25 10:45:55 +02:00
wasi.zig Copy in WASI rights_t documentation 2024-10-06 09:44:52 +01:00
windows.zig std.os.windows: Map PIPE_NOT_AVAILABLE from OpenFile() to error.NoDevice (#21938) 2024-11-27 22:33:29 +01:00