From owner-svn-doc-head@freebsd.org Sun Apr 16 16:05:19 2017 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F5D5D40473; Sun, 16 Apr 2017 16:05:19 +0000 (UTC) (envelope-from marc@blackend.org) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4922D1160; Sun, 16 Apr 2017 16:05:19 +0000 (UTC) (envelope-from marc@blackend.org) Received: from emphyrio.blackend.org (unknown [88.179.1.53]) by smtp2-g21.free.fr (Postfix) with ESMTPS id 61B722003CA; Sun, 16 Apr 2017 18:05:07 +0200 (CEST) Received: from emphyrio.blackend.org (localhost [127.0.0.1]) by emphyrio.blackend.org (8.15.2/8.15.2) with ESMTPS id v3GG536Z001383 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 16 Apr 2017 18:05:03 +0200 (CEST) (envelope-from marc@emphyrio.blackend.org) Received: (from marc@localhost) by emphyrio.blackend.org (8.15.2/8.15.2/Submit) id v3GG531Q001382; Sun, 16 Apr 2017 18:05:03 +0200 (CEST) (envelope-from marc) Date: Sun, 16 Apr 2017 18:05:02 +0200 From: Marc Fonvieille To: Dru Lavigne Cc: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: Re: svn commit: r41051 - head/en_US.ISO8859-1/books/handbook/linuxemu Message-ID: <20170416160502.GA1105@emphyrio.blackend.org> References: <201302261652.r1QGqhPY085519@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201302261652.r1QGqhPY085519@svn.freebsd.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2017 16:05:19 -0000 On Tue, Feb 26, 2013 at 04:52:43PM +0000, Dru Lavigne wrote: > Author: dru > Date: Tue Feb 26 16:52:43 2013 > New Revision: 41051 > URL: http://svnweb.freebsd.org/changeset/doc/41051 > > Log: > Initial pass through chapter which does some tightening, modernizing, and fixes "you" and &os;. > This chapter still needs a lot of testing and modernization. The ulink/xref tags need further review as well. > > Approved by: gjb (mentor) > > Modified: > head/en_US.ISO8859-1/books/handbook/linuxemu/chapter.xml > Hello, I used my time-machine to read an old commit :-) - So why is it sometimes called Linux - emulation? To make it hard to sell FreeBSD! - Really, it is because the historical implementation was done - at a time when there was really no word other than that to - describe what was going on; saying that FreeBSD ran Linux - binaries was not true, if you did not compile the code in or - load a module, and there needed to be a word to describe what - was being loaded—hence the Linux - emulator. - - - + operations, signal delivery, and System V IPC. The only + difference is that &os; binaries get the &os; + glue functions, and &linux; binaries get + the &linux; glue functions. The &os; + glue functions are statically linked into + the kernel, and the &linux; glue + functions can be statically linked, or they can be accessed + via a kernel module. + + Technically, this is not really emulation, it is an + ABI implementation. It is sometimes called + &linux; emulation because the implementation + was done at a time when there was no other word to describe + what was going on. Saying that &os; ran &linux; binaries was + not true, since the code was not compiled in. + The last sentence seems misleading from here. I could understand the original version, but the new sentence seems weird for me. What about something like: "Saying that FreeBSD ran Linux binaries was not true, until the Linux support code has been compiled in or the module loaded." ? Please correct me, if I'm wrong. -- Marc