[CRIU] [PATCH 0/3] signalfd: a kernel interface for dumping/restoring pending signals

Andrey Vagin avagin at openvz.org
Thu Nov 29 11:51:48 EST 2012


signalfd is used for getting and sending siginfo-s.

This patch set adds ability to get siginfo-s without removing them from
the signal queue and send it back by writing in a signalfd descriptor.

Andrey Vagin (3):
  signal: add helper to get siginfo without removing from the queue
  signalfd: add ability to get signal without removing from the queue
  signalfd: add ability to send any siginfo to itself

 fs/signalfd.c                 | 84 +++++++++++++++++++++++++++++++++++++++----
 include/linux/sched.h         |  2 ++
 include/uapi/linux/signalfd.h |  2 ++
 kernel/signal.c               | 27 ++++++++++++++
 4 files changed, 109 insertions(+), 6 deletions(-)

-- 
1.7.11.7



More information about the CRIU mailing list