From owner-freebsd-arch@FreeBSD.ORG Wed Jun 7 02:06:12 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5408A16BF99 for ; Wed, 7 Jun 2006 02:03:33 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EEC643D48 for ; Wed, 7 Jun 2006 02:03:33 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [192.168.3.4]) ([10.251.60.69]) by a50.ironport.com with ESMTP; 06 Jun 2006 19:03:32 -0700 Message-ID: <448633F2.7030902@elischer.org> Date: Wed, 07 Jun 2006 10:03:30 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Konovalov References: <1149610678.4074.42.camel@berloga.shadowland> <20060606202741.D67271@mp2.macomnet.net> In-Reply-To: <20060606202741.D67271@mp2.macomnet.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Alex Lyashkov , freebsd-arch@freebsd.org Subject: Re: jail extensions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2006 02:06:13 -0000 Maxim Konovalov wrote: >On Tue, 6 Jun 2006, 19:17+0300, Alex Lyashkov wrote: > > > >>Hello All, >> >>I started to write some extension for jail. Global >>idea is to write the complete virtual server solutions, >>when each virtual server has its own resources and limits >>of their usage. >>Now implemented: >>- all jail code compiled under 'options JAIL' >>- separated uid hash >>- separated SYSVIPC with limit IPC objects count >>- process count limit >> >>At first time I plan to implement file handles limit and >>limit of the total disk usage per jail. >> >>project homepage http://docs.freevps.com/doku.php?id=freebsd:index >> >> > >I'd like to clarify Alex's point a bit: he wants to know his work is >acceptable by the project and could be merged. It's obvious it's >almost impossible to maintain that outside of the tree. > > > I'd like to see him merge his project with Marco's . If so then I'd be more than happy to see this stuff come in once it reaches a certain level of maturity. Marco and I have been going over some possible macros that could be used to help with a lot of this and if the macros were used then some of the changes could come in quite early as they would compile out to NOPs for anyone not using the changes. ( and provide an easy target for removal if it eventually doesn't complete).