HomeFreeBSD

raidz_test: use only async-signal-safe functions in signal handler

Description

raidz_test: use only async-signal-safe functions in signal handler

execl*() before glibc 2.24 could allocate, but only if called with at
least 1024 arguments, which five isn't

errno modification is also fine, so long as we restore it at the end

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12086

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on May 20 2021, 11:37 PM
GitHub <noreply@github.com>Committed on May 20 2021, 11:37 PM
Parents
rG0b1b66b4735f: Update tmpfile() existence detection
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe72383825bbd: raidz_test: use only async-signal-safe functions in signal handler (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).May 20 2021, 11:37 PM