From mboxrd@z Thu Jan 1 00:00:00 1970 From: Siarhei Liakh Subject: Re: [PATCH v6] RO/NX protection for loadable kernel modules Date: Tue, 22 Sep 2009 11:49:55 -0400 Message-ID: <817ecb6f0909220849t2142f6bdhdeb0180dedc646d2@mail.gmail.com> References: <817ecb6f0909101950v2fc6dc6u5cbc40cd9a9dde77@mail.gmail.com> <20090921214046.GA17243@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20090921214046.GA17243@redhat.com> Sender: linux-security-module-owner@vger.kernel.org To: Dave Jones , Siarhei Liakh , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-next@vger.kernel.org, Arjan List-Id: linux-next.vger.kernel.org > Hi Siarhei, > =A0I tried out this patch on 2.6.31, and got the following trace duri= ng bootup.. > > ------------[ cut here ]------------ > WARNING: at kernel/trace/ftrace.c:1003 ftrace_bug+0x198/0x27e() (Not = tainted) > Hardware name: VGN-Z540N =2E.. > ---[ end trace 95b33ebf87286ae6 ]--- > ftrace faulted on writing [] video_output_register+= 0x11/0x10a [output] > > > I guess ftrace is trying to NOP out something in the modules which > are marked read-only ? Entirely possible. I will review ftrace and make sure the patch accounts for this. Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-securit= y-module" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html