HomeFreeBSD

kern: add a TDA_PSELECT for early restoration of sigmask

Description

kern: add a TDA_PSELECT for early restoration of sigmask

It may be the case that we want to avoid delivering signals that are
normally blocked by the thread's signal mask, in which case the syscall
should schedule this one instead to restore the mask prior to delivery.

This will be used by pselect/ppoll to avoid delivering signals that were
supposed to be blocked after the timeout has elapsed. The name was
chosen as this is the expected behavior of pselect/ppoll, while late
restoration of the mask is exceptional behavior for these specific
calls.

__FreeBSD_version bump as later TDA_* values have changed, third-party
modules that may be using MOD3/MOD4 need to be rebuilt.

Reviewed by: kib
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D47741

Details

Provenance
kevansAuthored on Nov 26 2024, 4:04 AM
Reviewer
kib
Differential Revision
D47741: kern: restore signal mask before ast() for pselect/ppoll
Parents
rG5035db222e8f: amdiommu: Fix device table segment base register offsets
Branches
Unknown
Tags
Unknown