Re: Linux GPL and binary module exception clause?

From: viro
Date: Fri Dec 12 2003 - 19:26:29 EST


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.
-
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/