diff options
author | Christian Brauner <christian@brauner.io> | 2018-08-21 22:00:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-22 10:52:50 -0700 |
commit | d8f993b3dba05ff354f9b9592afc44b1b3dbfd46 (patch) | |
tree | dbf9793640f23e728b183b1a845f376df558aefb /Documentation/x86 | |
parent | b1d294c80393e7ba18b3c646fe9d8e6a206c7988 (diff) | |
download | linux-d8f993b3dba05ff354f9b9592afc44b1b3dbfd46.tar.gz linux-d8f993b3dba05ff354f9b9592afc44b1b3dbfd46.tar.bz2 linux-d8f993b3dba05ff354f9b9592afc44b1b3dbfd46.zip |
signal: simplify rt_sigaction()
The goto is not needed and does not add any clarity. Simply return
-EINVAL on unexpected sigset_t struct size directly.
Link: http://lkml.kernel.org/r/20180602103653.18181-6-christian@brauner.io
Signed-off-by: Christian Brauner <christian@brauner.io>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
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 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions