Re: [PATCH v2] init/Kconfig: Only block on RANDSTRUCT for RUST
From: Neal Gompa
Date: Sun Aug 18 2024 - 03:05:10 EST
On Wed, Jul 31, 2024 at 8:57 AM Neal Gompa <neal@xxxxxxxxx> wrote:
>
> When enabling Rust in the kernel, we only need to block on the
> RANDSTRUCT feature and GCC plugin. The rest of the GCC plugins
> are reasonably safe to enable.
>
> Signed-off-by: Neal Gompa <neal@xxxxxxxxx>
> ---
> Changes in v2
> - Drop changing !RANDSTRUCT to RANDSTRUCT_NONE
> (they're equivalent anyway)
> ---
> init/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index a465ea9525bd..0939486938cc 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -1900,7 +1900,7 @@ config RUST
> depends on RUST_IS_AVAILABLE
> depends on !CFI_CLANG
> depends on !MODVERSIONS
> - depends on !GCC_PLUGINS
> + depends on !GCC_PLUGIN_RANDSTRUCT
> depends on !RANDSTRUCT
> depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
> help
> --
> 2.45.2
>
Bump for notice... Can we get this looked at to incorporate for 6.11?
--
真実はいつも一つ!/ Always, there's only one truth!