Re: [PATCH] remove EXPORT_SYMBOL(kallsyms_lookup)
From: Greg KH
Date: Thu Jun 17 2004 - 12:53:17 EST
On Thu, Jun 17, 2004 at 08:31:10PM +0300, Oleg Drokin wrote:
> Greg KH <greg@xxxxxxxxx> wrote:
> GK> Distros have started to ship kernels with this patch, as it seems that
> GK> some unnamed binary module authors are already abusing this function (as
> GK> well as some open source modules, like the openib code.) I could not
> GK> find any valid reason why this symbol should be exported, so here's a
> What if some extra carefully written code detects some (non fatal) problem in
> itself and decides to dump a decoded backtrace to some internal log buffer,
> user will find this later and will send a bugreport to developers?
Do you have an example of code in the current kernel tree that does
this? If not, then feel free to bring up the discussion about exporting
this symbol at that point in time :)
> (yes, there are problems with simply doing dump_stack()).
> Or perhaps we need dump_stack version that will print the dump into a
> supplied buffer then?
That might be useful.
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/