3 ms·
> If you compare OpenBSD against a modern Linux distro, you'll be surprised. How does FreeBSD compare vs OpenBSD on that aspect?
by ekianjo 7y ago
> If you compare OpenBSD against a modern Linux distro, you'll be surprised.
How does FreeBSD compare vs OpenBSD on that aspect?
- 4ad 7y agohttps://vez.mrsk.me/freebsd-defaults.html https://vez.mrsk.me/freebsd-defaults.html
- notaplumber 7y agoProbably the same (or worse) as Linux. IIRC FreeBSD still had executable stacks by default until at least 2016? Edit: I give FreeBSD too much credit. The kern.elf64.nxstack / kern.elf32.nxstack sysctls were introduced in FreeBSD 9.0, which is 0 by default. 1 enables PT_GNU_STACK behaviour. Apparently not implemented for all platforms. So you get to choose from executable stacks by default and the same nasty behaviour Linux has.