Lost in Shared Memory with Module

From: Alain Birtz <hidden>
Date: 2000-05-27 12:21:40

My first try to use shared memory inside a module show many conflict
within header /sys/shm.h
So I changed the header for /linux/shm.h. But the shared memory function
has a sys_  prefix:
shmat is changed for sys_shmat. Unfortunatly there is a problem here:
the sys_shmat need a fourth parameter.
--->    asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg,
unsigned long *addr);
and there is not man page about sys_shmat that explain the usage of the
addr parameter.

Is it the right way to share memory between module and application ?
Where can I found example of it ?


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help