From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: Re: [PATCH 3/3 V13] RO/NX protection for loadable kernel Date: Tue, 30 Nov 2010 09:46:23 -0500 Message-ID: <1291128383.27486.35.camel@gandalf.stny.rr.com> References: <4CE2F914.9070106@free.fr> <20101129181542.GA11630@home.goodmis.org> <201011301005.29532.rusty@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Return-path: Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:36073 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877Ab0K3Oq2 (ORCPT ); Tue, 30 Nov 2010 09:46:28 -0500 In-Reply-To: <201011301005.29532.rusty@rustcorp.com.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Rusty Russell Cc: matthieu castet , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-next@vger.kernel.org, Arjan van de Ven , James Morris , Andrew Morton , Andi Kleen , Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Stephen Rothwell , Dave Jones , Siarhei Liakh , Kees Cook , Peter Zijlstra On Tue, 2010-11-30 at 10:05 +1030, Rusty Russell wrote: > On Tue, 30 Nov 2010 04:45:42 am Steven Rostedt wrote: > > This patch breaks function tracer: > ... > > Here we set the text read only before we call the notifiers. The > > function tracer changes the calls to mcount into nops via a notifier > > call so this must be done after the module notifiers. > > That seems fine. > > I note that both before and after this patch we potentially execute code > in the module (via parse_args) before we set it ro & nx. But fixing this > last bit of coverage is probably not worth the pain... Rusty, can I take this as an "Acked-by"? Thanks, -- Steve