Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably 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.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: