Date: Sun, 18 Jun 2000 23:06:24 -0700 From: "Shawn Workman" <shawn@holdenz.com> To: <freebsd-hackers@freebsd.org> Subject: Sharing memory between processes. Message-ID: <007301bfd9b4$8018c1b0$b2a612d8@hayden>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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?
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.
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3017.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2> 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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> 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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Is there anyway to do this using
FreeBSD 4.0 Stable? </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> I have used the shm* functions
and from what I see I am limited to the number of shared memory pointers I can
have.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> 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..</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thank you for any insight to this
problem.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007301bfd9b4$8018c1b0$b2a612d8>
