From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com Message-ID: <565606C1.8080507@zytor.com> Date: Wed, 25 Nov 2015 11:06:41 -0800 From: "H. Peter Anvin" MIME-Version: 1.0 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 Subject: Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory 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 List-ID: 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