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.) This patch changes the export of that variable to try to mitigate the problem. Signed-off-by: Greg Kroah-Hartman <[email protected]> --- security/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- gregkh-2.6.orig/security/security.c +++ gregkh-2.6/security/security.c @@ -178,4 +178,4 @@ EXPORT_SYMBOL_GPL(register_security); EXPORT_SYMBOL_GPL(unregister_security); EXPORT_SYMBOL_GPL(mod_reg_security); EXPORT_SYMBOL_GPL(mod_unreg_security); -EXPORT_SYMBOL(security_ops); +EXPORT_SYMBOL_GPL(security_ops); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] make security_ops EXPORT_SYMBOL_GPL()
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] make security_ops EXPORT_SYMBOL_GPL()
- References:
- Re: Time to remove LSM (was Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks)
- From: James Morris <[email protected]>
- Re: Time to remove LSM (was Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks)
- From: Greg KH <[email protected]>
- Re: Time to remove LSM (was Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks)
- From: Stephen Smalley <[email protected]>
- Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Greg KH <[email protected]>
- Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Stephen Smalley <[email protected]>
- Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Greg KH <[email protected]>
- Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Christoph Hellwig <[email protected]>
- Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Stephen Smalley <[email protected]>
- Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Greg KH <[email protected]>
- Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- From: Stephen Smalley <[email protected]>
- Re: Time to remove LSM (was Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks)
- Prev by Date: [PATCH 4/7] FS-Cache: Export find_get_pages()
- Next by Date: Re: [RFC][PATCH 10/11] security: AppArmor - Add flags to d_path
- Previous by thread: Re: Removing EXPORT_SYMBOL(security_ops) (was Re: Time to remove LSM)
- Next by thread: Re: [PATCH] make security_ops EXPORT_SYMBOL_GPL()
- Index(es):