zig/lib/std/os/linux
mlugg a12ce28224
std: fix os.linux.x86.syscall6
It was possible for `arg6` to be passed as an operand relative to esp.
In that case, the `push` at the top clobbered esp and hence made the
reference to arg6 invalid. This was manifesting in this branch as broken
stack traces on x86-linux due to an `mmap2` syscall accidentally passing
the page offset as non-zero!

This commit fixes a bug introduced in cb0e6d8aa.
2025-09-30 13:44:53 +01:00
..
bpf linux/bpf: add alignment for helper functions to make compiler happy 2024-11-18 16:19:44 +01:00
aarch64.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
arm.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
bpf.zig bpf: use bitCast instead of intCast in ld_imm_impl 2025-09-15 15:24:30 +02:00
hexagon.zig std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv 2025-09-28 18:24:04 +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.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv 2025-09-28 18:24:04 +02:00
m68k.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
mips.zig std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv 2025-09-28 18:24:04 +02:00
mips64.zig std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv 2025-09-28 18:24:04 +02:00
powerpc.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
powerpc64.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
riscv32.zig std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv 2025-09-28 18:24:04 +02:00
riscv64.zig std.os.linux: delete restore and restore_rt for hexagon, loongarch, mips, riscv 2025-09-28 18:24:04 +02:00
s390x.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00
seccomp.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
sparc64.zig zig fmt 2025-07-16 10:27:39 -07: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: fix os.linux.x86.syscall6 2025-09-30 13:44:53 +01:00
x86_64.zig Don't specify clobbers in restore_rt 2025-09-23 21:03:28 -07:00