From: Brian Gerst Date: Mon, 6 Jun 2022 20:37:57 +0000 (-0400) Subject: signal/compat: Remove compat_sigset_t override X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=653714220f88717f239d811222c2dd0e64b181ba;p=linux.git signal/compat: Remove compat_sigset_t override x86 no longer uses compat_sigset_t when CONFIG_COMPAT isn't enabled, so remove the override define. Signed-off-by: Brian Gerst Signed-off-by: Borislav Petkov Acked-by: "Eric W. Biederman" Link: https://lore.kernel.org/r/20220606203802.158958-4-brgerst@gmail.com Signed-off-by: Borislav Petkov --- diff --git a/include/linux/compat.h b/include/linux/compat.h index 594357881b0b3..44b1736c95b5d 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -126,11 +126,9 @@ struct compat_tms { #define _COMPAT_NSIG_WORDS (_COMPAT_NSIG / _COMPAT_NSIG_BPW) -#ifndef compat_sigset_t typedef struct { compat_sigset_word sig[_COMPAT_NSIG_WORDS]; } compat_sigset_t; -#endif int set_compat_user_sigmask(const compat_sigset_t __user *umask, size_t sigsetsize);