Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp636698rdb; Sat, 19 Aug 2023 17:32:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESitx3f0KQ6qkvkGa2WeJTeuUbnYlLCitWaek0nNXpC/OgzgNetR2phrRBcVt70y74RJ4a X-Received: by 2002:a17:907:2178:b0:99d:dc0b:a89a with SMTP id rl24-20020a170907217800b0099ddc0ba89amr2221093ejb.63.1692491560899; Sat, 19 Aug 2023 17:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692491560; cv=none; d=google.com; s=arc-20160816; b=fPF5aZHgqfxK4K50AkSZ2fO+BzCl/3JooUndQhkTc4jSEloawQI7TRuz3GhWCbrZsz UmlQScYVkVk/mvICY3EhOrIUjOHb88alHcYOXUMNW3VD+AS63xPac09y71c9caCxkkB7 0wC0hdSTOSTW6z+q9980Rw2PLSl1vzx5gEDN1SWGgs3gHRMdlpsWUT9Oqu1pQiYrFTsc zsq/td5Mnmt4MIL12aVxPrn0dRzejTswBxc5Smqly6hSgBvWAdLIa20vvkKPH7tBTxYk yzbFlR5Y8uGxOknBBeQBq5jYeDZaabZ6rnYXb7sIn3Sgt0iMoH8gAqtPM8yodSZ+wEOY fjRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=a6FlFcIlYWk0HpLBNy+KrPATx9hFM0S2ACuQc8WEAQw=; fh=BXjiYsH73EvZguOubQAw3JVHL6/Vfvuzxv6Y4TYKjy0=; b=gGBOlfUPLXrmDZ4HP1QRHiiVR0ZnLr4/M8EEElMtp6KGSnvMnNJ1TT5d7+AD54YklC kDkDC5akBTj89ZHLpPULggJL7ok7d00AWDHjzSn5RS/SJNY/5nysofwaZNpGyRzxbG0v OG6GeSBGsgGKUM7ExmdHkTLXBVaFPKwH8nFhLXmoJG3acciqznn9y264tRRKbgYzZ79N blpTNXNyoKZDWuYhGzA5gRQq8cewlLRdLZ1HckvuR409u1y8nZpiW8A9gGe7SpwqgphA TXQnBN/J7h6lXU5pBSbqp63nRGqc3uRo9R8P+PlAHgEeG/GB7cO61Exrzg3psem1AsDU IKhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me17-20020a170906aed100b0099327749bddsi3171087ejb.125.2023.08.19.17.32.16; Sat, 19 Aug 2023 17:32:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbjHTASc convert rfc822-to-8bit (ORCPT + 99 others); Sat, 19 Aug 2023 20:18:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjHTAR6 (ORCPT ); Sat, 19 Aug 2023 20:17:58 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E63CC9B0B; Sat, 19 Aug 2023 14:08:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id D724463DB803; Sat, 19 Aug 2023 23:08:11 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id kHl1OPWAh-P7; Sat, 19 Aug 2023 23:08:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 7AB6963DB801; Sat, 19 Aug 2023 23:08:11 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5W9G0FvcbqQr; Sat, 19 Aug 2023 23:08:11 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 3B78E63DB7E5; Sat, 19 Aug 2023 23:08:11 +0200 (CEST) Date: Sat, 19 Aug 2023 23:08:11 +0200 (CEST) From: Richard Weinberger To: masahiroy Cc: anton ivanov , Johannes Berg , linux-um , linux-kernel , linux-kbuild , Jiri Slaby , bp , dave hansen , hpa , mingo , tglx , x86 Message-ID: <707999896.6490583.1692479291135.JavaMail.zimbra@nod.at> In-Reply-To: <20230721171857.3612639-1-masahiroy@kernel.org> References: <20230721171857.3612639-1-masahiroy@kernel.org> Subject: Re: [PATCH v2 1/2] UML: hard-code the result of 'uname -s' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: hard-code the result of 'uname -s' Thread-Index: QAVkLQ/mIgPHvNavgfzggSVolfSknw== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "masahiroy" > We rely on 'uname -s' returning 'Linux' because there are os-Linux/ > directories, but no other os-*/. > > Supporting a non-Linux host is unlikely to happen. > > Let's hard-code 'Linux'. While I agree that a non-Linux version is unlikely I'd like to know why we can't keep the uname -s check? I guess to avoid unnecessary command execution? Thanks, //richard