mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 08:41:30 -04:00
This effectively makes the stack base on the csu _start entry
randomized.
The gap is enabled if ASLR is for the ABI is enabled, and then
kern.elf{64,32}.aslr.stack_gap specify the max percentage of the
initial stack size that can be wasted for gap. Setting it to zero
disables the gap, and max is capped at 50%.
Only amd64 for now.
Reviewed by: cem, markj
Discussed with: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D21081
|
||
|---|---|---|
| .. | ||
| freebsd32.h | ||
| freebsd32_capability.c | ||
| freebsd32_ioctl.c | ||
| freebsd32_ioctl.h | ||
| freebsd32_ipc.h | ||
| freebsd32_misc.c | ||
| freebsd32_misc.h | ||
| freebsd32_proto.h | ||
| freebsd32_signal.h | ||
| freebsd32_syscall.h | ||
| freebsd32_syscalls.c | ||
| freebsd32_sysent.c | ||
| freebsd32_systrace_args.c | ||
| freebsd32_util.h | ||
| Makefile | ||
| syscalls.conf | ||
| syscalls.master | ||