Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F134637381
D42356.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
472 B
Referenced Files
None
Subscribers
None
D42356.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D42356: user stack randomization: only enable by default for 64bit processes
Attached
Detach File
Event Timeline
Log In to Comment