tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: shell trap vs inherited signal dispositions



    Date:        Fri, 2 May 2025 22:56:43 +0300
    From:        Valery Ushakov <uwe%stderr.spb.ru@localhost>
    Message-ID:  <aBUje71Y-2S2CphD%snips.stderr.spb.ru@localhost>

  | "trap -- - HUP" means the disposition for HUP is SIG_DFL,

No it doesn't, it means there's no trap set for SIGHUP.   You get the
same for a whole bunch of other signals that the shell manipulates for
its own internal purposes, even when the signal handler for them is
not SIG_DFL.

kre



Home | Main Index | Thread Index | Old Index