From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752993AbdBGHQz (ORCPT ); Tue, 7 Feb 2017 02:16:55 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34886 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbdBGHQv (ORCPT ); Tue, 7 Feb 2017 02:16:51 -0500 Date: Tue, 7 Feb 2017 08:16:46 +0100 From: Ingo Molnar To: Laura Abbott Cc: Russell King , Catalin Marinas , Will Deacon , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Kees Cook , Mark Rutland , Jason Wessel , Jonathan Corbet , x86@kernel.org, Rob Herring , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Jessica Yu , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org, linux-pm@vger.kernel.org, kernel-hardening@lists.openwall.com, Robin Murphy Subject: Re: [PATCHv3 1/2] arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common Message-ID: <20170207071646.GA18584@gmail.com> References: <1486427518-14819-1-git-send-email-labbott@redhat.com> <1486427518-14819-2-git-send-email-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486427518-14819-2-git-send-email-labbott@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Laura Abbott wrote: > > There are multiple architectures that support CONFIG_DEBUG_RODATA and > CONFIG_SET_MODULE_RONX. These options also now have the ability to be > turned off at runtime. Move these to an architecture independent > location and make these options def_bool y for almost all of those > arches. > > Signed-off-by: Laura Abbott > --- > v3: Make these configs selectable for arm. Include some documentation about > how the setup of the optional Kconfigs work as well. Stop spelling 'kenrel' > in prompt text. > --- > Documentation/security/self-protection.txt | 6 ++++++ > arch/Kconfig | 34 ++++++++++++++++++++++++++++++ > arch/arm/Kconfig | 4 ++++ > arch/arm/Kconfig.debug | 11 ---------- > arch/arm/mm/Kconfig | 12 ----------- > arch/arm64/Kconfig | 5 ++--- > arch/arm64/Kconfig.debug | 11 ---------- > arch/parisc/Kconfig | 1 + > arch/parisc/Kconfig.debug | 11 ---------- > arch/s390/Kconfig | 5 ++--- > arch/s390/Kconfig.debug | 3 --- > arch/x86/Kconfig | 5 ++--- > arch/x86/Kconfig.debug | 11 ---------- > 13 files changed, 51 insertions(+), 68 deletions(-) Acked-by: Ingo Molnar Thanks, Ingo