lkml.org 
[lkml]   [2000]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Need help with kernel modules ...
Date
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/

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