diff options
author | 2015-02-06 23:58:12 +0000 | |
---|---|---|
committer | 2015-02-06 23:58:12 +0000 | |
commit | 1a0bd10ffe9f658eda7b09dfc58adeac4e2daf87 (patch) | |
tree | a812698d9a4f086ed081e6e3011daa8ad2f90051 /sys/kern/exec_elf.c | |
parent | Add bpf(4) support to iwm(4). Makes tcpdump -i iwm0 work. Based on iwn(4). (diff) | |
download | wireguard-openbsd-1a0bd10ffe9f658eda7b09dfc58adeac4e2daf87.tar.xz wireguard-openbsd-1a0bd10ffe9f658eda7b09dfc58adeac4e2daf87.zip |
Raise ELF_RANDOMIZE_LIMIT to 64K, so that programs and libraries can
legitimately use random section variables without execve failures...
Because this section is not demand faulted, yield() every page during
the fill otherwise the costs are charged poorly.
ok tedu matthew
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r-- | sys/kern/exec_elf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c index 36882bdf65f..1f2fbc84360 100644 --- a/sys/kern/exec_elf.c +++ b/sys/kern/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.110 2015/01/27 00:33:21 kurt Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.111 2015/02/06 23:58:12 deraadt Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -129,9 +129,6 @@ extern char *syscallnames[]; */ #define ELF_MAX_VALID_PHDR 32 -/* Limit on total PT_OPENBSD_RANDOMIZE bytes. */ -#define ELF_RANDOMIZE_LIMIT 1024 - /* * This is the basic elf emul. elf_probe_funcs may change to other emuls. */ |