[CRIU] [PATCH] fsmptify: Filter out internal inotify bits when restoring marks

Cyrill Gorcunov gorcunov at gmail.com
Tue Sep 29 01:30:48 PDT 2015


On Mon, Sep 28, 2015 at 10:08:56PM +0300, Pavel Emelyanov wrote:
> On 09/22/2015 04:36 PM, Cyrill Gorcunov wrote:
> > On Tue, Sep 22, 2015 at 04:15:43PM +0300, Andrew Vagin wrote:
> >>>>
> >>>> I think we need only exclude FS_EVENT_ON_CHILD. Otherwise we will skip a
> >>>> new flags, when they will add into the kernel.
> >>>
> >>> New flags are gonna be defined in uapi/ as well so criu is depending on which
> >>
> >> If you will exclude only FS_EVENT_ON_CHILD, the code will work for all
> >> kernel. The current version depends on IN_ALL_EVENTS, which can be
> >> changed in the next kernel.
> > 
> > You miss the point. It was a bug in the kernel that it has been exporting
> > internal bit into userspace. 
> 
> Have they fixed it?

Yes. This bit no longer shown in userspace.


More information about the CRIU mailing list