[CRIU] [PATCH 1/4] signalfd: add ability to return siginfo in a raw format

Oleg Nesterov oleg at redhat.com
Tue Dec 25 10:27:16 EST 2012


On 12/25, Oleg Nesterov wrote:
>
> And if we add another format we should think
> twice.

And btw this applies to the whole series.

I guess that probably you actually need DUMP, not DEQUEUE. but the
latter is not trivial. However, perhaps we can do this assuming that
all other threads are sleeping and nobody can do dequeue_signal().
Say, we can play with ppos/llseek. If *ppos is not zero,
signalfd_dequeue() could dump the nth entry from list or return 0.

Oleg.



More information about the CRIU mailing list