shared memory and kernel modules

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

 





   I think when u create a shared memory it will created in the kernel 
space.

  I have this strange problem bugging me...

  I have written a daemon which creates a shared memory and puts in the 
data. Then i have a kernel module which is always installed after starting 
the daemon. But when I try to access the shared memory that has been 
created using the daemon I am not seeing any data that has been put in by 
the daemon. When i print the addresses of the shared memory I see 
different addresses. I am using the same key_t to in the kernel module 
,which i used to create using the daemon, to access the shared memory. I 
am not understanding what is the problem...


  Can anyone pls tell me what might be the problem...


 thanks,
raghu

--
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