[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Kernel modules
Hi SP,
For a given kernel (at least in your case "sys_call_table_Rdfdb18bd" is same
as "sys_call_table".
"Rdfdb18bd" is the versioning information, which is calculated for each
symbol when we export it using
EXPORT_SYMBOL macro.
If we didn't want the versioning info to be appended to symbol we can use
EXPORT_SYMBOL_NOVERS
HTS,
Aniruddha
-------------------------------------
| Aniruddha S. Patwardhan |
| BMC Software India Pvt. Ltd. |
| Email: aniruddha_patwardhan@bmc.com |
| Phone: +91-20-4035129 |
| www : http://aniruddha.talk.to |
-------------------------------------
-----Original Message-----
From: S P [mailto:sage_newbie@yahoo.com]
Sent: Thursday, April 10, 2003 2:20 AM
To: kernelnewbies@nl.linux.org
Subject: Kernel modules
Hi,
I have written a user-level program which requires a
pointer to sys_call_table. I invoke query_module
function with name as NULL & the value of 'which' as
QM_SYMBOLS, thus trying to get kernel symbols.
query_module returns a pointer to symbol with name
"sys_call_table_Rdfdb18bd". Is this the same as
sys_call_table ? What is the number at the end of the
symbol ?
Thanks,
SP
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/