Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752561AbbKYTHh (ORCPT ); Wed, 25 Nov 2015 14:07:37 -0500 Received: from terminus.zytor.com ([198.137.202.10]:47988 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbbKYTHa (ORCPT ); Wed, 25 Nov 2015 14:07:30 -0500 Message-ID: <565606C1.8080507@zytor.com> Date: Wed, 25 Nov 2015 11:06:41 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kees Cook CC: Mathias Krause , "kernel-hardening@lists.openwall.com" , "linux-kernel@vger.kernel.org" , Andy Lutomirski , Ingo Molnar , Thomas Gleixner , x86-ml , Arnd Bergmann , Michael Ellerman , linux-arch , PaX Team , Emese Revfy Subject: Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory References: <1448401114-24650-1-git-send-email-keescook@chromium.org> <5655F059.4010801@zytor.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 20 On 11/25/2015 10:54 AM, Kees Cook wrote: >> >> We should not wait for compile-time support, that doesn't make any >> sense. What would be useful would be a way to override this on the >> command line -- that way, if disabling RO or RO-after-init memory makes >> something work, we have an instant diagnosis. > > Seems easiest to have an arg just skip calling mark_rodata_ro(). I can add that. > Exactly. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/