Dynamic Symbol-Dependency Binder (DSDB)

Files

dsdb.01_23_06.tar.gz
dsdb.h
dsdb.c
Makefile
LICENSE

What is it?

This is a linux kernel level module that intends to resolve the problem where, when two modules have a symbol dependency on each other but neither module can be instantiate at run-time because the symbol referenced is currently undefined. More explicitly, this happens when:

      Module A defines EXPORT_SYMBOL() on a symbol used by Module B

      and when,

      Module B defines EXPORT_SYMBOL() on a symbol used by Module A

Upon running `insmod module_[a/b].ko` the kernel will come back with an error stating that a required symbol is not defined. The problem is that each module needs the other loaded before it is able to load itself.

The idea behind DSDB is that instead of statically referencing the exported symbol we can get a pointer to the referenced symbol when it becomes available. Again, since the exported symbols will not be statically referenced, both modules (A and B) can be instantiated without requiring that the other is already load.

Notes






E-Mail:
AOL Instant Messenger: awksin
Valid HTML 4.01!
Search Engine Keywords: Rob Gubler, Robbie Gubler, Robert Gubler, rgubler, tarsin, awksin