From owner-freebsd-hackers Mon Feb 17 10:25: 0 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79B0637B401 for ; Mon, 17 Feb 2003 10:24:58 -0800 (PST) Received: from albatross.mail.pas.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A09E243F85 for ; Mon, 17 Feb 2003 10:24:57 -0800 (PST) (envelope-from mooneer@translator.cx) Received: from pool0028.cvx31-bradley.dialup.earthlink.net ([209.179.146.28] helo=morpheus) by albatross.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 18kpwf-0000by-00; Mon, 17 Feb 2003 10:24:49 -0800 From: "Mooneer Salem" To: "Pawel Jakub Dawidek" , Subject: RE: IPC and jail. Date: Mon, 17 Feb 2003 10:24:46 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20030217173905.GA64362@garage.freebsd.pl> Importance: Normal Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, PostgreSQL might be a good test, since it uses IPC to an extent. I also have some code for 5.0 that adds a struct prison pointer to the IPC primitives for tracking purposes. Although it doesn't give each jail its own IPC cache, it does ensure they don't step on each other. For the purpose of seperating the jail from the main environment though, your approach may be better. Thanks, -- Mooneer Salem GPLTrans: http://www.translator.cx/ lifeafterking.org: http://www.lifeafterking.org/ -----Original Message----- From: owner-freebsd-hackers@FreeBSD.ORG [mailto:owner-freebsd-hackers@FreeBSD.ORG]On Behalf Of Pawel Jakub Dawidek Sent: Monday, February 17, 2003 9:39 AM To: freebsd-hackers@freebsd.org Cc: chris@aims.com.au Subject: IPC and jail. Hello hackers. I'm preparing a patch against FreeBSD 4.7 (for now) which splits IPC zones between jails and main host. Every entity will have his own IPC memory not shared with others (jails or main host). Message queues are already patched, but it need to be tested - that's why I'm writing. Does anybody have any regression tests for IPC functionality? If not, which program use it and will be a good test? Thanks. -- Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message