change the stack protector guard into a long word (removing the old legacy
authorderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 03:22:52 +0000 (03:22 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 28 Dec 2013 03:22:52 +0000 (03:22 +0000)
commit7da32b384eb34ea25ce176b88e8907165c6a27a0
tree75390cd39c2352c7bd83e2d732914d935050da03
parentb2a13122c0594bac47c5aa293d99ea6a2c440b06
change the stack protector guard into a long word (removing the old legacy
compat pointed out by miod), and place it inside the ELF .openbsd.randomdata
segment.  Inside main(), only re-initialize the guard if the bootblocks
failed to initialize it for us.
sys/kern/init_main.c