lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 20 Jan 2015 06:49:26 -0600
From:	Josh Poimboeuf <jpoimboe@...hat.com>
To:	Miroslav Benes <mbenes@...e.cz>
Cc:	sjenning@...hat.com, jkosina@...e.cz, vojtech@...e.cz,
	live-patching@...r.kernel.org, linux-kernel@...r.kernel.org,
	pmladek@...e.cz, akpm@...ux-foundation.org
Subject: Re: [PATCH] livepatch: change ARCH_HAVE_LIVE_PATCHING to
 HAVE_LIVE_PATCHING

On Tue, Jan 20, 2015 at 12:49:35PM +0100, Miroslav Benes wrote:
> Change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHING in Kconfigs. HAVE_
> bools are prevalent there and we should go with the flow.
> 
> Suggested-by: Andrew Morton <akpm@...ux-foundation.org>
> Signed-off-by: Miroslav Benes <mbenes@...e.cz>

Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>

> ---
>  arch/x86/Kconfig         | 2 +-
>  kernel/livepatch/Kconfig | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 460b31b..29b0952 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -17,7 +17,7 @@ config X86_64
>  	depends on 64BIT
>  	select X86_DEV_DMA_OPS
>  	select ARCH_USE_CMPXCHG_LOCKREF
> -	select ARCH_HAVE_LIVE_PATCHING
> +	select HAVE_LIVE_PATCHING
>  
>  ### Arch settings
>  config X86
> diff --git a/kernel/livepatch/Kconfig b/kernel/livepatch/Kconfig
> index 66797aa..347ee22 100644
> --- a/kernel/livepatch/Kconfig
> +++ b/kernel/livepatch/Kconfig
> @@ -1,4 +1,4 @@
> -config ARCH_HAVE_LIVE_PATCHING
> +config HAVE_LIVE_PATCHING
>  	bool
>  	help
>  	  Arch supports kernel live patching
> @@ -9,7 +9,7 @@ config LIVE_PATCHING
>  	depends on MODULES
>  	depends on SYSFS
>  	depends on KALLSYMS_ALL
> -	depends on ARCH_HAVE_LIVE_PATCHING
> +	depends on HAVE_LIVE_PATCHING
>  	help
>  	  Say Y here if you want to support kernel live patching.
>  	  This option has no runtime impact until a kernel "patch"
> -- 
> 2.1.2
> 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ