public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove EXPORT_SYMBOL(kallsyms_lookup)
@ 2004-06-17 16:29 Greg KH
  2004-06-17 17:31 ` Oleg Drokin
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2004-06-17 16:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Hi,

Distros have started to ship kernels with this patch, as it seems that
some unnamed binary module authors are already abusing this function (as
well as some open source modules, like the openib code.)  I could not
find any valid reason why this symbol should be exported, so here's a
patch against 2.6.7 that removes it.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

thanks,

greg k-h


diff -Nru a/kernel/kallsyms.c b/kernel/kallsyms.c
--- a/kernel/kallsyms.c	Thu Jun 17 09:26:17 2004
+++ b/kernel/kallsyms.c	Thu Jun 17 09:26:17 2004
@@ -320,5 +320,4 @@
 }
 __initcall(kallsyms_init);
 
-EXPORT_SYMBOL(kallsyms_lookup);
 EXPORT_SYMBOL(__print_symbol);

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

end of thread, other threads:[~2004-06-17 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 16:29 [PATCH] remove EXPORT_SYMBOL(kallsyms_lookup) Greg KH
2004-06-17 17:31 ` Oleg Drokin
2004-06-17 17:50   ` Greg KH
2004-06-17 19:28   ` Christoph Hellwig
2004-06-17 20:14   ` Dave Kleikamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox