summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/manpath.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-06-13 01:44:27 +0000
committerderaadt <deraadt@openbsd.org>2017-06-13 01:44:27 +0000
commit2b08e4fe0444d9f1f89bbb659d8ab96f79be346e (patch)
tree3e1b6cd513c08538aab206bf22bc784df00c0a73 /usr.bin/mandoc/manpath.c
parentadd a dummy ld.script. macppc does not use one of these yet, but (diff)
downloadwireguard-openbsd-2b08e4fe0444d9f1f89bbb659d8ab96f79be346e.tar.xz
wireguard-openbsd-2b08e4fe0444d9f1f89bbb659d8ab96f79be346e.zip
Split early startup code out of locore.S into locore0.S. Adjust link
run so that this locore0.o is always at the start of the executable. But randomize the link order of all other .o files in the kernel, so that their exec/rodata/data/bss segments land all over the place. As a result, the internal layout of every newly build bsd kernel is different from past kernels. Internal relative offsets are not known to an outside attacker. The only known offsets are in the startup code (which will be gone when it is smashed). The bootstrap code unmapping or smashing isn't done yet, and there is some potential for more bits from locore.S to move to locore0.S
Diffstat (limited to 'usr.bin/mandoc/manpath.c')
0 files changed, 0 insertions, 0 deletions