Re: [PATCH 1/4] fanotify: flush outstanding perm requests on group destroy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tvrtko Ursulin
Date: Tuesday, August 24, 2010 - 2:51 am

On Tuesday 24 Aug 2010 10:36:29 Andreas Gruenbacher wrote:

That would be wait_event_killable then, even simpler change.

I agree that hiding -EINTR from open, from userspace code is probably a more
compatible way of doing it. If I remember correctly POSIX does allow EINTR
from open but form our experience there are indeed applications which do not
handle it. Some version of X immediately spring to mind who used to set up a
periodic signal delivery (something like internal jiffy, I think they called
it smart scheduler) to themselves and would not handle -EINTR from open. Samba
also had a problem here in specific circumstances.

Tvrtko


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4] fanotify: flush outstanding perm requests ..., Andreas Gruenbacher, (Mon Aug 23, 6:13 pm)
Re: [PATCH 1/4] fanotify: flush outstanding perm requests ..., Andreas Gruenbacher, (Tue Aug 24, 2:36 am)
Re: [PATCH 1/4] fanotify: flush outstanding perm requests ..., Tvrtko Ursulin, (Tue Aug 24, 2:51 am)