Re: [PATCH v2 0/2] fortify: test_fortify.sh: Improve handling of tempfile
From: Kees Cook
Date: Wed Jan 14 2026 - 22:50:54 EST
On Wed, 14 Jan 2026 14:57:13 +0100, Nicolas Schier wrote:
> WangYuli reported [1] that the temporary file created by test_fortify.sh
> is recognised by git as untracked file, especially if it remains after
> non-common exits of test_fortify.sh (e.g. killed by signal).
>
> The following two patches handle that by renaming the temporary file and
> by cleaning up the file in more situations.
>
> [...]
Applied to for-next/hardening, thanks!
[1/2] fortify: Rename temporary file to match ignore pattern
https://git.kernel.org/kees/c/ccfe7d6251f4
[2/2] fortify: Cleanup temp file also on non-successful exit
https://git.kernel.org/kees/c/9f54ab83cb2a
Take care,
--
Kees Cook