From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 26 20:52:44 2008 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 7094816A41B for ; Sat, 26 Jan 2008 20:52:44 +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 35AE813C459 for ; Sat, 26 Jan 2008 20:52:44 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 23F092082; Sat, 26 Jan 2008 21:52:36 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id D40192049; Sat, 26 Jan 2008 21:52:35 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id BD77684460; Sat, 26 Jan 2008 21:52:35 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Jerry Toung" References: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> Date: Sat, 26 Jan 2008 21:52:35 +0100 In-Reply-To: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> (Jerry Toung's message of "Fri\, 25 Jan 2008 14\:51\:44 -0800") Message-ID: <86y7acmhrg.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (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: a new syscalls table 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: Sat, 26 Jan 2008 20:52:44 -0000 "Jerry Toung" writes: > I am trying to create an environment where you can't run my binaries > on your box and I can't run your binaries on my system (x86 platform). > For that, I have modified the system calls table (i.e everything is > offset by 5). This is basically the same as "sidegrading" from i386 to amd64 or vice versa. If you're using 7 or 8, the installworld target sets aside all the tools it needs to complete the installation, so it doesn't matter that the binaries you install can't run on your current kernel. Just make sure you run installkernel first. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no