Page MenuHomeFreeBSD

D42356.id.diff
No OneTemporary

D42356.id.diff

diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -200,7 +200,7 @@
&__elfN(aslr_honor_sbrk), 0,
__XSTRING(__CONCAT(ELF, __ELF_WORD_SIZE)) ": assume sbrk is used");
-static int __elfN(aslr_stack) = 1;
+static int __elfN(aslr_stack) = __ELF_WORD_SIZE == 64;
SYSCTL_INT(ASLR_NODE_OID, OID_AUTO, stack, CTLFLAG_RWTUN,
&__elfN(aslr_stack), 0,
__XSTRING(__CONCAT(ELF, __ELF_WORD_SIZE))

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 4, 6:51 PM (4 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24769510
Default Alt Text
D42356.id.diff (472 B)

Event Timeline