Date: Sat, 27 Nov 2004 14:19:26 -0800 From: Justin Hopper <jhopper@bsdhosting.net> To: freebsd-hackers@freebsd.org Subject: Re: Jail + sysv shmem Message-ID: <1101593965.15634.432.camel@work.gusalmighty.com> In-Reply-To: <20041126193800.GB11747@metro.cx> References: <20041126193800.GB11747@metro.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2004-11-26 at 11:38, Koen Martens wrote: > Hello Hackers, > > For a while i've been wanting shared memory to be usable withing jails, > but with cross-jail protection. Ie. shared memory is restricted to a > jail. > > Recently I've been digging a bit in the freebsd kernel source code > (which is new to me, been doing quite some linux kernel hacking though). > It looks like this is actually not _that_ difficult to implement. > > So, did anyone try this yet? Any pointers? > I know that Pawel @ http://garage.freebsd.pl has a patch for making private SysV IPC memory spaces for the host system and each jail: http://garage.freebsd.pl/privipc.README The patch is against 4.x though, and I've never tried it. I would really like to see something like this implemented for 5.x though. Does anyone know if there are plans to implement this in the future 5.x releases? If not, I would be interested in helping anyone that wishes to try implementing this in 5.3 soon, as we have a lot of clients who ask for SysV IPC inside of jailed hosting environments. Or perhaps there is a new IPC implementation that FreeBSD is looking at and perhaps they will dump SysV IPC altogether? -- Justin Hopper <jhopper@bsdhosting.net> UNIX Systems Engineer BSDHosting.net Hosting Division of Digital Oasys Inc. http://www.bsdhosting.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1101593965.15634.432.camel>