aboutsummaryrefslogtreecommitdiff
path: root/stand/powerpc/ofw
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-07-31 20:23:10 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-07-31 20:23:10 +0000
commitfc83c5a7d0e76ffdd578521d1d4c07415928c068 (patch)
tree77523c0d1d22e3463f90b666ada48ddef249558d /stand/powerpc/ofw
parent3638455c92650b92741626ba50960567e02a763f (diff)
downloadsrc-fc83c5a7d0e76ffdd578521d1d4c07415928c068.tar.gz
src-fc83c5a7d0e76ffdd578521d1d4c07415928c068.zip
Make randomized stack gap between strings and pointers to argv/envs.
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
Notes
Notes: svn path=/head/; revision=350484
Diffstat (limited to 'stand/powerpc/ofw')
0 files changed, 0 insertions, 0 deletions