Re: [PATCH v2] lib: PRIME_NUMBERS_KUNIT_TEST should not select PRIME_NUMBERS

2025-04-22 Thread Mark Brown
On Tue, Apr 22, 2025 at 08:03:09AM -0700, Kees Cook wrote: > On Tue, Apr 22, 2025 at 01:10:47PM +0100, Mark Brown wrote: > > This commit, which is now in mainline, causes the prime numbers test to > > vanish from my CI which is a regression - the selftests config fragment > > is obviously not pick

Re: [PATCH v2] lib: PRIME_NUMBERS_KUNIT_TEST should not select PRIME_NUMBERS

2025-04-22 Thread Kees Cook
On Tue, Apr 22, 2025 at 01:10:47PM +0100, Mark Brown wrote: > On Mon, Apr 14, 2025 at 04:35:00PM +0200, Geert Uytterhoeven wrote: > > Enabling a (modular) test should not silently enable additional kernel > > functionality, as that may increase the attack vector of a product. > > > > Fix this by m

Re: [PATCH v2] lib: PRIME_NUMBERS_KUNIT_TEST should not select PRIME_NUMBERS

2025-04-22 Thread Mark Brown
On Mon, Apr 14, 2025 at 04:35:00PM +0200, Geert Uytterhoeven wrote: > Enabling a (modular) test should not silently enable additional kernel > functionality, as that may increase the attack vector of a product. > > Fix this by making PRIME_NUMBERS_KUNIT_TEST depend on PRIME_NUMBERS > instead of se

Re: [PATCH v2] lib: PRIME_NUMBERS_KUNIT_TEST should not select PRIME_NUMBERS

2025-04-15 Thread Kees Cook
On Mon, 14 Apr 2025 16:35:00 +0200, Geert Uytterhoeven wrote: > Enabling a (modular) test should not silently enable additional kernel > functionality, as that may increase the attack vector of a product. > > Fix this by making PRIME_NUMBERS_KUNIT_TEST depend on PRIME_NUMBERS > instead of selectin