diff options
author | Greg Kroah-Hartman <greg@kroah.com> | 2004-06-17 18:16:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-17 18:16:21 -0700 |
commit | 780fac4d92524f41b5fe8f2afc88a1e39cf585b2 (patch) | |
tree | 98517a980082b0ca12eb49be8f93d3933583a5f8 /kernel | |
parent | 3d482c505a8d1972c46982200d93db18c2728a8a (diff) | |
download | history-780fac4d92524f41b5fe8f2afc88a1e39cf585b2.tar.gz |
[PATCH] remove EXPORT_SYMBOL(kallsyms_lookup)
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kallsyms.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c index 21387087be8785..b96428328e5782 100644 --- a/kernel/kallsyms.c +++ b/kernel/kallsyms.c @@ -320,5 +320,4 @@ int __init kallsyms_init(void) } __initcall(kallsyms_init); -EXPORT_SYMBOL(kallsyms_lookup); EXPORT_SYMBOL(__print_symbol); |