]> git.baikalelectronics.ru Git - kernel.git/commit
signals: eventpoll: do not use sigprocmask()
authorOleg Nesterov <oleg@redhat.com>
Wed, 3 Jul 2013 22:08:14 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:01 +0000 (16:08 -0700)
commit2bab4490bedbf014a34462c4611a40ddd4fdbb99
tree4f1bc204e9bc1da041868cb2a1746eb67c523feb
parent5ecd477e802d4f46d08bb185bcbc9b2f140b3db8
signals: eventpoll: do not use sigprocmask()

sigprocmask() should die. None of the current callers actually
need this strange interface.

Change fs/eventpoll.c to use set_current_blocked(). This also
means we should not worry about SIGKILL/SIGSTOP.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Eric Wong <normalperson@yhbt.net>
Cc: Jason Baron <jbaron@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c