From owner-freebsd-current@FreeBSD.ORG Wed Aug 16 11:26:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A21A416A4E6 for ; Wed, 16 Aug 2006 11:26:06 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09FE343D81 for ; Wed, 16 Aug 2006 11:25:37 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F67B.dip.t-dialin.net [84.165.246.123]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k7GB9BPh080220; Wed, 16 Aug 2006 13:09:12 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k7GBPeCp036048; Wed, 16 Aug 2006 13:25:40 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 16 Aug 2006 13:25:39 +0200 Message-ID: <20060816132539.owwerbnw0okwc8wo@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 16 Aug 2006 13:25:39 +0200 From: Alexander Leidinger To: Peter Jeremy References: <20060815141151.15ae4349@Magellan.Leidinger.net> <44E1BD03.2030402@FreeBSD.org> <20060815144625.362bf376@Magellan.Leidinger.net> <44E1C3E4.7080508@FreeBSD.org> <20060815153451.604d16f1@Magellan.Leidinger.net> <44E1E85D.5070805@FreeBSD.org> <20060815180713.6a4ee2e6@Magellan.Leidinger.net> <20060815212143.G45647@fledge.watson.org> <20060816002328.365a14cd@Magellan.Leidinger.net> <20060816090653.GA820@turion.vk2pj.dyndns.org> In-Reply-To: <20060816090653.GA820@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.2) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org Subject: Re: HEADS-UP: starting to commit linuxolator (SoC 2006) changes... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 11:26:06 -0000 Quoting Peter Jeremy (from Wed, 16 Aug =20 2006 19:06:53 +1000): > On Wed, 2006-Aug-16 00:23:28 +0200, Alexander Leidinger wrote: >> For the curious ones: the code is "activated" by changing osrelease, >> because the glibc behaves differently depending on the osrelease. It >> makes different syscalls based upon the linux kernel version. So if >> there's a program which tries if a syscall does not return ENOSYS >> instead of checking the osrelease, it may fail. If you are aware of >> such a program, please tell us about it. > > I don't think this was mentioned before. IMHO, this is worth It's mentioned in /usr/ports/UPDATING (as in: make sure you don't =20 change the default osrelease). > mentioning in the linuxolator documentation because it's not > immediately obvious and it's likely to bite someone in a non- > obvious way. It should be mentioned in the official docs that a non default value =20 may change the behavior of linux programs (in -stable you may see =20 coredumps when you change the sysctl) and that bug reports with a non =20 default value will not be taken care of. The intend is to change the default value to 2.6.x when the code is =20 stable enough. So we don't need to name specific values for osrelease, =20 I think. Bye, Alexander. --=20 does your DRESSING ROOM have enough ASPARAGUS? http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137