aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/i386/exec_machdep.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-01-14 01:16:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-01-14 01:16:50 +0000
commitefdb03e9a9acf5d4fc12aad2505ea0b5099cb061 (patch)
treeeac3f0683c4f98a8a4e9fa8c136d317ea0349d99 /sys/i386/i386/exec_machdep.c
parent71ec998a1c94ebf65d11e755c9e89fa65c3610fd (diff)
downloadsrc-efdb03e9a9acf5d4fc12aad2505ea0b5099cb061.tar.gz
src-efdb03e9a9acf5d4fc12aad2505ea0b5099cb061.zip
Rename struct sigframe4 to struct freebsd4_sigframe.
Reviewed by: brooks, imp, kib Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33881
Diffstat (limited to 'sys/i386/i386/exec_machdep.c')
-rw-r--r--sys/i386/i386/exec_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/i386/exec_machdep.c b/sys/i386/i386/exec_machdep.c
index 469b0ebc9a78..a91595c0e969 100644
--- a/sys/i386/i386/exec_machdep.c
+++ b/sys/i386/i386/exec_machdep.c
@@ -256,7 +256,7 @@ osendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
static void
freebsd4_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
{
- struct sigframe4 sf, *sfp;
+ struct freebsd4_sigframe sf, *sfp;
struct proc *p;
struct thread *td;
struct sigacts *psp;
@@ -291,13 +291,13 @@ freebsd4_sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
/* Allocate space for the signal handler context. */
if ((td->td_pflags & TDP_ALTSTACK) != 0 && !oonstack &&
SIGISMEMBER(psp->ps_sigonstack, sig)) {
- sfp = (struct sigframe4 *)((uintptr_t)td->td_sigstk.ss_sp +
- td->td_sigstk.ss_size - sizeof(struct sigframe4));
+ sfp = (struct freebsd4_sigframe *)((uintptr_t)td->td_sigstk.ss_sp +
+ td->td_sigstk.ss_size - sizeof(struct freebsd4_sigframe));
#if defined(COMPAT_43)
td->td_sigstk.ss_flags |= SS_ONSTACK;
#endif
} else
- sfp = (struct sigframe4 *)regs->tf_esp - 1;
+ sfp = (struct freebsd4_sigframe *)regs->tf_esp - 1;
/* Build the argument list for the signal handler. */
sf.sf_signum = sig;