From owner-freebsd-hackers Sun Jun 18 23:10:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from holdennt.holdenz.com (holdennt.holdenz.com [207.53.186.27]) by hub.freebsd.org (Postfix) with ESMTP id 8C19237B762 for ; Sun, 18 Jun 2000 23:10:55 -0700 (PDT) (envelope-from shawn@holdenz.com) Received: from hayden ([216.18.166.178]) by holdennt.holdenz.com (8.9.3/8.9.3) with SMTP id XAA63769 for ; Sun, 18 Jun 2000 23:13:26 -0700 (PDT) (envelope-from shawn@holdenz.com) Message-ID: <007301bfd9b4$8018c1b0$b2a612d8@hayden> From: "Shawn Workman" To: Subject: Sharing memory between processes. Date: Sun, 18 Jun 2000 23:06:24 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0070_01BFD979.D2E27570" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0070_01BFD979.D2E27570 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am coming up against a road block in porting an application from a = win32 platform to FreeBSD. The problem I am having is due to the fact = that FreeBSD protects it's memory more that NT for example. Is there a way to give a client app access to another apps memory? = the way it is done in the win32 app is to basically have the client = check for the existance of the server if it exists it grabs a pointer to = it's memory and therefore gains access to all the functions that the = server has in memory as well as data structures. Is there anyway to do this using FreeBSD 4.0 Stable? =20 I have used the shm* functions and from what I see I am limited to = the number of shared memory pointers I can have. I would really appreciate any help that could be provided here. I = have been looking at the possibility of an lkm but hear that this can = cause the system to become unstable.. Thank you for any insight to this problem. ------=_NextPart_000_0070_01BFD979.D2E27570 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
    I am coming up = against a road=20 block in porting an application from a win32 platform to FreeBSD.  = The=20 problem I am having is due to the fact that FreeBSD protects it's memory = more=20 that NT for example.
 
    Is there a way to = give a client=20 app access to another apps memory?  the way it is done in the win32 = app is=20 to basically have the client check for the existance of the server if it = exists=20 it grabs a pointer to it's memory and therefore gains access to all the=20 functions that the server has in memory as well as data = structures.
 
    Is there anyway to = do this using=20 FreeBSD 4.0 Stable? 
 
    I have used the shm* = functions=20 and from what I see I am limited to the number of shared memory pointers = I can=20 have.
 
    I would really = appreciate any=20 help that could be provided here.  I have been looking at the = possibility=20 of an lkm but hear that this can cause the system to become=20 unstable..
 
Thank you for any insight to this=20 problem.
 
 
 
------=_NextPart_000_0070_01BFD979.D2E27570-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message