From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 015BAC433EF for ; Thu, 23 Sep 2021 08:58:01 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5ACAC60FE8 for ; Thu, 23 Sep 2021 08:58:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5ACAC60FE8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mTKY3-00019Z-K0; Thu, 23 Sep 2021 04:57:43 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mTKY0-00018M-RE for kernelnewbies@kernelnewbies.org; Thu, 23 Sep 2021 04:57:41 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 8C8873200754; Thu, 23 Sep 2021 04:57:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 23 Sep 2021 04:57:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm1; bh=S s5PV+qm8dNpv0/6CddYCFDo8BLcy2r4w8tQ7DUJjk8=; b=t4vmBgOAtbKlzxREP 3akKVWulHR6DY9LPV3WbgsOy7ybLPq9B8QcJuUZv7PBCIrcwR4y0cgBwkB2WD/if eVBZl25tLKSDTJPyjbNRQN5rJD3NiCORrEzekjo0MJ7J0+66wiTwX3c+rwspqyWM V41vObrdO7z/PUcaDew49G6rXmxAb9R4DENCjnlE9P5NlS8nIS/zlMAOARm0oy4G b5O8dSf5HK7LLYxXr5IGsyeQjinHCnzJNH2ZGOAKhAqpATMIE5GqmIGQF+XDBbD/ 81UV8e/Xsbhpn/laYT/uha320xl5rtzr5aqe8EDdw78ayYuuFc1NKSz6fF2w94po y48kg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Ss5PV+qm8dNpv0/6CddYCFDo8BLcy2r4w8tQ7DUJj k8=; b=rCgubd/gOzvxp2c5f+Inmvt+YjmJayakXc0blxz3cOjC5LPlpjJKAI0+c Z3arRpsVzQZ+kpnSWg0NBn7ytaVRjWx2sWttglrrQsjwYu1qwoLCcG+V9dpXHuVQ 0DmqmutCVBmDUeccj8mRcHqRYO0A2wz+Fvcl3s6TmUjC6KrEcXzNBEUkfixyNTCN +kRfODluCSzorDwi4Vx7YaWtqojPnhwKY1YQ2w/2MxV3p/YdA+SxWnX9r/mwbIV5 SvETjhd26P6w9gtsn79bUozLzJCoiC4lod4cvQ7Lhrae9Ema1u5N11AhmtMqe9WK HUlD1WyXRCr2WXkNYX+27FH+T4GoQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeiledgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepvdffgf euieeuhfehveehtefghedvfeegkeefveeujeeffedtteduteeihfehffdvnecuffhomhgr ihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Sep 2021 04:57:36 -0400 (EDT) Date: Thu, 23 Sep 2021 10:57:29 +0200 From: Greg KH To: Ruben Safir Subject: Re: efivars Message-ID: References: <20210922062222.GA6060@www2.mrbrklyn.com> <968231e8-69f3-872b-7451-4439744b2d4f@mrbrklyn.com> <163752.1632330280@turing-police> <05a84b4f-e65f-a52f-eb72-18fbcc7e9e4d@mrbrklyn.com> <87tuiblpcf.fsf@miraculix.mork.no> <20210923084128.GB24848@www2.mrbrklyn.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210923084128.GB24848@www2.mrbrklyn.com> Cc: =?iso-8859-1?Q?Bj=F8rn?= Mork , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: kernelnewbies-bounces@kernelnewbies.org On Thu, Sep 23, 2021 at 04:41:28AM -0400, Ruben Safir wrote: > On Thu, Sep 23, 2021 at 09:32:00AM +0200, Bj=F8rn Mork wrote: > > Ruben Safir writes: > > = > > > I really just want to know what efi varriables exist and why we have a > > > sys file for them > > = > > The "why" question is answered here: > > https://www.kernel.org/doc/Documentation/filesystems/efivarfs.rst > = > = > Thanks > = > I read that, but for my purposes it is circular. > = > They created another virtual fielsystem because the current > /sys and /proc entries seemed to fail to do something consistently = > as UEFI developed and was grafted on the current kernel. Creating new filesystems is trivial in the kernel, and these didn't fall into the rules allowed by sysfs, so a new one was created. Just because it is a new filesystem does not mean anything here. > It doesn't explain why these new variables were needed in the = > first place. They are exposed by UEFI for the OS and userspace to use for various things. The filenames should show you the functionality to look up in the UEFI spec if you are curious about anything specific in there. > > The "what" question doesn't have a short answer. If you don't want the > > long one, then that's fine. You don't need to worry about efi > > variables. Leave them alone and they will do you no harm. > = > They are a problem and present a securilty risk. What security risk specifically? And what problem specifically? > I can't change > anything and nobody asks me about OS design, but it does cause = > real problems and I run into them repeatedly at installfests. What specifc problems do they cause with installing a distro? Details please. thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies