diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-12-03 21:27:06 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-12-03 21:27:06 +0000 |
commit | 60737099f4bed8212a7fa65fa9fb263c10220686 (patch) | |
tree | 94f89e69201463a27bb59fcb0ac72522635acc10 /sys | |
parent | 92ff169d3a778caa8fd350a3065b6378f2c9ec69 (diff) |
unconditionally define STACKGAPLEN, enables systrace(4) without COMPAT_*;
pr 3012; ok deraadt@ miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/exec.h | 10 |
1 files changed, 2 insertions, 8 deletions
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)) |