[CRIU] [PATCH 1/2] util: add a function to check output data in a file descriptor
Andrey Wagin
avagin at gmail.com
Mon Sep 1 14:24:35 PDT 2014
2014-09-02 1:19 GMT+04:00 Cyrill Gorcunov <gorcunov at gmail.com>:
> On Tue, Sep 02, 2014 at 01:15:02AM +0400, Andrew Vagin wrote:
>> On Tue, Sep 02, 2014 at 12:40:39AM +0400, Cyrill Gorcunov wrote:
>> > On Tue, Sep 02, 2014 at 12:25:13AM +0400, Andrey Vagin wrote:
>> > > We can't dump netlink socket, inotify, fanotify, if they have queued
>> > > data, so lets add a function to chech this.
>> > >
>> > > Signed-off-by: Andrey Vagin <avagin at openvz.org>
>> >
>> > We were dumping such fsnotify objects before and now we're refusing,
>> > you propose to patch the kernel? I mean, how to deal with it?
>>
>> CRIU should not affect the application logic. If we want to ignore
>> events, we need ask permission for this from a user.
>
> I see. Thus add the option as well I think, otherwise we're breaking
> existing work. Up to Pavel though.
We have a main concept to not affect application logic without
permissions. Each time when we fix criu according with this concept,
we break nothing.
More information about the CRIU
mailing list