[RFC RESEND v3] binfmt_elf: preserve original ELF e_flags for core dumps
Kees Cook
kees at kernel.org
Wed Sep 3 20:52:02 PDT 2025
On Mon, Sep 01, 2025 at 08:53:50PM +0700, Svetlana Parfenova wrote:
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index a4b233a0659e..1bef00208bdd 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -224,6 +224,7 @@ config RISCV
> select VDSO_GETRANDOM if HAVE_GENERIC_VDSO
> select USER_STACKTRACE_SUPPORT
> select ZONE_DMA32 if 64BIT
> + select ARCH_HAS_ELF_CORE_EFLAGS
>
> config RUSTC_SUPPORTS_RISCV
I'll take this patch and alphabetize the above select into the right
place. Everything else looks great. Thank you!
-Kees
--
Kees Cook
More information about the linux-riscv
mailing list