summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-27 19:44:20 +0000
committerSam James <sam@gentoo.org>2021-11-27 19:46:48 +0000
commit10bad611687710903699c02b6a0d12280337f96b (patch)
tree40179fe662ef0b35e0f9ad52f09edf73168e42db /profiles
parenttoolchain.eclass: enable CET by default on hardened for >= gcc 11.2.1 (diff)
downloadgentoo-10bad611687710903699c02b6a0d12280337f96b.tar.gz
gentoo-10bad611687710903699c02b6a0d12280337f96b.tar.bz2
gentoo-10bad611687710903699c02b6a0d12280337f96b.zip
profiles/features/hardened/amd64: unmask CET
The plan is to unmask CET in base entirely soon but let's allow it to soak in hardened first. We'll then switch to enabling USE=cet by default in hardened later. See: https://github.com/gentoo/gentoo/pull/21588 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/features/hardened/amd64/package.use.mask11
1 files changed, 11 insertions, 0 deletions
diff --git a/profiles/features/hardened/amd64/package.use.mask b/profiles/features/hardened/amd64/package.use.mask
new file mode 100644
index 000000000000..c1152ea1c608
--- /dev/null
+++ b/profiles/features/hardened/amd64/package.use.mask
@@ -0,0 +1,11 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Sam James <sam@gentoo.org> (2021-11-27)
+# Unmask CET here. It works on amd64 and this is the hardened profile.
+sys-devel/binutils -cet
+sys-devel/binutils-hppa64 -cet
+sys-devel/gdb -cet
+sys-libs/binutils-libs -cet
+sys-libs/glibc -cet
+sys-devel/gcc -cet