summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2020-05-28 21:49:05 +0200
committerArd Biesheuvel <ardb@kernel.org>2020-06-15 14:38:56 +0200
commit4353f03317fd3eb0bd803b61bdb287b68736a728 (patch)
treef42a3901f5c168a091da25d3ad82f8584be2d36f /include
parentefivarfs: Update inode modification time for successful writes (diff)
downloadlinux-4353f03317fd3eb0bd803b61bdb287b68736a728.tar.xz
linux-4353f03317fd3eb0bd803b61bdb287b68736a728.zip
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: Lennart Poettering <mzxreary@0pointer.de> Signed-off-by: Tony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20200528194905.690-3-tony.luck@intel.com Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions