[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sharing a global variable between a user space application and a Kernel module
On Wed, Dec 10, 2003 at 03:02:10PM +0800, Vanitha Ramaswami wrote:
> Hello,
>
> How do i access a global variable defined in a user space application
> from a kernel module.?
Short answer:
You can't.
Long answer:
you must write code to be able to export/import that variable
through some means (proc, sysfs, sysctl, etc.)
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/