From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 26 14:34:10 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2B30106568E for ; Wed, 26 Aug 2009 14:34:10 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B4F958FC24 for ; Wed, 26 Aug 2009 14:34:10 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id A99316D44C; Wed, 26 Aug 2009 14:34:09 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 8C49D844A3; Wed, 26 Aug 2009 16:34:09 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: bert wiley References: <9527461a0908260656w570f6cdha72e92b267e5354f@mail.gmail.com> Date: Wed, 26 Aug 2009 16:34:09 +0200 In-Reply-To: <9527461a0908260656w570f6cdha72e92b267e5354f@mail.gmail.com> (bert wiley's message of "Wed, 26 Aug 2009 09:56:50 -0400") Message-ID: <868wh663vi.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Need some help understanding a jail system call. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2009 14:34:11 -0000 bert wiley writes: > No where in the code do i ever see any access to the jail.h type systems > calls Because at that stage in the development process, the system calls in belong to the old implementation. > so does the syscall(375, JAIL_CREATE, argv[1]); actually access the > jail subsystem and create a jail? It calls the new system call, which at that stage hasn't been added to libc yet, because it would conflict with the existing system calls. > Here is the link i used to find this code > http://www.watson.org/~robert/freebsd/jailng/ You realize that this is eight years old, right? And that the jail infrastructure has been extensively modified since then, and is currently being rewritten again? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no