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=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 EDFF1C2D0A3 for ; Thu, 29 Oct 2020 19:18:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 86EDC2076E for ; Thu, 29 Oct 2020 19:18:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="WoQGeX6a"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="NRIQsjY9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726132AbgJ2TSp (ORCPT ); Thu, 29 Oct 2020 15:18:45 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44009 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbgJ2TSf (ORCPT ); Thu, 29 Oct 2020 15:18:35 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 641415C0154; Thu, 29 Oct 2020 15:18:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 29 Oct 2020 15:18:34 -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:in-reply-to; s=fm2; bh=A+tR7LRyNOp7mORAAFKltvWRx4+ z/NkLgTl5JCNqOrQ=; b=WoQGeX6a9UmmWtoIYxbPYLwkElQgA2rQf7p0UxN2SW0 6aIEF3VBOo5fUoCJazXh5tWWfOfwLfjZnWawXiJeqwihoqoPFmbNdO2zf7/Vyko2 QbHfSXvT1npC7/JLulR8q7pnem4XVfNSH6m9o35qNzsrsI7s31YxlHjUKLVszjtt FPxOuBQtb3P0K+EkqAQm/sIqd0wvsogvwb1Swo1IxvXzXh0TEAa4yYVcuHoEfJwS H31YGOwn8Ze+mVtM3QS+oFJl0XpR4BHMiVi3CIQkoiXDhv6yd0XIJL2jA+1psw2C L1QZik+SEXp8xZAqqPFapJoxsQvCckZxxmtcr7ghS0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; bh=A+tR7L RyNOp7mORAAFKltvWRx4+z/NkLgTl5JCNqOrQ=; b=NRIQsjY9U5stD901XHVuZZ UAqgB0h3bTPC9+LfPpfL3D/j0kXkxnrUCPMlZUhJrosMquKhqNxIeeGbhiDobxXc SnMLc/h9o+fc0k9UHM1vsfMJ89FHfSRhw/pC3SqFYjsG3muE2Ett///8WFa6EbAF V/N8sFkx9PSK809RPhUysI7IUEXKusb2pJ2ZIKJ/s+hZQ2e4g2bnDYBMSJZYp2ae dRQYirWRAE4YLXVu4tfhPrlggzH508ZpVMFlmIpWnCXRBVQ/h3+6hiCWodJlQKze ovl3Pi6wB70uGrgjC24LRXoiXsdOfChifytAOY1OiFeeP8OS0Dlpcy6+H/s/Rw+g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleefgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeeuleeltd ehkeeltefhleduuddvhfffuedvffduveegheekgeeiffevheegfeetgfenucffohhmrghi nhepkhgvrhhnvghlrdhorhhgnecukfhppeekfedrkeeirdejgedrieegnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghh rdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 8315E328005D; Thu, 29 Oct 2020 15:18:33 -0400 (EDT) Date: Thu, 29 Oct 2020 20:19:23 +0100 From: Greg KH To: dann frazier Cc: stable@vger.kernel.org, Michael Schaller , Ard Biesheuvel , Matthew Garrett , Jeremy Kerr , linux-efi@vger.kernel.org Subject: Re: [PATCH 4.4-5.9] efivarfs: Replace invalid slashes with exclamation marks in dentries. Message-ID: <20201029191923.GB988039@kroah.com> References: <20201029175442.564282-1-dann.frazier@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201029175442.564282-1-dann.frazier@canonical.com> Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org On Thu, Oct 29, 2020 at 11:54:42AM -0600, dann frazier wrote: > From: Michael Schaller > > commit 336af6a4686d885a067ecea8c3c3dd129ba4fc75 upstream > > Without this patch efivarfs_alloc_dentry creates dentries with slashes in > their name if the respective EFI variable has slashes in its name. This in > turn causes EIO on getdents64, which prevents a complete directory listing > of /sys/firmware/efi/efivars/. > > This patch replaces the invalid shlashes with exclamation marks like > kobject_set_name_vargs does for /sys/firmware/efi/vars/ to have consistently > named dentries under /sys/firmware/efi/vars/ and /sys/firmware/efi/efivars/. > > Signed-off-by: Michael Schaller > Link: https://lore.kernel.org/r/20200925074502.150448-1-misch@google.com > Signed-off-by: Ard Biesheuvel Any reason you are not signing off on this? :(