In an earlier implementation the stack was randomized when the enable sysctl was set, and ASLR was enabled (in general) for the binary. In the current implementation the sysctl operates independently.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It looks like this was changed with 1811c1e957ee1250b08b3246fc0db37ddf64b736, although that still has
+.It Dv kern.elf32.aslr.stack +If ASLR is enabled for a binary, a non-zero value enables randomization +of the stack. +Otherwise, the stack is mapped at a fixed location determined by the +process ABI.