]> err.no Git - linux-2.6/commit
signalfd: fix for incorrect SI_QUEUE user data reporting
authorDavide Libenzi <davidel@xmailserver.org>
Fri, 11 Apr 2008 04:29:29 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 11 Apr 2008 15:06:44 +0000 (08:06 -0700)
commit0859ab59a8a48d2a96b9d2b7100889bcb6bb5818
treeafaa1f394cdd14c5ac3d3c4b956a6ac440c2c479
parent544451a1a36b06f43fc67112ede3b92e6203eb9d
signalfd: fix for incorrect SI_QUEUE user data reporting

Michael Kerrisk found out that signalfd was not reporting back user data
pushed using sigqueue:

  http://groups.google.com/group/linux.kernel/msg/9397cab8551e3123

The following patch makes signalfd report back the ssi_ptr and ssi_int members
of the signalfd_siginfo structure.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Acked-by: Michael Kerrisk <mtk.manpages@googlemail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/signalfd.c