Re: [patch v6 17/20] signal: Queue ignored posixtimers on ignore list

From: Thomas Gleixner
Date: Sun Nov 03 2024 - 04:44:48 EST


On Sun, Nov 03 2024 at 00:46, Frederic Weisbecker wrote:
> And what about the other callers of flush_sigqueue_mask()? Such as SIGCONT
> removed when SIGSTOP arrives? And the reverse as well? This moves the pending
> timers signals to the ignore list until the signal is unignored, but in that
> case SIGCONT is not ignored? Or perhaps SIGCONT and SIGSTOP can't be set for
> posix timers?

You can set SIGSTOP/CONT on a posix timer. Whether that makes sense or
not is a different question :)

Even on current mainline the behaviour is pretty much unspecified. Some
combinations "work", some not. I just tried out of morbid curiousity. :)

Thanks,

tglx