hardening: Enable i386 FORTIFY_SOURCE on Clang 16+
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86/build: Remove -ffreestanding on i386 with GCCarch/ | +2 | 3 replies | |
| 2/2 | hardening: Enable i386 FORTIFY_SOURCE on Clang 16+arch/ security/ | +2 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ingo Molnar | Nathan Chancellor |
|---|---|---|
| 1/2 | A-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] hardening: Enable i386 FORTIFY_SOURCE on Clang 16+
Hi,
This drops -ffreestanding for i386 unconditionally for GCC, and on Clang version 16 and later. FORTIFY_SOURCE depends on the libcall optimizations made without -ffreestanding on Clang. On GCC, there is no expected differences. With that done, it's possible to gain Clang FORTIFY_SOURCE coverage on i386 again, though only for Clang 16+.
-Kees
v1: https://lore.kernel.org/lkml/[email protected]/
v2: drop -ffreestanding (Nathan)
Kees Cook (2):
x86/build: Remove -ffreestanding on i386 with GCC
hardening: Enable i386 FORTIFY_SOURCE on Clang 16+
arch/x86/Makefile | 2 ++ security/Kconfig.hardening | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1