From 60737099f4bed8212a7fa65fa9fb263c10220686 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Tue, 3 Dec 2002 21:27:06 +0000 Subject: unconditionally define STACKGAPLEN, enables systrace(4) without COMPAT_*; pr 3012; ok deraadt@ miod@ --- sys/sys/exec.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'sys') diff --git a/sys/sys/exec.h b/sys/sys/exec.h index 3dad1d37df0..ae4fd4f9904 100644 --- a/sys/sys/exec.h +++ b/sys/sys/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.19 2002/10/06 22:40:19 art Exp $ */ +/* $OpenBSD: exec.h,v 1.20 2002/12/03 21:27:05 markus Exp $ */ /* $NetBSD: exec.h,v 1.59 1996/02/09 18:25:09 christos Exp $ */ /*- @@ -75,14 +75,8 @@ struct ps_strings { * Below the PS_STRINGS and sigtramp, we may require a gap on the stack * (used to copyin/copyout various emulation data structures). */ -#if defined(COMPAT_SUNOS) || defined(COMPAT_ULTRIX) || \ - defined(COMPAT_IBCS2) || defined(COMPAT_SVR4) || defined(COMPAT_OSF1) || \ - defined(COMPAT_LINUX) || defined(COMPAT_FREEBSD) || \ - defined(COMPAT_HPUX) || defined(COMPAT_NETBSD) || defined(__sparc64__) #define STACKGAPLEN 512 /* plenty enough for now */ -#else -#define STACKGAPLEN 0 -#endif + #ifdef MACHINE_STACK_GROWS_UP #define STACKGAPBASE_UNALIGNED \ ((caddr_t)PS_STRINGS + sizeof(struct ps_strings)) -- cgit v1.2.3