USE Flag: cet

Provenance Summary

Authoritative Scope: package_scoped | Distinct Packages: 3 | Repository Package Instances: 3

Search

Manage

Package-Scoped Descriptions (use.local.desc / metadata.xml)

Package Source Kind Source File Description
dev-debug/gdb metadata.xml dev-debug/gdb/metadata.xml Enable Intel Control-flow Enforcement Technology.
sys-devel/gcc metadata.xml sys-devel/gcc/metadata.xml Enable support for control flow hijacking protection. On amd64, this provides Intel Control Flow Enforcement Technology (CET). On arm64, this provides Branch Target Identification (BTI) and Pointer Authentication Code (PAC) support. This is only effective on amd64 or arm64. Only provides benefits on newer CPUs. For Intel, the CPU must be at least as new as Tiger Lake. For AMD, it must be at least as new as Zen 3. This is harmless on older CPUs, but provides no benefit either. For ARM64, PAC was introduced in armv8.3-a, and BTI was introduced in armv8.5-a. When combined with USE=hardened on amd64, GCC will set -fcf-protection by default when building software. The effect is minimal on systems which do not support it, other than a possible small increase in codesize for the NOPs. The generated code is therefore compatible with i686 at the earliest. On arm64, GCC will set -mbranch-protection=standard by default when building software.
sys-libs/glibc metadata.xml sys-libs/glibc/metadata.xml Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8)

Package Usage Occurrences

Package Observations Versions Local Description (use.local.desc) Metadata Description (metadata.xml)
dev-debug/gdb IUSE 18.1 - Enable Intel Control-flow Enforcement Technology.
sys-devel/gcc metadata only - - Enable support for control flow hijacking protection. On amd64, this provides Intel Control Flow Enforcement Technology (CET). On arm64, this provides Branch Target Identification (BTI) and Pointer Authentication Code (PAC) support. This is only effective on amd64 or arm64. Only provides benefits on newer CPUs. For Intel, the CPU must be at least as new as Tiger Lake. For AMD, it must be at least as new as Zen 3. This is harmless on older CPUs, but provides no benefit either. For ARM64, PAC was introduced in armv8.3-a, and BTI was introduced in armv8.5-a. When combined with USE=hardened on amd64, GCC will set -fcf-protection by default when building software. The effect is minimal on systems which do not support it, other than a possible small increase in codesize for the NOPs. The generated code is therefore compatible with i686 at the earliest. On arm64, GCC will set -mbranch-protection=standard by default when building software.
sys-libs/glibc IUSE 2.44 - Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8)