Kernel Exported Symbols (Cont.) 'get_module_symbol' accepts two parameters: the module name and the symbol's name. Here are possible examples: /* all module symbols have string (char*) names */ /* and 'unsigned long' values */ unsigned long value; /* locate the 'get_module_symbol' symbol exported */ /* by the kernel proper. */ value = get_module_symbol(NULL, "get_module_symbol"); /* locate the 'get_module_symbol' symbol, no matter */ /* which module exported it. */ value = get_module_symbol("", "get_module_symbol"); /* locate the 'foo_bar' symbol exported by a module */ /* named 'charley_brown'. */ value = get_module_symbol("charley_brown", "foo_bar"); It is up to our program to cast the value to the proper type of the symbol.