From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426360AbcBRKsA (ORCPT ); Thu, 18 Feb 2016 05:48:00 -0500 Received: from r00tworld.com ([212.85.137.150]:41851 "EHLO r00tworld.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426083AbcBRKrz (ORCPT ); Thu, 18 Feb 2016 05:47:55 -0500 From: "PaX Team" To: David Brown , Kees Cook Date: Thu, 18 Feb 2016 11:46:42 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] ARM: vdso: Mark vDSO code as read-only Reply-to: pageexec@freemail.hu CC: Russell King , "linux-arm-kernel@lists.infradead.org" , "kernel-hardening@lists.openwall.com" , Ingo Molnar , Andy Lutomirski , "H. Peter Anvin" , Michael Ellerman , Mathias Krause , Thomas Gleixner , "x86@kernel.org" , Arnd Bergmann , Emese Revfy , LKML , linux-arch Message-ID: <56C5A112.25195.35DDEA@pageexec.freemail.hu> In-reply-to: References: <1453226922-16831-1-git-send-email-keescook@chromium.org>, <20160217234306.GA59532@davidb.org>, X-mailer: Pegasus Mail for Windows (4.71.565) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.12 (r00tworld.com [212.85.137.150]); Thu, 18 Feb 2016 11:46:38 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17 Feb 2016 at 15:48, Kees Cook wrote: > On Wed, Feb 17, 2016 at 3:43 PM, David Brown wrote: > > Is there a possible future consideration to perhaps make .rodata read > > only much earlier? > > Yeah, this will likely be a future improvement. Some architectures > already mark .rodata before the mark_rodata_ro() call. Once we start > to have more use of postinit-readonly, I suspect we'll see more > clarification of when those things happen. FYI, PaX had enforced early rodata on i386 during the 2.4 series (i.e., decade+ ago) but i abandoned it for 2.6 due to the maintenance burden coupled with its low benefit...