diff options
author | Brian Gerst <brgerst@gmail.com> | 2022-06-06 23:37:56 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-10-19 10:58:48 +0300 |
commit | f544822ea587ce08932640d5ba3978261148cbc7 (patch) | |
tree | 50958f4eac71b53b952c6b57c7b7ddf04c05f0ef /arch/x86/include/asm/fpu | |
parent | 8bb2d28e2b92ef220e82369ff31a22f39831cf2f (diff) | |
download | linux-f544822ea587ce08932640d5ba3978261148cbc7.tar.xz |
x86/signal: Remove sigset_t parameter from frame setup functions
Push down the call to sigmask_to_save() into the frame setup functions.
Thus, remove the use of compat_sigset_t outside of the compat code.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20220606203802.158958-3-brgerst@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include/asm/fpu')
-rw-r--r-- | arch/x86/include/asm/fpu/signal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/fpu/signal.h b/arch/x86/include/asm/fpu/signal.h index 08826ad0254d..2f255aca5622 100644 --- a/arch/x86/include/asm/fpu/signal.h +++ b/arch/x86/include/asm/fpu/signal.h @@ -14,10 +14,8 @@ # include <uapi/asm/sigcontext.h> # include <asm/user32.h> struct ksignal; -int ia32_setup_rt_frame(struct ksignal *ksig, - compat_sigset_t *set, struct pt_regs *regs); -int ia32_setup_frame(struct ksignal *ksig, - compat_sigset_t *set, struct pt_regs *regs); +int ia32_setup_rt_frame(struct ksignal *ksig, struct pt_regs *regs); +int ia32_setup_frame(struct ksignal *ksig, struct pt_regs *regs); #else # define user_i387_ia32_struct user_i387_struct # define user32_fxsr_struct user_fxsr_struct |