diff options
author | Brian Gerst <brgerst@gmail.com> | 2022-06-06 23:37:59 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-10-19 10:58:49 +0300 |
commit | 9c36e592b3f899c90b9d0d46ae29fcc065051b96 (patch) | |
tree | e7760700e98eace8b537cfa3a3bccf07981fbe24 /arch/x86/include/asm/sighandling.h | |
parent | 695c39bc5b8686a6b27254e60fb830f4989f322d (diff) | |
download | linux-9c36e592b3f899c90b9d0d46ae29fcc065051b96.tar.xz |
x86/signal: Merge get_sigframe()
Adapt the native get_sigframe() function so that the compat signal code
can use it.
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-6-brgerst@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include/asm/sighandling.h')
-rw-r--r-- | arch/x86/include/asm/sighandling.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/sighandling.h b/arch/x86/include/asm/sighandling.h index 65e667279e0f..c9e9784efe38 100644 --- a/arch/x86/include/asm/sighandling.h +++ b/arch/x86/include/asm/sighandling.h @@ -15,4 +15,8 @@ void signal_fault(struct pt_regs *regs, void __user *frame, char *where); +void __user * +get_sigframe(struct ksignal *ksig, struct pt_regs *regs, size_t frame_size, + void __user **fpstate); + #endif /* _ASM_X86_SIGHANDLING_H */ |