Date: Mon, 4 Aug 1997 19:50:23 -0500 (EST) From: "John S. Dyson" <toor@dyson.iquest.net> To: rtwalsh@ix.netcom.com Cc: questions@FreeBSD.ORG Subject: Re: mmap and MAP_ANON Message-ID: <199708050050.TAA01021@dyson.iquest.net> In-Reply-To: <199784172215241@> from "rtwalsh@ix.netcom.com" at "Aug 4, 97 07:22:36 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello there, > > Sorry to bug you with a question, but I couldn't find the answer anywhere, so here goes: > > I am trying to create a "named" memory map, with the name being "69", as in the function call > below: > > pMem1 = mmap( NULL, 100000, PROT_READ | PROT_WRITE, MAP_ANON | MAP_SHARED, 69, 0 ); > Probably broken. > > Any suggestions as to how I can get a > moderately secure block of shared memory? > Try mmaping a file. You can use file access perms for security. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708050050.TAA01021>