0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std
Pat Tullmann 991560fb49 linux.zig: epoll_wait: pass kernel sigset size
Linux kernel syscalls expect to be given the number of bits of sigset that
they're built for, not the full 1024-bit sigsets that glibc supports.

I audited the other syscalls in here that use `sigset_t` and they're all
using `NSIG / 8`.

Fixes #12715
History 2025-04-09 16:37:58 +02:00
..
Build Merge pull request #23501 from imreallybadatnames/master 2025-04-09 05:16:36 +00:00
c std.c.darwin.CPUFAMILY: Add ARM_TAHITI and ARM_TUPAI. 2025-04-03 02:41:44 +02:00
compress std.compress.zstd: ensure window size fits into usize 2025-03-31 17:22:44 +11:00
crypto crypto.ecdsa: fix EcdsaP384Sha3_384 constant name (#23403) 2025-03-29 14:52:34 +00:00
debug stdlib: handle EEXIST in mmap with FIXED_NOREPLACE. Fixes #21475 2025-02-24 04:36:14 -05:00
dwarf Dwarf: remove redundant debug info 2024-12-19 17:10:03 -05:00
fmt std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
fs lib/std/posix: test ftruncate via std.fs.File.setEndPos() 2025-03-26 02:57:23 +01:00
hash Add rapidhash (#22085) 2025-02-22 14:32:48 -08:00
heap de-genericify SinglyLinkedList 2025-04-03 14:55:04 -07:00
http std.DoublyLinkedList: remove length tracking 2025-04-03 15:57:35 -07:00
io lib/std: PermissionDenied/AccessDenied cleanup and fallout 2025-03-24 16:20:45 +01:00
json std.mem.bytesAsSlice: fix to support zero-bytes sized types 2025-03-24 22:08:05 +01:00
math pow: fix typo 0 instead of inf 2025-04-05 21:20:10 +02:00
mem Allocator.create: properly handle alignment for zero-sized types (#21864) 2025-03-26 15:31:57 +00:00
meta all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
net std.net: Implement if_nametoindex for windows (#22555) 2025-04-04 11:40:44 +00:00
os linux.zig: epoll_wait: pass kernel sigset size 2025-04-09 16:37:58 +02:00
posix std: Disable usage of fstat() and friends on loongarch. 2025-04-07 16:03:22 +02:00
process support more process creation options on Windows 2025-03-25 23:48:27 +01:00
Random add std.testing.random_seed 2024-07-23 11:43:12 -07:00
sort compiler,lib,test,langref: migrate @setCold to @branchHint 2024-08-27 00:44:35 +01:00
tar Remove old deprecated symbols in std (#21584) 2024-10-04 13:50:25 -07:00
Target std.Target: Update CPU models/features for LLVM 20. 2025-04-04 06:08:09 +02:00
testing std.testing.FailingAllocator: flatten namespace 2025-02-06 14:23:23 -08:00
Thread de-genericify SinglyLinkedList 2025-04-03 14:55:04 -07:00
time std.time.epoch: change getDaysInMonth to accept the year as an argument 2025-03-08 14:25:28 -05:00
tz Support legacy TZ format, expose header struct to a potential writer 2022-01-01 12:47:08 +00:00
unicode all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
valgrind std.valgrind: Fix some compile errors. 2024-11-04 10:56:32 +01:00
zig std: add nvidia as a known arm implementer 2025-04-09 10:14:42 +02:00
zip std.zip: Add ZIP64 support for local file header extra field 2025-01-17 22:55:55 +01:00
zon std.zon.parse: Fix typo in test "std.zon parse bool" 2025-04-09 14:43:12 +02:00
array_hash_map.zig std.meta.FieldType -> @FieldType 2025-03-27 03:49:38 +00:00
array_list.zig std/containers: improve consistency using gpa parameter name for allocator. 2025-03-09 07:39:20 +01:00
ascii.zig Updated ascii.zig's isWhitespace function to use switch instead of for loop. (#22094) 2024-11-29 12:26:23 -08:00
atomic.zig std.atomic: make cache_line const a comptime_int 2025-02-22 03:48:09 +01:00
base64.zig docs(std.base64): Add references to RFC 4648 2025-03-24 11:42:28 +00:00
bit_set.zig std: add bit_set.findLastSet() (#22411) 2025-03-24 16:12:23 +01:00
BitStack.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
bounded_array.zig std.BoundedArray: popOrNull() -> pop() [v2] (#22723) 2025-02-09 11:46:15 +00:00
buf_map.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
buf_set.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
Build.zig Revert "Merge pull request #22898 from kristoff-it/deprecated-proposal" 2025-02-28 01:37:10 -08:00
builtin.zig compiler: Support more GCC code models and fix the mapping to LLVM code models. 2025-03-19 03:15:16 +01:00
c.zig std.os.linux: use heap.pageSize() instead of MMAP2_UNIT 2025-04-07 13:37:01 +02:00
coff.zig std.{coff,elf}: Remove the {MachineType,EM}.toTargetCpuArch() functions. 2024-08-23 19:56:24 +02:00
compress.zig fix typo of anytype to type 2025-02-05 13:58:15 +01:00
crypto.zig Merge pull request #19976 from clickingbuttons/asn1 2025-02-22 20:21:09 -05:00
debug.zig std.os.uefi.protocol: ziggify function signatures (#23214) 2025-04-01 10:47:51 +00:00
DoublyLinkedList.zig std.DoublyLinkedList: remove length tracking 2025-04-03 15:57:35 -07:00
dwarf.zig Dwarf: cleanup emitted debug info 2024-08-22 08:44:08 +02:00
dynamic_library.zig std.DynLib: fix proper type of chain_ptr on GnuHashSection32 2025-03-03 20:01:05 +01:00
elf.zig std.DynLib: add support for DT_GNU_HASH sections in elf files 2025-02-22 17:33:49 -05:00
enums.zig std.enums.tagName: preserve sentinel in return value 2025-03-06 08:41:51 +01:00
fifo.zig runtime page size detection 2025-02-06 14:23:23 -08:00
fmt.zig fix(std/fmt.zig): fix overflow in fmtDurationSigned 2025-03-24 11:40:19 +00:00
fs.zig std: Add support for SerenityOS in various places 2025-03-11 14:59:42 +00:00
gpu.zig spirv: lower more types in assembler 2025-03-17 21:56:17 +03:30
hash.zig Add rapidhash (#22085) 2025-02-22 14:32:48 -08:00
hash_map.zig std.hash_map: placeholder for doc comments 2025-02-06 14:23:23 -08:00
heap.zig Allocator.create: properly handle alignment for zero-sized types (#21864) 2025-03-26 15:31:57 +00:00
http.zig add std.http.WebSocket 2024-08-07 00:48:32 -07:00
io.zig all: update to std.builtin.Type.{Pointer,Array,StructField} field renames 2025-01-16 12:49:58 +00:00
json.zig Delete compile errors for deprecated decls 2024-05-03 13:27:30 -07:00
leb128.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
log.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
macho.zig remove hard tabs from source code 2024-07-31 16:57:42 -07:00
math.zig std.math: Add least common multiple (lcm) 2025-03-24 16:07:40 +01:00
mem.zig std.mem.bytesAsSlice: fix to support zero-bytes sized types 2025-03-24 22:08:05 +01:00
meta.zig deprecate O(n) union field type helpers in std.meta 2025-03-24 11:13:58 +00:00
multi_array_list.zig Add quota for comptime sort, add test 2025-03-31 17:47:46 +02:00
net.zig std.net: Implement if_nametoindex for windows (#22555) 2025-04-04 11:40:44 +00:00
once.zig compiler,lib,test,langref: migrate @setCold to @branchHint 2024-08-27 00:44:35 +01:00
os.zig std: Remove some FreeBSD version checks and resulting dead code. 2025-04-06 08:05:04 +02:00
pdb.zig std.pdb: obey naming conventions 2024-08-29 23:43:52 +01:00
posix.zig Merge pull request #23478 from alexrp/bsd-versions 2025-04-08 18:27:39 +02:00
priority_dequeue.zig add std.testing.random_seed 2024-07-23 11:43:12 -07:00
priority_queue.zig std.priority_queue: add useful functions from ArrayList API 2025-02-01 19:02:39 +01:00
process.zig std.process: Fix getBaseAddress() to handle all Darwin OSs. 2025-03-26 20:39:07 +01:00
Progress.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
Random.zig Allocator/Random: document that comparing ptr may result in illegal behavior 2025-02-03 17:07:28 -08:00
RingBuffer.zig std.RingBuffer: use sliceAt/sliceFirst in read*AssumeLength 2024-03-10 18:17:23 +11:00
segmented_list.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
SemanticVersion.zig compiler: remove anonymous struct types, unify all tuples 2024-10-31 20:42:53 +00:00
simd.zig x86_64: implement switch jump tables 2025-01-16 20:42:08 -05:00
SinglyLinkedList.zig de-genericify SinglyLinkedList 2025-04-03 14:55:04 -07:00
sort.zig std.equalRange: Compute lower and upper bounds simultaneously 2024-09-23 13:03:06 -07:00
start.zig start: Reduce stack alignment for hexagon. 2025-04-07 13:09:10 +02:00
static_string_map.zig std.static_string_map: Cast length of input for runtime initialization 2024-06-20 23:22:39 +00:00
std.zig de-genericify DoublyLinkedList 2025-04-03 15:35:21 -07:00
tar.zig Remove old deprecated symbols in std (#21584) 2024-10-04 13:50:25 -07:00
Target.zig std.Target: Bump minimum Dragonfly BSD version to 6.0.0. 2025-04-06 08:05:07 +02:00
testing.zig std.testing: improve compile error on untagged union equality 2025-02-16 15:51:40 +01:00
Thread.zig std: Add support for SerenityOS in various places 2025-03-11 14:59:42 +00:00
time.zig std.time: Make Instant.since() work on UEFI 2025-03-02 23:16:34 +00:00
treap.zig Condense and extend std.Treap's traversal functionalities. (#20002) 2024-07-28 19:47:55 -07:00
tz.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
unicode.zig std: update eval branch quotas after bdbc485 2024-08-21 01:30:46 +01:00
Uri.zig std.http.Client: always omit port when it matches default 2024-04-12 22:37:07 -07:00
valgrind.zig std.valgrind: Port doClientRequest() to all archs supported by Valgrind. 2024-11-04 12:39:48 +01:00
wasm.zig wasm linker: implement @tagName for sparse enums 2025-01-15 15:11:36 -08:00
zig.zig Merge pull request #23501 from imreallybadatnames/master 2025-04-09 05:16:36 +00:00
zip.zig runtime page size detection 2025-02-06 14:23:23 -08:00
zon.zig compiler,std: implement ZON support 2025-02-03 09:14:37 +00:00