Re: EXPORT_NO_SYMBOLS vs. (null) ?

From: Keith Owens (kaos@ocs.com.au)
Date: Sat Nov 18 2000 - 02:40:13 EST


On Sat, 18 Nov 2000 00:15:35 -0500,
Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
>What is the difference between a module that exports no symbols and
>includes EXPORT_NO_SYMBOLS reference, and such a module that lacks
>EXPORT_NO_SYMBOLS?

When modules were first introduced, all symbols were automatically
exported. For kernel 2.0 compatibility, a module without
EXPORT_NO_SYMBOLS actually exports everything. There are flags on
insmod to override this default. modutils 2.5 will remove this
backwards compatibility, no module will export symbols unless they are
explicitly exported. If you are feeling brave, add
  insmod_opt=-x
to your modules.conf and see what breaks in 2.4.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:15 EST