Re: [PATCH v2 0/6] fanotify: Make wait for permission event response interruptible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Orion Poplawski <orion@xxxxxxxx>:

> I backported these patches to the RHEL7 kernel and have started
> running that. One thing I've noticed are messages like the following
> at login time:
>
> bash: /etc/bash_completion.d/itweb-settings.bash: Interrupted system call
>
> [...]
>
> But I'm wondering if these changes are leading to more EINTR returns
> from open() than expected. Of if this is the new "normal", or if this
> points to bugs in the antivirus software holding the fanotify
> callbacks.
>
> Thoughts?

A great observation!

I believe 99.9% of Linux software is unprepared for an EINTR from
regular file I/O. That might even be considered a violation of the
API.

(You problem report is reminiscent of what I'm experiencing with emacs'
"M-x compile" command. The compilation fails if I should change the
window geometry simultaneously because a SIGWINCH hits the compilation
job. Nothing to do with fanotify but somewhat analogous.)


Marko



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux