From fd6845b3865eba2ad5058edac543ef9f8f78f4cd Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 27 Jan 1997 22:48:43 +0000 Subject: add another parameter to trapsignal() and sendsig() -- fault addr to be delivered with in the siginfo information --- sys/compat/ibcs2/ibcs2_exec.c | 4 ++-- sys/compat/sunos/sunos.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/compat') diff --git a/sys/compat/ibcs2/ibcs2_exec.c b/sys/compat/ibcs2/ibcs2_exec.c index 6f660dd40dd..f7c394017ba 100644 --- a/sys/compat/ibcs2/ibcs2_exec.c +++ b/sys/compat/ibcs2/ibcs2_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_exec.c,v 1.5 1997/01/23 16:12:16 niklas Exp $ */ +/* $OpenBSD: ibcs2_exec.c,v 1.6 1997/01/27 22:48:30 deraadt Exp $ */ /* $NetBSD: ibcs2_exec.c,v 1.12 1996/10/12 02:13:52 thorpej Exp $ */ /* @@ -77,7 +77,7 @@ static int coff_find_section __P((struct proc *, struct vnode *, extern int bsd2ibcs_errno[]; extern struct sysent ibcs2_sysent[]; extern char *ibcs2_syscallnames[]; -extern void ibcs2_sendsig __P((sig_t, int, int, u_long)); +extern void ibcs2_sendsig __P((sig_t, int, int, u_long, caddr_t)); extern char sigcode[], esigcode[]; const char ibcs2_emul_path[] = "/emul/ibcs2"; diff --git a/sys/compat/sunos/sunos.h b/sys/compat/sunos/sunos.h index c43aa2381b2..65ef0e58073 100644 --- a/sys/compat/sunos/sunos.h +++ b/sys/compat/sunos/sunos.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sunos.h,v 1.4 1996/08/02 20:20:30 niklas Exp $ */ +/* $OpenBSD: sunos.h,v 1.5 1997/01/27 22:48:33 deraadt Exp $ */ /* $NetBSD: sunos.h,v 1.8 1996/05/05 16:07:43 veego Exp $ */ #define SUNM_RDONLY 0x01 /* mount fs read-only */ @@ -146,6 +146,6 @@ struct sunos_audio_info { __BEGIN_DECLS /* Defined in arch/m68k/m68k/sunos_machdep.c -- sparc uses regular sendsig() */ #ifndef sparc -void sunos_sendsig __P((sig_t, int, int, u_long)); +void sunos_sendsig __P((sig_t, int, int, u_long, caddr_t)); #endif __END_DECLS -- cgit v1.2.3