Re:Retguard: OpenBSD/Clang
by hexadecimated on Saturday August 19, 2017 @07:59PM
(#15056273)
The post-fork canary value could be paired with the stack pointer at which it became valid. If not valid, the process could walk a linked list of pre-fork canary and stack pointer pairs, to find the correct value to use. Would be interesting to see the performance hit on such an approach.
[ Parent
| on HN ]
Re:Retguard: OpenBSD/Clang
by tedunangst on Saturday August 19, 2017 @09:50PM
(#15056583)
Or not. The stack canary is not the only random value reset upon exec.