Received: by 10.223.185.116 with SMTP id b49csp100801wrg; Tue, 20 Feb 2018 16:50:15 -0800 (PST) X-Google-Smtp-Source: AH8x225ury1xrEUE2VIP5u6bPZAdi1AsrH48DuYFs+m7H0UogYJWHjSbjqxXzbpG38KkqUlKuq1L X-Received: by 10.98.63.147 with SMTP id z19mr1390879pfj.221.1519174215817; Tue, 20 Feb 2018 16:50:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519174215; cv=none; d=google.com; s=arc-20160816; b=KO+5ukr9oyV5iOTYg4rHw5SSzBYjEyhFqiz6cZgIpO0XSnuyJIHXs9g2VFV4kSTk/Q DdBpU5SHT8nlEub2a6l8gIW12VutEwOVUi4idrkR4MaS4GyHNFUxckLKTTRlr6yCiVxm 5hFPwUCgXsFckyg4r3K4BJWsqG47K0rEH8HPXhuU3Ag+NmbuWNeZH0hJDNIAmvk9XKp2 +sMniEu/i2GWHnQ158Fa3yHOzAqwyn74QVtESeG066ZKkOozkwqEVGrqYKOlQyLtpev2 MEkg/zy1G+o4cAGnR7zbtg97KeZDMKgN8tFaan8hp4vo226br51wQF5eJnx35XNxd+ga mInw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Hs9bUPEbIJYLzyHjnt2EVjiNVkYmAcDE0RlaqLOJ6t8=; b=FZfSjMBaAWwB/UGasbLd2Rttwyb4QoVvKdxNjGHBPcxipLD5+bA/0aE7W4yg9yLnkw n+rUlq26+Bg1MeyjIfLWm4TdqlkbOm0mpfo1RFPf2jqnkhsPCOz4mMGYqkRMKYeCx6PK qwQFAiyH2SWJ9pGkX9240DbtnmyqaHoDu0K3qWOv4Z4ssWNrYCrQ5gssA/4a7iEgM0vD WYW9b0pTaGIwAsQI5kVqC2qnNE23PvVQdEnMzwN9SSfnJ+Q4+oniQD084s+s3/B4xflu FMsUDyqKaVWwWh1iYa1F8X+wojwqu0yAYpcZK/je/a3vR00QL8ry7tX3OR3cUIoPQXJd zOuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Fc7G2ncK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8-v6si716325plg.283.2018.02.20.16.50.01; Tue, 20 Feb 2018 16:50:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Fc7G2ncK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751312AbeBUAtS (ORCPT + 99 others); Tue, 20 Feb 2018 19:49:18 -0500 Received: from mail-io0-f175.google.com ([209.85.223.175]:40622 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbeBUAtP (ORCPT ); Tue, 20 Feb 2018 19:49:15 -0500 Received: by mail-io0-f175.google.com with SMTP id t22so317733ioa.7; Tue, 20 Feb 2018 16:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Hs9bUPEbIJYLzyHjnt2EVjiNVkYmAcDE0RlaqLOJ6t8=; b=Fc7G2ncK8ltG5V5SezogX4osE3Hr0k5O/4d+nJAP9vOmWimavg4hC9tJ7lj8OqiuPb kGkGIc92sg1M284R1NPTrG5ImwwA1s4S4K4WHNz89YtOJHQTs7iTgR/VlGa/fpEVbwiw n7r5BrOb+1C5ix4iBkYJwQsdA8AeEX38JtMKnRCBnDmiAhescy5kbe3SmJANIEE/t7hi 30uwQs9F012/1xe9EH811LmXVuungUVw3zfJG4E7odBVlACuFBqWccyPdHCaXoZXY1v8 C1Q650W3PCt9I+axa0R0k0hlILETmRFpQ+R0rbLfQGwHBj6bxGIpNcPhXLlVwWVr05hj jo5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Hs9bUPEbIJYLzyHjnt2EVjiNVkYmAcDE0RlaqLOJ6t8=; b=Cu4LbNW3tTumtCKlhpo/WgJMYXEe/cTpE5bJrGrsnJcygL2S9kGyGBUT33AyJMu5wC GoN7z7J8CClKrbKFPAhd66Nh/deAbGShaBkOQqZdgV9oeM3UQsVW4Ya3w8z4T9M2moT9 BdJfsZ8ij7G2BMsuZ4Lv9lsPGD5tNdVSXu7JD+wa6mGHrJ5kDIAehyXAy1DkyzmZF5J/ uSr6I8fz2o8nDHprB8m6l3KiiuL0X8qGVCXmgj5bnC4Q/w1yQw826l3gIJt93o9Gn9mH C+piOyu8VNhW/eE64eMjAqum/D+oYG7q7IbBa1DJUWjEDKK4/G9LIknzrqD+mpJ/CGm6 WMcw== X-Gm-Message-State: APf1xPBNJgNY6EjEGyf0wggONZmFuRcW+DiT1E35sfZQ5HvlVAB2kPZa 5ien67Bxd8suh6/0nLouOrzSN/LMn5VtGbaI0uw= X-Received: by 10.107.22.1 with SMTP id 1mr2139508iow.238.1519174154722; Tue, 20 Feb 2018 16:49:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Tue, 20 Feb 2018 16:49:14 -0800 (PST) In-Reply-To: <20180220233008.55rfm7zw62hrao5p@agluck-desk> References: <20180215182208.35003-1-joe.konno@linux.intel.com> <20180215182208.35003-2-joe.konno@linux.intel.com> <6680a760-eb30-4daf-2dad-a9628f1c15a8@kernel.org> <20180220211849.fqjb6rdmypl6opir@agluck-desk> <20180220233008.55rfm7zw62hrao5p@agluck-desk> From: Linus Torvalds Date: Tue, 20 Feb 2018 16:49:14 -0800 X-Google-Sender-Auth: 5ysrwbO2sU8z0hnTDvf6f7BkDKQ Message-ID: Subject: Re: [PATCH 1/2] fs/efivarfs: restrict inode permissions To: "Luck, Tony" Cc: Joe Konno , linux-efi@vger.kernel.org, Linux Kernel Mailing List , Ard Biesheuvel , Matthew Garrett , Jeremy Kerr , Andi Kleen , Matthew Garrett , Peter Jones , Andy Lutomirski , James Bottomley Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 20, 2018 at 3:30 PM, Luck, Tony wrote: > > Too much weasel there. Should say: > > EFI[1] stinks. Reading any file in /sys/firmware/efi/efivars/ generates > 4 (yes FOUR!) SMIs. Is that actualkly the normal implementation? Also, if these are just synchronous SMI's, then don't we just end up correctly assigning the CPU load to the reader, and it doesn't actually matter? Where's the DoS? Linus