Re: Shared Memory

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

 



Hmmm. ok.

Perhaps then I am barking up the wrong tree with this. I assume they
haven't been exported for a reason then - so I'm loathe to modify the
kernel itself.

Is there a better (preferred) way of sharing memory space between a
kernel module and a user space process?


On 1/22/07, Florin Malita <fmalita@xxxxxxxxx> wrote:
lee nookx wrote:
> I don't export them no, because they are kernel functions (defined in
> <linux/syscalls.h>)
> They are showing up in the symbol table though:
>
> [lnookx@bloopy module]# cat /proc/kallsyms | grep shmat
> c04a1679 T do_shmat
> c04a18f5 T sys_shmat
> c04a7d0f t dummy_shm_shmat
>

That's not enough, they would need to be exported explicitly
(EXPORT_SYMBOL) in order to be accessible from modules.

---
fm



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