The patch titled signalfd: fix for incorrect SI_QUEUE user data reporting has been removed from the -mm tree. Its filename was signalfd-fix-for-incorrect-si_queue-user-data-reporting.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: signalfd: fix for incorrect SI_QUEUE user data reporting From: Davide Libenzi <davidel@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> Acked-by: Michael Kerrisk <mtk.manpages@xxxxxxxxxxxxxx> Cc: <stable@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/signalfd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -puN fs/signalfd.c~signalfd-fix-for-incorrect-si_queue-user-data-reporting fs/signalfd.c --- a/fs/signalfd.c~signalfd-fix-for-incorrect-si_queue-user-data-reporting +++ a/fs/signalfd.c @@ -111,9 +111,14 @@ static int signalfd_copyinfo(struct sign err |= __put_user(kinfo->si_uid, &uinfo->ssi_uid); err |= __put_user((long) kinfo->si_ptr, &uinfo->ssi_ptr); break; - default: /* this is just in case for now ... */ + default: + /* + * This case catches also the signals queued by sigqueue(). + */ err |= __put_user(kinfo->si_pid, &uinfo->ssi_pid); err |= __put_user(kinfo->si_uid, &uinfo->ssi_uid); + err |= __put_user((long) kinfo->si_ptr, &uinfo->ssi_ptr); + err |= __put_user(kinfo->si_int, &uinfo->ssi_int); break; } _ Patches currently in -mm which might be from davidel@xxxxxxxxxxxxxxx are epoll-avoid-kmemcheck-warning.patch fs-timerfdc-should-include-linux-syscallsh.patch signals-send_signal-be-paranoid-about-signalfd_notify.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html