Skip to content

Add signalfd to rustix::event - #1760

Open
Ignalina wants to merge 1 commit into
bytecodealliance:mainfrom
Ignalina:signalfd
Open

Ignalina wants to merge 1 commit into
bytecodealliance:mainfrom
Ignalina:signalfd

Conversation

@Ignalina

@Ignalina Ignalina commented Dec 2, 2026

Copy link
Copy Markdown

Fixes #1003.

  • signalfd(mask, flags) creates the descriptor; signalfd_set_mask(fd, mask) replaces its mask.
  • The mask type is the existing KernelSigSet, now also enabled by the event feature.
  • Both backends call signalfd4 directly, so libc's larger sigset_t is not needed.
  • Linux only, with a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add signalfd support

1 participant