From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186AbdBOVAX (ORCPT ); Wed, 15 Feb 2017 16:00:23 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43470 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbdBOVAW (ORCPT ); Wed, 15 Feb 2017 16:00:22 -0500 Date: Wed, 15 Feb 2017 13:00:20 -0800 From: Andrew Morton To: Kees Cook Cc: Jinbum Park , Valentin Rothberg , Linux-MM , LKML , Laura Abbott Subject: Re: [PATCH] mm: testcases for RODATA: fix config dependency Message-Id: <20170215130020.749e34e4d1e3d0789eb114f1@linux-foundation.org> In-Reply-To: References: <20170209131625.GA16954@pjb1027-Latitude-E5410> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Feb 2017 15:36:37 -0800 Kees Cook wrote: > > config DEBUG_RODATA_TEST > > bool "Testcase for the marking rodata read-only" > > - depends on DEBUG_RODATA > > + depends on STRICT_KERNEL_RWX > > ---help--- > > This option enables a testcase for the setting rodata read-only. > > Great, thanks! > > Acked-by: Kees Cook > > Andrew, do you want to take this patch, since it applies on top of > "mm: add arch-independent testcases for RODATA", or do you want me to > take both patches into my KSPP tree which has the DEBUG_RODATA -> > STRICT_KERNEL_RWX renaming series? I staged this and mm-add-arch-independent-testcases-for-rodata.patch after linux-next and shall merge them after the STRICT_KERNEL_RWX rename has gone into mainline.