All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make LSM register functions GPLonly exports
@ 2002-10-17 14:35 Christoph Hellwig
  2002-10-17 15:07 ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Christoph Hellwig @ 2002-10-17 14:35 UTC (permalink / raw)
  To: torvalds, greg; +Cc: linux-kernel

These exports have the power to change the implementations of all
syscalls and I've seen people exploiting this "feature".

Make the exports GPLonly (which some LSM folks agreed to
when it was merged initially to avoid that).

--- 1.2/security/security.c	Wed Aug 28 22:52:56 2002
+++ edited/security/security.c	Thu Oct 17 16:30:40 2002
@@ -241,9 +241,9 @@
 	return security_ops->sys_security (id, call, args);
 }
 
-EXPORT_SYMBOL (register_security);
-EXPORT_SYMBOL (unregister_security);
-EXPORT_SYMBOL (mod_reg_security);
-EXPORT_SYMBOL (mod_unreg_security);
-EXPORT_SYMBOL (capable);
-EXPORT_SYMBOL (security_ops);
+EXPORT_SYMBOL_GPL(register_security);
+EXPORT_SYMBOL_GPL(unregister_security);
+EXPORT_SYMBOL_GPL(mod_reg_security);
+EXPORT_SYMBOL_GPL(mod_unreg_security);
+EXPORT_SYMBOL(capable);
+EXPORT_SYMBOL(security_ops);

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-10-17 20:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17 14:35 [PATCH] make LSM register functions GPLonly exports Christoph Hellwig
2002-10-17 15:07 ` Greg KH
2002-10-17 15:13   ` Christoph Hellwig
2002-10-17 16:21   ` Jeff Garzik
2002-10-17 16:51   ` Crispin Cowan
2002-10-17 16:54     ` Christoph Hellwig
2002-10-17 17:08       ` Linus Torvalds
2002-10-17 17:20         ` Greg KH
2002-10-17 17:25         ` Linus Torvalds
2002-10-17 20:39           ` Ingo Molnar
2002-10-17 17:44         ` Crispin Cowan
2002-10-17 18:03           ` Arjan van de Ven
2002-10-17 17:20       ` Richard B. Johnson
2002-10-17 17:26         ` Linus Torvalds

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.