zig/lib/std/os/linux
Bernard Assan 1ae677fda1
Get test passing for all the newly introduced flags
4❯ zig test lib/std/std.zig --zig-lib-dir lib --test-filter "os.linux"
68/116 os.linux.test.test.futex2_wait...SKIP
69/116 os.linux.test.test.futex2_wake...SKIP
70/116 os.linux.test.test.futex2_requeue...SKIP
111/116 os.linux.IoUring.test.waitid...SKIP
116/116 os.linux.IoUring.test.bind/listen/connect...SKIP
111 passed; 5 skipped; 0 failed.

fix skipKernelLessThan fn to work on wsl linux

fix logical error in flags compatibility check

Update all IoUring to use the implemented flags

bandage types that affect posix for now so that the scope
doesn't become unmanageable

TODO: impl linux.SOL and linux.SO types

Signed-off-by: Bernard Assan <mega.alpha100@gmail.com>
2025-12-01 12:15:55 +00:00
..
bpf linux/bpf: add alignment for helper functions to make compiler happy 2024-11-18 16:19:44 +01:00
aarch64.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
arm.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
bpf.zig system specific errno 2025-11-20 15:03:23 -08:00
hexagon.zig Merge pull request #25610 from alexrp/std-os-linux-cleanup 2025-10-17 12:07:51 +02:00
ioctl.zig std.Target: Remove sparcel architecture tag. 2024-07-30 06:30:25 +02:00
IoUring.zig Get test passing for all the newly introduced flags 2025-12-01 12:15:55 +00:00
loongarch64.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
m68k.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
mips.zig std: make all MIPS inline asm safe for MIPS I 2025-10-18 11:16:31 +02:00
mips64.zig std.os.linux: remove syscall7() on mips64/mipsn32 2025-10-18 14:01:41 +02:00
mipsn32.zig std.os.linux: remove syscall7() on mips64/mipsn32 2025-10-18 14:01:41 +02:00
or1k.zig std.os.linux: add or1k arch bits 2025-10-18 22:27:35 +02:00
powerpc.zig std.os.linux: fix restore for powerpc/powerpc64 2025-10-29 20:44:43 +01:00
powerpc64.zig std.os.linux: fix restore for powerpc/powerpc64 2025-10-29 20:44:43 +01:00
riscv32.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
riscv64.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
s390x.zig std.os.linux.s390x: fix restore function 2025-10-29 06:20:52 -07:00
seccomp.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
sparc64.zig Revert "std.os.linux.sparc64: use icc instead of xcc in asm clobbers" 2025-11-23 07:27:45 +01:00
syscalls.zig Linux: Update syscall list for 6.16 2025-08-14 10:22:15 +10:00
test.zig update some syscall APIs to use the new flags 2025-12-01 12:15:54 +00:00
thumb.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00
tls.zig system specific errno 2025-11-20 15:03:23 -08:00
vdso.zig std.dynamic_library: update to new elf API 2024-10-12 10:44:17 -07:00
x32.zig std.os.linux: fix some issues in x32 inline asm 2025-10-18 11:16:31 +02:00
x86.zig std.os.linux.x86: fix signal restore function 2025-10-29 06:20:52 -07:00
x86_64.zig std.os.linux: clean up a bunch of dead consts 2025-10-17 01:20:33 +02:00