[lkml]   [2001]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Modutils 2.5 change, start running this command now
On Wed, 2001-10-03 at 00:36, Keith Owens wrote:
> In current modutils, a module that does not export symbols and does not
> say EXPORT_NO_SYMBOLS defaults to exporting all symbols. This is a
> hangover from kernel 2.0 and will be removed when modutils 2.5 appears,
> shortly after the kernel 2.5 branch is created.

This is an excellent move.

> Starting with modutils 2.5, modules must explicitly say what their
> intention is for symbols. That will break a lot of existing modules.
> The command below lists the modules on your system that will be
> affected. All code maintainers need to run this against their 2.4
> modules and do one of two things. Either export the required symbols
> (remember to add the .o file to export-objs in the Makefile) or add
> EXPORT_NO_SYMBOLS; somewhere in the module (no change to Makefile).

Once 2.5 starts, I'll be happy to go over modules with this script and
fix up stuff that is unmaintained.

> objdump -h `modprobe -l` | \
> awk '/file format/{file = $1}/__ksymtab/{file = ""}/\.comment/ && file != "" {print file}'

Robert M. Love
rml at
rml at

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.051 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site