summaryrefslogtreecommitdiff
path: root/src/env/__stack_chk_fail.c
AgeCommit message (Collapse)AuthorLines
2012-04-24first attempt at enabling stack protector supportRich Felker-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.