2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/fs/notify/fanotify
Jan Kara b519057981 fanotify: Make waits for fanotify events only killable
Making waits for response to fanotify permission events interruptible
can result in EINTR returns from open(2) or other syscalls when there's
e.g. AV software that's monitoring the file. Orion reports that e.g.
bash is complaining like:

bash: /etc/bash_completion.d/itweb-settings.bash: Interrupted system call

So for now convert the wait from interruptible to only killable one.
That is mostly invisible to userspace. Sadly this breaks hibernation
with fanotify permission events pending again but we have to put more
thought into how to fix this without regressing userspace visible
behavior.

Reported-by: Orion Poplawski <orion@nwra.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2019-02-21 11:47:23 +01:00
..
fanotify_user.c fanotify: Use interruptible wait when waiting for permission events 2019-02-18 12:41:16 +01:00
fanotify.c fanotify: Make waits for fanotify events only killable 2019-02-21 11:47:23 +01:00
fanotify.h fanotify: Use interruptible wait when waiting for permission events 2019-02-18 12:41:16 +01:00
Kconfig fanotify: Select EXPORTFS 2019-02-14 17:46:33 +01:00
Makefile fanotify: fanotify_init syscall declaration 2010-07-28 09:58:55 -04:00