Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754999AbbK3Vnx (ORCPT ); Mon, 30 Nov 2015 16:43:53 -0500 Received: from terminus.zytor.com ([198.137.202.10]:60090 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753602AbbK3Vnu (ORCPT ); Mon, 30 Nov 2015 16:43:50 -0500 Subject: Re: [kernel-hardening] [PATCH 0/2] introduce post-init read-only memory To: Kees Cook References: <1448401114-24650-1-git-send-email-keescook@chromium.org> <565595F5.32536.DB9FE75@pageexec.freemail.hu> <20151126085425.GA29848@gmail.com> <20151127075959.GA24991@gmail.com> <20151129080505.GA23721@gmail.com> <565CBC37.9090106@zytor.com> Cc: Ingo Molnar , Andy Lutomirski , Linus Torvalds , PaX Team , "kernel-hardening@lists.openwall.com" , Mathias Krause , "linux-kernel@vger.kernel.org" , Ingo Molnar , Thomas Gleixner , x86-ml , Arnd Bergmann , Michael Ellerman , linux-arch , Emese Revfy From: "H. Peter Anvin" Message-ID: <565CC2F2.4020808@zytor.com> Date: Mon, 30 Nov 2015 13:43:14 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 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: 757 Lines: 20 On 11/30/15 13:33, Kees Cook wrote: >> >> I think what should do is have a debug option which can be set to "rw", >> "log" or "oops"; the latter should probably be the default. > > Can someone write that patch, and then I will include it in the > series? I haven't touched fault handler code, and it would be faster > if someone more familiar with that area did it. :) > The "log" option (the only hard one) can be added as a later enhancement, and probably should be. It shouldn't block the series. -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/