From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751191AbWDSTdl (ORCPT ); Wed, 19 Apr 2006 15:33:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751185AbWDSTdk (ORCPT ); Wed, 19 Apr 2006 15:33:40 -0400 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:16003 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S1751157AbWDSTdj (ORCPT ); Wed, 19 Apr 2006 15:33:39 -0400 Date: Wed, 19 Apr 2006 12:33:06 -0700 From: Chris Wright To: Greg KH Cc: James Morris , Jan Engelhardt , Christoph Hellwig , Andrew Morton , Stephen Smalley , T?r?k Edwin , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Wright , Linus Torvalds Subject: Re: Time to remove LSM (was Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks) Message-ID: <20060419193306.GL4917@sorel.sous-sol.org> References: <1145290013.8542.141.camel@moss-spartans.epoch.ncsc.mil> <20060417162345.GA9609@infradead.org> <1145293404.8542.190.camel@moss-spartans.epoch.ncsc.mil> <20060417173319.GA11506@infradead.org> <20060417195146.GA8875@kroah.com> <20060419154011.GA26635@kroah.com> <20060419181015.GC11091@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060419181015.GC11091@kroah.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Greg KH (greg@kroah.com) wrote: > On Wed, Apr 19, 2006 at 12:33:24PM -0400, James Morris wrote: > > The LSM interface is also being abused by several proprietary kernel > > modules, some of which are not even security related. In one case, > > there's code which dangerously revectors SELinux with a shim layer > > designed to try and bypass the GPL. Some of this is a response to > > unexporting the syscall table, where projects which abused that have now > > switched to LSM. > > I agree that this is happening today. Which makes me wonder, why is the > variable "security_ops" exported through "EXPORT_SYMBOL()" and not > "EXPORT_SYMBOL_GPL()"? It seems that people are taking advantage of > this and changing it would help slow them down a bit. > > Chris, would you take a patch to change this? I don't see any reason not to.