[CRIU] [PATCH v2 0/9] epoll: Add support for duped targets

Dmitry Safonov 0x7f454c46 at gmail.com
Mon Jun 25 14:54:48 MSK 2018


2018-06-20 18:01 GMT+01:00 Cyrill Gorcunov <gorcunov at gmail.com>:
> We need to support a case where file has been added into
> epoll, then duped into some other number, and finally
> the former one is closed. So that epoll fdinfo will
> print no longer existing fd number (in this series
> we will find which new file is matching the target).
>
> v2:
>  - fix scm unix on the fly (we dont support them yet)

I'm not quite into epoll() C/R, but this looks good to me,
Reviewed-by: Dmitry Safonov <0x7f454c46 at gmail.com>

>
> Cyrill Gorcunov (9):
>   kcmp: Cleanup sources
>   kcmp: Beautify kcmp-ids.h
>   kcmp: Drop empty line at EOF
>   kcmp: Add epoll definitions
>   epoll: kdat -- Check if we have KCMP_EPOLL_TFD support
>   epoll: Pass drained fds to dump_one_file
>   epoll: Use real file transferred for target fds check
>   epoll: Use kcmp to find proper target file
>   test: eventfs00 -- Extend to test duped fd

Thanks,
             Dmitry


More information about the CRIU mailing list