From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 3 14:39:12 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 4B2A7106566B for ; Sun, 3 Jul 2011 14:39:12 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id ED7748FC22 for ; Sun, 3 Jul 2011 14:39:11 +0000 (UTC) Received: by iwr19 with SMTP id 19so5254445iwr.13 for ; Sun, 03 Jul 2011 07:39:11 -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:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=ywEW97PRskKNnooDp2/Ej4MbVsb7Q4BeIa2i2SnhV+E=; b=Rb2DIxf8gM7NszZ4Il8YGKqeRVBC0rLiCRQQEudyQl2qDzrPpOndcYxi8/fnhQynju uyyZA/5tFDoFzPRRf/8ipIqLNfAyFPTjskN+PPsY5ahghvsqCaDX1ilTvxKCeCsMv1SD wADvkPnjrXdGYhy+a6BrRB0dFeNi7g94Hp3Hk= Received: by 10.42.172.133 with SMTP id n5mr112046icz.421.1309703951126; Sun, 03 Jul 2011 07:39:11 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.155.141 with HTTP; Sun, 3 Jul 2011 07:38:41 -0700 (PDT) In-Reply-To: <20110703103531.4a553271@kan.dnsalias.net> References: <20110702193724.5c55a6c9@kan.dnsalias.net> <20110703020827.GA5763@sandvine.com> <20110703103531.4a553271@kan.dnsalias.net> From: Chris Rees Date: Sun, 3 Jul 2011 15:38:41 +0100 X-Google-Sender-Auth: 5U_VNvNb4UE9Wf8yi82mO-AXxWY Message-ID: To: Alexander Kabaev Content-Type: text/plain; charset=ISO-8859-1 Cc: Garrett Cooper , freebsd-hackers@freebsd.org, Millan , Ed Maste , Robert@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: Sun, 03 Jul 2011 14:39:12 -0000 2011/7/3 Alexander Kabaev : > > __linux__ is exactly what __FreeBSD__ is and dies not identify kernel > but rather Linux as whole OS, whatever that might be these days. > > There does not appear to be an universal macro that identifies > environment as using Linux kernel regardless of the rest of components > used (say, to identify Android and Ubuntu or something embedded with > ucLibc as running Linux kernel with different userland > implementations). Please-- Linux is not and has never been an OS. __linux__ applies to the kernel, the OS is called GNU/Linux. Call me pedantic, but that was a nonsensical statement. Chris