diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-02 01:29:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-02 01:29:57 +0000 |
commit | 1c01c2e457ca772fa53b51820b2e0e0429e295ac (patch) | |
tree | b05c05be9d8ec22eedf79cde705ae5c398888555 /sys/kern | |
parent | 174df23997c29c3689ee43593fbcb4e44053a09a (diff) |
stackgap_random becomes 64K
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 3d5c9d708bc..4002037be8e 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.78 2003/05/17 14:02:06 grange Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.79 2003/06/02 01:29:56 deraadt Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -75,7 +75,7 @@ int exec_sigcode_map(struct proc *, struct emul *); * to it. Must be a n^2. If non-zero, the stack gap will be calculated as: * (arc4random() * ALIGNBYTES) & (stackgap_random - 1) + STACKGAPLEN. */ -int stackgap_random = 1024; +int stackgap_random = 64*1024; /* * check exec: |