sys-libs/glibc: make stack protection optional, bug #679788
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 9 Mar 2019 10:46:05 +0000 (10:46 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 9 Mar 2019 10:46:40 +0000 (10:46 +0000)
commit5aca3ae8606fb422955eedb5e45d50166e91c339
treed13008a9e0058fae32e59b4609f74236668bc243
parent30c9f8fcc43187ca1df2bf7fdb5c89a21ecd71ce
sys-libs/glibc: make stack protection optional, bug #679788

The change adds new USE=ssp to optionally disable protection of
glibc's internals. Before the change protection was
unconditionally enabled.

It's useful to disable ssp to validate if stack protection
causes any damage (glibc bugs like https://sourceware.org/PR24202
or gcc bugs like https://gcc.gnu.org/PR81996).

And also useful to get more predictable binaries like in
https://bugs.gentoo.org/679788.

Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/679788
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-libs/glibc/glibc-2.28-r5.ebuild
sys-libs/glibc/glibc-2.29.ebuild
sys-libs/glibc/glibc-9999.ebuild
sys-libs/glibc/metadata.xml