[lkml]   [2000]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Calling module symbols from inside the kernel !
On Mon, 6 Nov 2000 16:24:13 -0300, wrote:
>Is it possible to access symbols exported by modules from inside the kernel ?

Not via symbol name, the linkage goes module => kernel, not the other
way round. Your module needs to register its data when it loads, then
any code can use the registration "get" function to access the data.
This works kernel <=> kernel, kernel <=> module, module <=> module. Be
careful that you lock the module down while you are using its data.

See for
sample registration code.

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

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