Messages in this thread | | | From | Keith Owens <> | Subject | Re: Need help with kernel modules ... | Date | Wed, 08 Mar 2000 17:01:34 +1100 |
| |
On Tue, 7 Mar 2000 17:42:29 +0100, "Thomas M. Galla" <tom@vmars.tuwien.ac.at> wrote: >Or is it in general >impossible to prevent that variables/functions that are exported >(i.e., not declared as static) by (a source module of) a kernel module >are visible to the rest of the kernel?
It is impossible, there are only two options for module symbols. Either they are local to a module (only the module can see them) or they are exported (every other module can see them). BTW, you can export static symbols, the EXPORT_SYMBOL mechanism is almost independent of the compiler's idea of static vs. global.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |