zig/std/os
Andrew Kelley 1d2fc446bd
cap getdents length argument to INT_MAX
the linux syscall treats this argument as having type int, so passing
extremely long buffer sizes would be misinterpreted by the kernel.
since "short reads" are always acceptable, just cap it down.

patch based on musl commit 3d178a7e2b75066593fbd5705742c5808395d90d
2019-07-08 17:52:28 -04:00
..
bits std: Make linux MAP_ definitions match kernel 2019-07-07 14:31:27 +10:00
linux different array literal syntax when inferring the size 2019-06-09 19:26:32 -04:00
windows added segfault handler support for windows 2019-07-03 14:02:48 -04:00
bits.zig run zig fmt to update use to usingnamespace 2019-05-29 19:09:58 -04:00
darwin.zig run zig fmt to update use to usingnamespace 2019-05-29 19:09:58 -04:00
freebsd.zig run zig fmt to update use to usingnamespace 2019-05-29 19:09:58 -04:00
linux.zig cap getdents length argument to INT_MAX 2019-07-08 17:52:28 -04:00
netbsd.zig run zig fmt to update use to usingnamespace 2019-05-29 19:09:58 -04:00
test.zig Move dl_iterate_phdr to os.zig 2019-05-31 11:59:53 +02:00
uefi.zig Add sigaltstack wrapper in os.zig 2019-05-29 22:38:14 +02:00
wasi.zig run zig fmt to update use to usingnamespace 2019-05-29 19:09:58 -04:00
windows.zig add std.os.windows.subsystem 2019-07-05 14:08:56 -04:00
zen.zig run zig fmt to update use to usingnamespace 2019-05-29 19:09:58 -04:00