The patch titled avoid spurious POLLIN returns in signalfd has been removed from the -mm tree. Its filename was avoid-spurious-pollin-returns-in-signalfd.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: avoid spurious POLLIN returns in signalfd From: Davide Libenzi <davidel@xxxxxxxxxxxxxxx> The new code in kernel/signal.c does not allow fetching private signals from another task. This patch avoid spurious POLLIN returns from a signalfd poll(2) operation. Signed-off-by: Davide Libenzi <davidel@xxxxxxxxxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/signalfd.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN fs/signalfd.c~avoid-spurious-pollin-returns-in-signalfd fs/signalfd.c --- a/fs/signalfd.c~avoid-spurious-pollin-returns-in-signalfd +++ a/fs/signalfd.c @@ -133,7 +133,8 @@ static unsigned int signalfd_poll(struct * the peer disconnects. */ if (signalfd_lock(ctx, &lk)) { - if (next_signal(&lk.tsk->pending, &ctx->sigmask) > 0 || + if ((lk.tsk == current && + next_signal(&lk.tsk->pending, &ctx->sigmask) > 0) || next_signal(&lk.tsk->signal->shared_pending, &ctx->sigmask) > 0) events |= POLLIN; _ Patches currently in -mm which might be from davidel@xxxxxxxxxxxxxxx are origin.patch git-kvm.patch introduce-o_cloexec-take-2.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