summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-29 17:02:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-29 17:02:50 +0000
commit830b4531a9f5ca9c276d17444e2d16c9ed87defa (patch)
treed65efbeefd39fbfc099574cc37ccebb6ca6b2d9d /sys/compat
parent22ba10e603c6b27c70aaeec1c6d690cd8dbe44ed (diff)
niklas pointed out the new MDP_UNCACHE_WX might break fork/exec.
always set/clear in setregs() now
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/sunos/sunos_exec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c
index e2ada6fff0b..3ed414feb97 100644
--- a/sys/compat/sunos/sunos_exec.c
+++ b/sys/compat/sunos/sunos_exec.c
@@ -68,10 +68,6 @@ extern struct sysent sunos_sysent[];
extern char *sunos_syscallnames[];
#endif
extern void sunos_sendsig __P((sig_t, int, int, u_long));
-#ifdef m68k
-extern void sunos_setregs __P((struct proc *, struct exec_package *, u_long,
- register_t *));
-#endif
extern char sigcode[], esigcode[];
const char sunos_emul_path[] = "/emul/sunos";
@@ -93,11 +89,7 @@ struct emul emul_sunos = {
#endif
0,
copyargs,
-#ifdef m68k
- sunos_setregs,
-#else
setregs,
-#endif
sigcode,
esigcode,
};