zig/lib/std/os/linux
Alex Rønne Petersen 36dbe66cf4
std: stop exposing anything having to do with ucontext_t
This type is useful for two things:

* Doing non-local control flow with ucontext.h functions.
* Inspecting machine state in a signal handler.

The first use case is not one we support; we no longer expose bindings to those
functions in the standard library. They're also deprecated in POSIX and, as a
result, not available in musl.

The second use case is valid, but is very poorly served by the standard library.
As evidenced by my changes to std.debug.cpu_context.signal_context_t, users will
be better served rolling their own ucontext_t and especially mcontext_t types
which fit their specific situation. Further, these types tend to evolve
frequently as architectures evolve, and the standard library has not done a good
job keeping up, or even providing them for all supported targets.
2025-10-10 04:43:18 +02:00
..
bpf linux/bpf: add alignment for helper functions to make compiler happy 2024-11-18 16:19:44 +01:00
aarch64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
arm.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
bpf.zig bpf: use bitCast instead of intCast in ld_imm_impl 2025-09-15 15:24:30 +02:00
hexagon.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
io_uring_sqe.zig io_uring: add setsockopt/getsockopt 2025-03-05 13:35:52 +01:00
ioctl.zig std.Target: Remove sparcel architecture tag. 2024-07-30 06:30:25 +02:00
IoUring.zig implement registering NAPI on IoUring (#24850) 2025-08-16 09:18:49 +02:00
loongarch64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
m68k.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
mips.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
mips64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
powerpc.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
powerpc64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
riscv32.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
riscv64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
s390x.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
seccomp.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
sparc64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
syscalls.zig Linux: Update syscall list for 6.16 2025-08-14 10:22:15 +10:00
test.zig linux: futex v2 API updates 2025-06-18 19:53:50 -07:00
thumb.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
tls.zig zig fmt 2025-07-16 10:27:39 -07:00
vdso.zig std.dynamic_library: update to new elf API 2024-10-12 10:44:17 -07:00
x86.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00
x86_64.zig std: stop exposing anything having to do with ucontext_t 2025-10-10 04:43:18 +02:00