From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750802AbWDSSL7 (ORCPT ); Wed, 19 Apr 2006 14:11:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751028AbWDSSL7 (ORCPT ); Wed, 19 Apr 2006 14:11:59 -0400 Received: from mx1.suse.de ([195.135.220.2]:32469 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1750947AbWDSSL6 (ORCPT ); Wed, 19 Apr 2006 14:11:58 -0400 Date: Wed, 19 Apr 2006 11:10:15 -0700 From: Greg KH To: James Morris Cc: 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: <20060419181015.GC11091@kroah.com> References: <200604142301.10188.edwin@gurde.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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? thanks, greg k-h