Created
January 13, 2016 15:29
-
-
Save jahil/15175449902f4f8aa531 to your computer and use it in GitHub Desktop.
FreeBSD sysctl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Non-executable stack | |
sysctl kern.elf64.nxstack = 1 | |
sysctl kern.elf32.nxstack = 1 | |
Stack smashing protection | |
sysctl security.bsd.stack_guard_page = 1 | |
NULL page mapping | |
sysctl security.bsd.map_at_zero = 0 | |
Process protection | |
sysctl kern.randompid = 1000 | |
Hardening | |
sysctl security.bsd.see_other_uids = 0 | |
/etc/sysctl.conf | |
kern.elf64.nxstack = 1 | |
security.bsd.stack_guard_page = 1 | |
security.bsd.map_at_zero = 0 | |
kern.randompid = 1000 | |
security.bsd.see_other_uids = 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment