Skip to content
Commit 4353f033 authored by Tony Luck's avatar Tony Luck Committed by Ard Biesheuvel
Browse files

efivarfs: Don't return -EINTR when rate-limiting reads



Applications that read EFI variables may see a return
value of -EINTR if they exceed the rate limit and a
signal delivery is attempted while the process is sleeping.

This is quite surprising to the application, which probably
doesn't have code to handle it.

Change the interruptible sleep to a non-interruptible one.

Reported-by: default avatarLennart Poettering <mzxreary@0pointer.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20200528194905.690-3-tony.luck@intel.com


Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 2096721f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment