HomeFreeBSD

wc: Fix SIGINFO race with casper init.

Description

wc: Fix SIGINFO race with casper init.

If a file is specified then fileargs_init(3) may return [EINTR]. With
the SIGINFO handler not being SA_RESTART this causes an early exit
if a SIGINFO comes in. Rather than checking for [EINTR] or changing the
handler just move it later which resolves the problem.

Details

Provenance
bdreweryAuthored on Feb 18 2024, 6:55 PM
Parents
rGa890a3a5ddf3: net80211: increase number of spares in struct ieee80211_vap
Branches
Unknown
Tags
Unknown