Re: [PATCH] selftests/mm: add pkey_sighandler_tests to .gitignore

From: Mike Rapoport

Date: Sun May 17 2026 - 14:55:47 EST


Hi Sarthak,

On Fri, May 15, 2026 at 06:29:49PM +0530, Sarthak Sharma wrote:
> .gitignore currently does not include the binary
> pkey_sighandler_tests. Add it to .gitignore.
>
> Signed-off-by: Sarthak Sharma <sarthak.sharma@xxxxxxx>
> ---
> tools/testing/selftests/mm/.gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/mm/.gitignore b/tools/testing/selftests/mm/.gitignore
> index b0c30c5ee9e3..1b1d9ed87039 100644
> --- a/tools/testing/selftests/mm/.gitignore
> +++ b/tools/testing/selftests/mm/.gitignore
> @@ -62,3 +62,4 @@ merge
> prctl_thp_disable
> rmap
> folio_split_race_test
> +pkey_sighandler_tests

There are patches that switch .gitignore to a pattern-matching approach:

https://lore.kernel.org/all/20260511173411.267628-1-pratmal@xxxxxxxxxx/

With those there'd be no need to list every executable in .gitignore
explicitly.

> --
> 2.39.5
>

--
Sincerely yours,
Mike.