about summary refs log tree commit diff
path: root/src/env/__stack_chk_fail.c
Commit message (Collapse)AuthorAgeFilesLines
* first attempt at enabling stack protector supportRich Felker2012-04-241-0/+14
the code is written to pre-init the thread pointer in static linked programs that pull in __stack_chk_fail or dynamic-linked programs that lookup the symbol. no explicit canary is set; the canary will be whatever happens to be in the thread structure at the offset gcc hard-coded. this can be improved later.