[PATCH v2 0/3] fortify: fix various issues in test_fortify Makefile

Masahiro Yamada posted 3 patches 1 year, 4 months ago
MAINTAINERS                                   |  1 -
lib/.gitignore                                |  2 -
lib/Makefile                                  | 38 +------------------
lib/test_fortify/.gitignore                   |  2 +
lib/test_fortify/Makefile                     | 28 ++++++++++++++
{scripts => lib/test_fortify}/test_fortify.sh |  0
6 files changed, 31 insertions(+), 40 deletions(-)
create mode 100644 lib/test_fortify/.gitignore
create mode 100644 lib/test_fortify/Makefile
rename {scripts => lib/test_fortify}/test_fortify.sh (100%)
[PATCH v2 0/3] fortify: fix various issues in test_fortify Makefile
Posted by Masahiro Yamada 1 year, 4 months ago
This version fixes new warnings for GCC <= 7, which were reported
by 0 day bot.

I changed the patch order, as 3/3 is the most controvertial.
I am confident with 1/3 and 2/3.
3/3 drops the test coverage for GCC <= 7.



Masahiro Yamada (3):
  fortify: refactor test_fortify Makefile to fix some build problems
  fortify: move test_fortify.sh to lib/test_fortify/
  fortify: use if_changed_dep to record header dependency in *.cmd files

 MAINTAINERS                                   |  1 -
 lib/.gitignore                                |  2 -
 lib/Makefile                                  | 38 +------------------
 lib/test_fortify/.gitignore                   |  2 +
 lib/test_fortify/Makefile                     | 28 ++++++++++++++
 {scripts => lib/test_fortify}/test_fortify.sh |  0
 6 files changed, 31 insertions(+), 40 deletions(-)
 create mode 100644 lib/test_fortify/.gitignore
 create mode 100644 lib/test_fortify/Makefile
 rename {scripts => lib/test_fortify}/test_fortify.sh (100%)

-- 
2.43.0
Re: [PATCH v2 0/3] fortify: fix various issues in test_fortify Makefile
Posted by Kees Cook 1 year, 4 months ago
On Sun, 28 Jul 2024 00:02:35 +0900, Masahiro Yamada wrote:
> This version fixes new warnings for GCC <= 7, which were reported
> by 0 day bot.
> 
> I changed the patch order, as 3/3 is the most controvertial.
> I am confident with 1/3 and 2/3.
> 3/3 drops the test coverage for GCC <= 7.
> 
> [...]

Applied to for-next/hardening, thanks!

[1/3] fortify: refactor test_fortify Makefile to fix some build problems
      https://git.kernel.org/kees/c/61b317f70aa7
[2/3] fortify: move test_fortify.sh to lib/test_fortify/
      https://git.kernel.org/kees/c/728dc04bc4e3
[3/3] fortify: use if_changed_dep to record header dependency in *.cmd files
      https://git.kernel.org/kees/c/634a52a98f04

Take care,

-- 
Kees Cook