Re: [PATCH] make security_ops EXPORT_SYMBOL_GPL()

From: Greg KH
Date: Thu Apr 20 2006 - 15:36:06 EST


On Thu, Apr 20, 2006 at 11:08:23AM -0700, Linus Torvalds wrote:
>
>
> On Thu, 20 Apr 2006, Greg KH wrote:
> >
> > Some closed source modules are taking advantage of the fact that the
> > security_ops variable is available to them, so they are using it to hook
> > into parts of the kernel that should only be available to "real" users
> > of the LSM interface (which is required to be under the GPL.)
>
> I'm really not going to apply this.
>
> It's insane.
>
> "security_ops" is used by _anything_ that uses the inline functions in
> <linux/security.h>, which suddenly means that a non-GPL module cannot use
> _any_ of the standard security tests. That's insane.

Ah, doh, you are right, sorry about that.

> If people want to remove security_ops, that's fine (not for 2.6.17, but
> assuming you guys can come to some reasonable agreement, at some later
> date). But turning it into a GPL-only, but leaving all the infrastructure
> requiring it is not.

Fair enough, I'll work toward removing security_ops so that it is no
longer needed at all.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/