mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-01 12:45:56 +00:00
FreeBSD 11's kern_sigaction (sys/kern/kern_sig.c) calls sigqueue_delete_proc, which drops the signal from the process queue and from every thread's queue, whenever the new handler is SIG_IGN, or SIG_DFL on a signal whose sigprop has SA_IGNORE (SIGURG, SIGCONT, SIGCHLD, SIGIO, SIGWINCH, SIGINFO). It does so whether or not the signal is blocked. sigaction and signal now take the signal off the pending set in those cases, so a later unblock or wait never sees it.