Message ID | aa87cc0d8d8027d7150e101133ca74457ce62256.1478559566.git.mirq-linux@rere.qmqm.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/signalfd.c b/fs/signalfd.c index 270221f..b7eff4a 100644 --- a/fs/signalfd.c +++ b/fs/signalfd.c @@ -68,7 +68,7 @@ static unsigned int signalfd_poll(struct file *file, poll_table *wait) if (next_signal(¤t->pending, &ctx->sigmask) || next_signal(¤t->signal->shared_pending, &ctx->sigmask)) - events |= POLLIN; + events |= POLLIN | POLLRDNORM; spin_unlock_irq(¤t->sighand->siglock); return events;
poll(2) suggests this should be equivalent to POLLIN. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> --- fs/signalfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)