From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 6 06:49:50 2011 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 B91B3106566B for ; Wed, 6 Jul 2011 06:49:50 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9828FC0A for ; Wed, 6 Jul 2011 06:49:50 +0000 (UTC) Received: by pzk27 with SMTP id 27so5024871pzk.13 for ; Tue, 05 Jul 2011 23:49:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=j/QAN53pM5Vwm5vPMTY2vcwgnO79NPa4/2Im2KHtRD4=; b=FAVeATGIT3my9QNLghC41E/Cch5oRzEWz66KOuTNyYXkf7DNnbrImNaKKJDnRIagSK A22JrUj2hxv1WJgpGCDpj9e4CWDP/rzpzhg/SYapja4qb9t32Cgcg0wLpfx/Q0JObJBK ZvN9NUX4pFD91LW5+K0/mlp7QtlTIs4qUFifY= MIME-Version: 1.0 Received: by 10.68.50.9 with SMTP id y9mr10825149pbn.24.1309934989950; Tue, 05 Jul 2011 23:49:49 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.57.4 with HTTP; Tue, 5 Jul 2011 23:49:49 -0700 (PDT) In-Reply-To: <20110705160236.1c20d810@kan.dnsalias.net> References: <20110702193724.5c55a6c9@kan.dnsalias.net> <20110703020827.GA5763@sandvine.com> <20110703103531.4a553271@kan.dnsalias.net> <20110705140527.17362ed5@kan.dnsalias.net> <20110705160236.1c20d810@kan.dnsalias.net> Date: Wed, 6 Jul 2011 08:49:49 +0200 X-Google-Sender-Auth: 5KDXZj-f1EfS7FbuMd56R6R4gIk Message-ID: From: Robert Millan To: Alexander Kabaev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] __FreeBSD_kernel__ 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: Wed, 06 Jul 2011 06:49:50 -0000 2011/7/5 Alexander Kabaev : > Only because there was no GNU/kFreeBSD before and people got lazy. Using > __FreeBSD__ to identify userland can be considered just as wrong > practice as using __linux__ for the same purpose, yet several years > have been spent fixing this on Linux and quick hack is somehow > appropriate for FreeBSD. Why do you keep arguing that intended use of > __FreeBSD__ is any different than one of __linux__? =C2=A0It is not and b= oth > should be fixed when misused. I think there's an underlying discussion about naming convention here. You said you wanted to leave it out of the list, but it is central to your argument. I try to keep a purely pragmatic approach, but when you say "using this name may work well, but it is wrong", then we have to argue about what is right and what is wrong, and we can't have a pragmatic discussion anymore. It has become http://tinyurl.com/qysbk already. >> I'm asking FreeBSD project to make life easier for a derivative that >> is, one way or another, part of its ecosystem, at no cost other than >> the time spent discussing the proposal. > > Not true, the change does break backward compatibility with older > software if the new macro were to be used as you propose, to enable the > code that is specific to FreeBSD kernel. It is a timing issue. I don't propose that the macro is used _before_ it has become appropiate to use it. A several year period would be necessary for 3rd party software. --=20 Robert Millan