diff options
author | Christian Brauner <christian@brauner.io> | 2018-08-21 22:00:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-22 10:52:50 -0700 |
commit | b1d294c80393e7ba18b3c646fe9d8e6a206c7988 (patch) | |
tree | 5a7c10536e092f2d259ccefe9ae2495beb659185 /tools | |
parent | 6527de953354e550bf6d941fdcd1aaf832317e8d (diff) | |
download | linux-b1d294c80393e7ba18b3c646fe9d8e6a206c7988.tar.gz linux-b1d294c80393e7ba18b3c646fe9d8e6a206c7988.tar.bz2 linux-b1d294c80393e7ba18b3c646fe9d8e6a206c7988.zip |
signal: make do_sigpending() void
do_sigpending() returned 0 unconditionally so it doesn't make sense to
have it return at all. This allows us to simplify a bunch of syscall
callers.
Link: http://lkml.kernel.org/r/20180602103653.18181-5-christian@brauner.io
Signed-off-by: Christian Brauner <christian@brauner.io>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Morris <james.morris@microsoft.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions