[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about EXPORT_SYMBOL
> First, don't pay attention to that guide, I believe it makes no mention of the horrible
> module unload race implicit in over-riding system calls with your own code.
Hi John,
Can you elaborate on the race you are talking about. The document
does talk about replacing back the original function pointer in the
syscall table at the time of module unloading.
--
sourav
>
> Second, you almost definitely do NOT need to introduce a system call. Please describe what
> you're trying to do, and we can point you towards a better way.
>
> EXPORT_SYMBOL(), by the way, is only used for symbols export by the kernel (and other modules) to
> kernel modules.
>
> john
>
> --
> "Allocation is a fatal error."
> - me, cpd_util.c. Never document at 4AM
>
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/
> IRC Channel: irc.openprojects.net / #kernelnewbies
> Web Page: http://www.surriel.com/kernelnewbies.shtml
>
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml