From owner-freebsd-current@FreeBSD.ORG Tue Apr 4 11:07:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E4ED16A420; Tue, 4 Apr 2006 11:07:13 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C5F143D55; Tue, 4 Apr 2006 11:07:10 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 931BD46C64; Tue, 4 Apr 2006 07:07:08 -0400 (EDT) Date: Tue, 4 Apr 2006 12:07:08 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Koen Martens In-Reply-To: <443252A1.8000704@metro.cx> Message-ID: <20060404120252.J76562@fledge.watson.org> References: <20060403003318.K947@ganymede.hub.org> <20060403163220.F36756@fledge.watson.org> <20060404100750.GG683@turion.vk2pj.dyndns.org> <20060404112938.G76562@fledge.watson.org> <443252A1.8000704@metro.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Peter Jeremy , freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: new feature: private IPC for every jail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 11:07:13 -0000 On Tue, 4 Apr 2006, Koen Martens wrote: > FWIW, I already implemented this once for 5.x a while back, but abandoned > the project due to lack of time back then. If no-one else is going to pick > this up, i might try and dig up that code again, and port it to 6.x, since > this feature is still quite high on my wish list.. Another related, and necessary change, is to fix the field types in our public IPC data structures. Right now they still contain 16-bit ID fields. We've done the first step in separating the user and kernel data structures, but we'll need to do the whole compatibility system call thing. The comment above ipc_perm in ipc.h pretty much says it all: /* * XXX almost all members have wrong types. */ Robert N M Watson