# linux.zig: epoll_wait: pass kernel sigset size · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/991560fb499afcbd7717f86edd475338c7d8d2b8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 991560fb499afcbd7717f86edd475338c7d8d2b8

Requested commit: 991560fb499afcbd7717f86edd475338c7d8d2b8

Commit: 991560fb499afcbd7717f86edd475338c7d8d2b8

Tree: 4341a2205e6e96016e343d50167c230a0cd63949

Author: Pat Tullmann

Committer: Alex Rønne Petersen

## Message

```
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

```

## Parents

- [f4e3631655c93ba31b768b7d232a305419c0fe67](https://git.cafe/gitcafe/zig/commit/f4e3631655c93ba31b768b7d232a305419c0fe67?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/991560fb499afcbd7717f86edd475338c7d8d2b8?format=markdown)
