From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 4 17:47:59 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8BC716A406 for ; Wed, 4 Apr 2007 17:47:59 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6E913C458 for ; Wed, 4 Apr 2007 17:47:59 +0000 (UTC) (envelope-from zombyfork@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so231740wra for ; Wed, 04 Apr 2007 10:47:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=F6QuyFN/3NnZ2Ej0FzMt2EPcqmspTKTMpCvGrZcP4t7sssrDaQWDXQ8GwNinvTtUEYw3F4W6DiBFKCRMMJggXUUwKnknjNCNu/9ENf5AYBO3q/I4JEe8CsqAGSwz9+dR4QNvtdBXZ31mFaNiDLJJGnWZLfHGXxDbE4KnrsuasIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=N63kwL+tMJ0DqSIIhfgnvFvbJf8KRA6CuslwWef7vYCshhvE6aWVwxYEGzzySNoMD9TROYszjfvmWKE8o6GwTbbRLi8mt3G/Fekyd46RX7iZ+PtyWYpGSZwz5UanGKFQruW4nCzbkAzIlaFmMyUZqWMWNl5I2ox0bO7WxLYXpi0= Received: by 10.115.33.1 with SMTP id l1mr366607waj.1175708877532; Wed, 04 Apr 2007 10:47:57 -0700 (PDT) Received: by 10.115.15.4 with HTTP; Wed, 4 Apr 2007 10:47:57 -0700 (PDT) Message-ID: <346a80220704041047m210eb788h4f1d9aebcde3e99e@mail.gmail.com> Date: Wed, 4 Apr 2007 11:47:57 -0600 From: "Coleman Kane" To: "Robert Watson" In-Reply-To: <20070404153559.Y18288@fledge.watson.org> MIME-Version: 1.0 References: <20070404130249.GA41671@kukulies.org> <17939.44784.420806.421633@bhuda.mired.org> <20070404153559.Y18288@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org, Mike Meyer Subject: Re: Mac OS underlying FreeBSD - does it run Linux emulation? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@cokane.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 17:48:00 -0000 On 4/4/07, Robert Watson wrote: > > > On Wed, 4 Apr 2007, Mike Meyer wrote: > > > In <20070404130249.GA41671@kukulies.org>, Christoph P. Kukulies < > kuku@kukulies.org> typed: > >> does anyone know whether one can run Linux applications under the > underlying > >> FreeBSD of the MAC OS (on an Intel Core Duo mini Mac)? > > > > No, you can't. The "underlying" FreeBSD is userland code; not kernel > code. > > The OSX kernel is based on Mach. > > While it's true you can't run Linux binaries on Mac OS X, it's not for the > reason you're suggesting, and your statement regarding FreeBSD kernel code > in > Mac OS X is simply incorrect. The Mac OS X kernel, XNU, contains > significant > quantities of FreeBSD kernel source code, including a FreeBSD-derived VFS > and > network stack. Other parts of the kernel, such as the scheduler and VM > system, are derived from Mach. While the FreeBSD-derived code has been > significantly modified since it was originally forked, a lot of code moves > backward and forward between the platforms: the FreeBSD audit subsystem is > derived from the Mac OS X audit subsystem, and Mac OS X's smbfs and MAC > Framework support are derived from FreeBSD. > > Robert N M Watson > Computer Laboratory > University of Cambridge In addition to this, there have been examples of the Linux kernel hosted by Mach in the past (such as MkLinux). From my understanding, the only thing that prevents this from being realized is that nobody has sat down to actually write/port the code to do it. -- Coleman Kane