kanishk rastogi schrieb:
> hi all,
> When we export a symbol using EXPORT_SYMBOL, We can use it to be called
> by other modules when we insert this module .......
> I wanted to know when does this symbol gets added to the kernel symbol
> table ...

It's added when the module is loaded with insmod and removed when the
module is removed.
But you don't have to use EXPORT_SYMBOL. if you don't care about it,
every symbol, that is not static will be exportet.

> Or what happens when we insert the module so that this symbol is
> accessible ....

If you want to check which symbols of your module are exported, check
/proc/kallsyms.

andi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to