From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326AbeBUAtS (ORCPT ); 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 X-Google-Smtp-Source: AG47ELuDvKmhNzdjPL74zM59W+Kh8/aajJanrSlWvwuhYc1doQBCtNSunc//5QTSUmb4usnVP4RBilxolK80yjwxuVQ= MIME-Version: 1.0 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 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