From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 25 23:17:09 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 D916216A418 for ; Fri, 25 Jan 2008 23:17:09 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.244]) by mx1.freebsd.org (Postfix) with ESMTP id 7D62913C45A for ; Fri, 25 Jan 2008 23:17:09 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by hs-out-2122.google.com with SMTP id h53so242163hsh.11 for ; Fri, 25 Jan 2008 15:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=M0/QTcLylqf6L16EXYOfLuG+qsekvRzDulM/2lA2yoc=; b=VZGYqxqIBwXoMLjwjbaXqIHTUW3UAh42GvYFR8U/naw2NF1DqmhdbMbxeF7IklIRf1IOo4tk5bXZ80cPdZKbqa8qwbTHtk4VoaPvvRnLpbN/1L05iOXn04xHEAL+47rj5Zu16jig0lRjUhYfzM7IwcnUE9V9hii/TTk5vOmZ2S4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=xuvwAaA4F0KqIcM1v9GZ0t1T7+uMeOArVHOukPzVf00dsXIan/0jHI9QJ8sJwVhoa1ywjxx7Xp9D3sBJIRc0ylRxH6VHBZcI8Bfo7L6NwBvcLvPyiftSUdTyuejgbVnHKBTtqwCLKAiOtBkDmOu4wzbOrGe2dFUUPIsnDT5poj0= Received: by 10.142.52.9 with SMTP id z9mr1665787wfz.134.1201301504644; Fri, 25 Jan 2008 14:51:44 -0800 (PST) Received: by 10.142.51.19 with HTTP; Fri, 25 Jan 2008 14:51:44 -0800 (PST) Message-ID: <86068e730801251451n650b7abcyf3d008fddec2c33f@mail.gmail.com> Date: Fri, 25 Jan 2008 14:51:44 -0800 From: "Jerry Toung" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Fri, 25 Jan 2008 23:17:09 -0000 Hello list, 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). All the files that need to be re-generated, have been. I ran make buildworld then make kernel. I don't run make installworld because it will not complete (modified libc.so.6). So, just before I reboot, I cp my newly built libc.so.6 from /usr/obj/../lib to /lib/. then power off the box. When it comes back, it panics in kern/kern_exit.c with "Going nowhere without my init!" How can I make this work? Is my initial objective even possible? I think the correct approach would be to have a cpu that no else in the world has, any in between solution.? Thank you for reading, Jerry