HomeFreeBSD

timeout(1): Fix the inheritance of signal dispositions

Description

timeout(1): Fix the inheritance of signal dispositions

POSIX.1-2024 requires that the child process inherit the same signal
dispositions as the timeout(1) utility inherited, except for the signal
to be sent upon timeout.

For example, when timeout(1) is run by nohup(1), the command should be
protected from SIGHUP.

Obtained-from: DragonFly BSD

Details

Provenance
aly_aaronly.meAuthored on Apr 3 2025, 1:07 AM
baptCommitted on Apr 16 2025, 7:45 PM
Parents
rG8e1d9fe06621: timeout(1): Improve to show more verbose log messages
Branches
Unknown
Tags
Unknown