From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 20 06:33:46 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2B5F106566B for ; Sun, 20 Sep 2009 06:33:46 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3A48FC1A for ; Sun, 20 Sep 2009 06:33:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0A3BF9CB0D8; Sun, 20 Sep 2009 08:30:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ah7a0Yu3ACtv; Sun, 20 Sep 2009 08:30:17 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 9AB129CB28F; Sun, 20 Sep 2009 08:30:17 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n8K6UHs1013039; Sun, 20 Sep 2009 08:30:17 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 20 Sep 2009 08:30:17 +0200 From: Roman Divacky To: Alexander Leidinger Message-ID: <20090920063017.GA12687@freebsd.org> References: <20090919223624.00004f42@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090919223624.00004f42@unknown> User-Agent: Mutt/1.4.2.3i Cc: Alexander Best , freebsd-emulation@freebsd.org Subject: Re: compat.linux.osrelease behavior X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 06:33:46 -0000 On Sat, Sep 19, 2009 at 10:36:24PM +0200, Alexander Leidinger wrote: > On Fri, 18 Sep 2009 15:08:31 +0200 (CEST) Alexander Best > wrote: > > > > hi there, > > > > i have a question regarding the behavior of compat.linux.osrelease. > > setting it to 2.4.2 sets linuxulator into 2.4 kernel-emulation and > > 2.6.16 sets it into 2.6 kernel-emulation right? > > Sort of. 2.6.x set's 2.6 mode, and everything else is 2.4 mode. But > this is AFAIK only a semantic change of some functions. This does not > disable syscalls which are in 2.6 but not in 2.4. > > > but what happens when compat.linux.osrelease gets set to a different > > value? ports/Updating entry 20071101 e.g. advises skype users to set > > compat.linux.osrelease to 2.4.20. does this trigger 2.6 > > kernel-emulation because 2.4.20 > 2.4.2 or are there more than two > > kernel-emulation layers inside the linuxulator?? > > It does not affect the kernel emulation. But the glibc will try to use > new syscalls. actually it does change how the kernel emulation works. grep for linux_use26()