Re: shared memory

From: Luciano Rocha
Date: Sun Dec 16 2007 - 14:57:30 EST


On Sun, Dec 16, 2007 at 04:51:39PM -0300, Rafael Sisto wrote:
> Hi, Im working on a project working on linux kernel 2.6.17
> I have to share memory on user level... I have to build something like
> a server process that "exports" a portion of his virtual memory, and
> other client process may ask the kernel for that memory and use it (as
> its own).
> I managed to build a structure on the kernel.

Why? Aren't SysV IPC or Posix IPC enough?

See "man shm_open", for the new Posix version, and "man shmget" for the
old SysV IPC version.

--
Luciano Rocha <luciano@xxxxxxxxxxx>
Eurotux Informática, S.A. <http://www.eurotux.com/>

Attachment: pgp00000.pgp
Description: PGP signature