summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/sighandling.h
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2022-06-06 23:37:59 +0300
committerBorislav Petkov <bp@suse.de>2022-10-19 10:58:49 +0300
commit9c36e592b3f899c90b9d0d46ae29fcc065051b96 (patch)
treee7760700e98eace8b537cfa3a3bccf07981fbe24 /arch/x86/include/asm/sighandling.h
parent695c39bc5b8686a6b27254e60fb830f4989f322d (diff)
downloadlinux-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.h4
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 */