Re: [PATCH 1/2] fs/efivarfs: restrict inode permissions

From: Linus Torvalds
Date: Tue Feb 20 2018 - 19:49:22 EST


On Tue, Feb 20, 2018 at 3:30 PM, Luck, Tony <tony.luck@xxxxxxxxx> 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