Re: [PATCH] hardening: Adjust dependencies in selection of MODVERSIONS

2024-09-29 Thread Nathan Chancellor
On Sun, Sep 29, 2024 at 08:35:44AM -0700, Linus Torvalds wrote: > On Sat, 28 Sept 2024 at 11:13, Nathan Chancellor wrote: > > > > MODVERSIONS recently grew a dependency on !COMPILE_TEST so that Rust > > could be more easily tested. However, this introduces a Kconfig warning > > when building allmo

Re: [PATCH] hardening: Adjust dependencies in selection of MODVERSIONS

2024-09-29 Thread Linus Torvalds
On Sat, 28 Sept 2024 at 11:13, Nathan Chancellor wrote: > > MODVERSIONS recently grew a dependency on !COMPILE_TEST so that Rust > could be more easily tested. However, this introduces a Kconfig warning > when building allmodconfig with a clang version that supports RANDSTRUCT > natively because R

Re: [PATCH] hardening: Adjust dependencies in selection of MODVERSIONS

2024-09-28 Thread Kees Cook
On Sat, 28 Sep 2024 11:13:13 -0700, Nathan Chancellor wrote: > MODVERSIONS recently grew a dependency on !COMPILE_TEST so that Rust > could be more easily tested. However, this introduces a Kconfig warning > when building allmodconfig with a clang version that supports RANDSTRUCT > natively because

[PATCH] hardening: Adjust dependencies in selection of MODVERSIONS

2024-09-28 Thread Nathan Chancellor
MODVERSIONS recently grew a dependency on !COMPILE_TEST so that Rust could be more easily tested. However, this introduces a Kconfig warning when building allmodconfig with a clang version that supports RANDSTRUCT natively because RANDSTRUCT_FULL and RANDSTRUCT_PERFORMANCE select MODVERSIONS when M