summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 98ca18a..31d17ed 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
1# Usage of enabled-by-default hardening-related compiler flags across Linux distributions 1# Default compiler hardening flags used to build packages for Linux distributions
2 2
3|. | Alpine | Debian | Fedora | Gentoo | Gentoo Hardened | Ubuntu | OpenSUSE | ArchLinux | OpenBSD | Chimera Linux | Android | Google Chrome | 3|. | Alpine | Debian | Fedora | Gentoo | Gentoo Hardened | Ubuntu | OpenSUSE | ArchLinux | OpenBSD | Chimera Linux | Android | Google Chrome |
4|---------------------------------|--------|--------|-----------|--------|-----------------|--------|----------|-----------|---------|---------------|---------|---------------| 4|---------------------------------|--------|--------|-----------|--------|-----------------|--------|----------|-----------|---------|---------------|---------|---------------|
@@ -37,6 +37,7 @@ Note that:
37- while Google Chrome isn't a distribution, given the size of its source code, 37- while Google Chrome isn't a distribution, given the size of its source code,
38 it's close enoughâ„¢ to warrant inclusion in the table. 38 it's close enoughâ„¢ to warrant inclusion in the table.
39 39
40Please do not expect these flags to be enabled in a distros compiler. This repo only tracks compiler hardening flags used to *build* packages (e.g., rpms or debs). For example, in the deb world settings from both gcc and dpkg are used to build package archives. In [most cases Ubuntu sets security hardening flags in the compiler](https://wiki.ubuntu.com/ToolChain/CompilerFlags), but a [few are only set in dpkg](https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2040321). On Debian and Ubuntu the most recent release's archive builds arm64 packages with `-mbranch-protection=standard`, but you need to manually set the flag when compiling your own code.
40 41
41Sources and resources: 42Sources and resources:
42- https://src.fedoraproject.org/rpms/redhat-rpm-config//blob/rawhide/f/buildflags.md 43- https://src.fedoraproject.org/rpms/redhat-rpm-config//blob/rawhide/f/buildflags.md