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

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

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

Visibility: public

Requested revision: 2a7683933a0304d3cfc051f7299d7d7cbf7c0042

Requested commit: 2a7683933a0304d3cfc051f7299d7d7cbf7c0042

Commit: 2a7683933a0304d3cfc051f7299d7d7cbf7c0042

Tree: c6a5da148621bdbe846c2bcc19132f071cb4ca37

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

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

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