[PATCH 3/3] signal: lift sigset size check out of do_sigpending()

2017-08-21 Thread Dmitry V. Levin
As sigsetsize argument of do_sigpending() is not used anywhere else in that function after the check, remove this argument and move the check out of do_sigpending() into rt_sigpending() and its compat analog. Suggested-by: Al Viro Signed-off-by: Dmitry V. Levin

[PATCH 3/3] signal: lift sigset size check out of do_sigpending()

2017-08-21 Thread Dmitry V. Levin
As sigsetsize argument of do_sigpending() is not used anywhere else in that function after the check, remove this argument and move the check out of do_sigpending() into rt_sigpending() and its compat analog. Suggested-by: Al Viro Signed-off-by: Dmitry V. Levin --- kernel/signal.c | 21