Re: Linux GPL and binary module exception clause?

viro
2003-12-13T00:25:35Z

On Sat, Dec 13, 2003 at 12:11:58AM +0000, Nix wrote:
> > Some approximation might be obtained by building all modules and
> > doing nm on them, with manual work for non-obvious cases.
>
> Hang on, surely you can tell which symbols in modules are exported just
> by looking for expansions of EXPORT_SYMBOL{_GPL}? Why is this bit hard?

It's not a question of which symbols are exported by module, it's what
symbols are _imported_.

IOW, the hard question is "what modules use foo()", not "where do we define
foo()". And while it's easy for a single symbol, we want it for _all_
exported symbols in the tree at once.