Files
nixpkgs/pkgs/build-support
Franz Pletz 4150f5e8ba cc-wrapper: add stackcheck hardening (stack clash)
This fixes the Stack Clash issue rediscovered by Qualys. See
https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
for more information on the topic, specifically section III.

We don't have the kernel mitigation available because it is a Grsecurity
feature which we don't support anymore. Other distributions like Gentoo
Hardened and Arch already have `-fstack-check` enabled by default.

See the Gentoo page on Stack Clash for more information on this solution:
https://wiki.gentoo.org/wiki/Hardened/Gentoo_Hardened_and_Stack_Clash

This unfortunately doesn't apply to clang because `-fstack-check` is a
noop there. Note that the GCC implementation also has problems that could
be exploited to circumvent these checks but it is still better than
keeping it disabled.
2017-06-22 00:41:53 +02:00
..
…
2017-03-20 22:23:41 +01:00
2017-06-03 20:51:01 +02:00
2017-05-24 16:31:17 +02:00
2017-03-20 22:23:41 +01:00
2017-03-20 22:23:41 +01:00
2017-03-27 15:04:02 +10:00
2017-03-20 22:23:41 +01:00
2017-02-16 11:28:23 +01:00
2017-05-24 11:29:06 -03:00
2017-04-30 17:01:07 +02:00
2016-11-15 09:11:53 +11:00
2016-09-29 13:06:41 +02:00
2017-01-26 20:11:49 -08:00
2017-06-14 11:29:31 +02:00