Re: [PATCH] x86/kexec: Cleanup KEXEC_VERIFY_SIG Kconfig help text

From: Vivek Goyal
Date: Fri Mar 13 2015 - 09:13:52 EST


On Fri, Mar 13, 2015 at 02:04:37PM +0100, Borislav Petkov wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> Make it much simpler without losing the gist of what it says.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Vivek Goyal <vgoyal@xxxxxxxxxx>
> ---
> arch/x86/Kconfig | 13 +++++--------
> 1 file changed, 5 insertions(+), 8 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 8f829ffb9003..8db84b0e5bbd 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -1775,14 +1775,11 @@ config KEXEC_VERIFY_SIG
> depends on KEXEC_FILE
> ---help---
> This option makes kernel signature verification mandatory for
> - kexec_file_load() syscall. If kernel is signature can not be
> - verified, kexec_file_load() will fail.
> -
> - This option enforces signature verification at generic level.
> - One needs to enable signature verification for type of kernel
> - image being loaded to make sure it works. For example, enable
> - bzImage signature verification option to be able to load and
> - verify signatures of bzImage. Otherwise kernel loading will fail.
> + the kexec_file_load() syscall.
> +
> + In addition to that option, you need to enable signature
> + verification for the corresponding kernel image type being
> + loaded in order for this to work.
>

Hmm..., I find even previous text to be just fine. But as I wrote it, I
might be biased. So I will leave it to others to decide.

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/