diff options
author | 2007-01-29 11:33:24 +0000 | |
---|---|---|
committer | 2007-01-29 11:33:24 +0000 | |
commit | b4dfe9741d1cc6f7d4ee8f6da45ed289e3f98fe9 (patch) | |
tree | 1059dcf2b1ea913e25a003e54592b8b9331e8e67 | |
parent | whitespace, no change in code produced by bc -dl (diff) | |
download | wireguard-openbsd-b4dfe9741d1cc6f7d4ee8f6da45ed289e3f98fe9.tar.xz wireguard-openbsd-b4dfe9741d1cc6f7d4ee8f6da45ed289e3f98fe9.zip |
Bump fixed part of the stackgap to 2k. Allows two full paths to be
stored, needed by systrace. ok deraadt@ miod@
-rw-r--r-- | sys/sys/exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/exec.h b/sys/sys/exec.h index 19746da53f3..73e668cf507 100644 --- a/sys/sys/exec.h +++ b/sys/sys/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.22 2004/04/15 00:22:42 tedu Exp $ */ +/* $OpenBSD: exec.h,v 1.23 2007/01/29 11:33:24 otto Exp $ */ /* $NetBSD: exec.h,v 1.59 1996/02/09 18:25:09 christos Exp $ */ /*- @@ -71,7 +71,7 @@ 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). */ -#define STACKGAPLEN 512 /* plenty enough for now */ +#define STACKGAPLEN (2*1024) /* plenty enough for now */ #ifdef MACHINE_STACK_GROWS_UP #define STACKGAPBASE_UNALIGNED \ |