Re: [PATCHv5 5/7] fanotify: enable close-on-exec on events' fd when requested in fanotify_init()

2014-01-20 Thread Yann Droneaud
Hi Lino, I've recently sent this patch which may fix a bug in the way fanotify creates its file descriptors. I failed to noticed you've been working recently on fanotify subsystem and miss the opportunity to add you in the Cc:s. Please have a look to this patch and help to get it merged. Le

Re: [PATCHv5 5/7] fanotify: enable close-on-exec on events' fd when requested in fanotify_init()

2014-01-20 Thread Yann Droneaud
Hi Lino, I've recently sent this patch which may fix a bug in the way fanotify creates its file descriptors. I failed to noticed you've been working recently on fanotify subsystem and miss the opportunity to add you in the Cc:s. Please have a look to this patch and help to get it merged. Le

[PATCHv5 5/7] fanotify: enable close-on-exec on events' fd when requested in fanotify_init()

2014-01-05 Thread Yann Droneaud
According to commit 80af258867648, file descriptor created as part of file access notification events inherit flags from the event_f_flags argument passed to syscall fanotify_init(2). So while it is legal for userspace to call fanotify_init() with O_CLOEXEC as part of its second argument,

[PATCHv5 5/7] fanotify: enable close-on-exec on events' fd when requested in fanotify_init()

2014-01-05 Thread Yann Droneaud
According to commit 80af258867648, file descriptor created as part of file access notification events inherit flags from the event_f_flags argument passed to syscall fanotify_init(2). So while it is legal for userspace to call fanotify_init() with O_CLOEXEC as part of its second argument,