From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prasanna S Panchamukhi Subject: Re: [PATCH] mark address_space_operations const Date: Tue, 9 May 2006 12:54:57 +0530 Message-ID: <20060509072457.GA12379@in.ibm.com> References: <20060503131836.GA6991@lst.de> <20060509053039.GA12805@in.ibm.com> <20060509055636.GA25575@kroah.com> Reply-To: prasanna@in.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , akpm@osdl.org, linux-fsdevel@vger.kernel.org, suparna@in.ibm.com, maneesh@in.ibm.com, jkenisto@us.ibm.com Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:33922 "EHLO e6.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1751446AbWEIHY7 (ORCPT ); Tue, 9 May 2006 03:24:59 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e6.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k497Ow3m013399 for ; Tue, 9 May 2006 03:24:58 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k497OvuI255958 for ; Tue, 9 May 2006 03:24:57 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k497Ou32025633 for ; Tue, 9 May 2006 03:24:57 -0400 To: Greg KH Content-Disposition: inline In-Reply-To: <20060509055636.GA25575@kroah.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, May 08, 2006 at 10:56:36PM -0700, Greg KH wrote: > On Tue, May 09, 2006 at 11:00:39AM +0530, Prasanna S Panchamukhi wrote: > > On Wed, May 03, 2006 at 03:18:36PM +0200, Christoph Hellwig wrote: > > > Same as with already do with the file operations: > > > keep them in .rodata and prevents people from doing runtime patching. > > > > I understand that making file operations .rodata was > > to prevent binary driver authors overriding individual > > file_operations members at runtime. > > > > This patch prevents even GPL code from overriding address_space > > operations. There might be in kernel users who want to override > > address_space operations. > > Are there any existing in-kernel users who wish to override these > operations? > Current prototype of user-space probes uses this feature. http://lkml.org/lkml/2006/5/9/32 Thanks Prasanna -- Prasanna S Panchamukhi Linux Technology Center India Software Labs, IBM Bangalore Email: prasanna@in.ibm.com Ph: 91-80-41776329