Re: Sharing a global variable between a user space application and a Kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux