[00/18,v2] unix: Restore deleted dgram sockets

Submitted by Cyrill Gorcunov on April 12, 2017, 1:58 p.m.

Details

Message ID 1492005518-15146-1-git-send-email-gorcunov@openvz.org
State New
Series "unix: Restore deleted dgram sockets"
Headers show

Pull-request download mbox

git pull git://github.com/cyrillos/crtools.git unix-7

Comments

Andrey Vagin April 20, 2017, 4:06 a.m.
Kirill, could you review this series?

On Wed, Apr 12, 2017 at 04:58:20PM +0300, Cyrill Gorcunov wrote:
> Hi, here is an updated series for dgram sockets. Please consider
> merging. I'll continue working on it because current solution
> is still not a final one -- need to address stream sockets
> and don't mangle names completely, which means more serios
> redesign needed.
> ----------------------------------------------------------------
> The following changes since commit 570db704bc101477da4a9ba30912c91953aeda0c:
> 
>   RPC: add version check interface (2017-04-08 01:38:08 +0300)
> 
> are available in the git repository at:
> 
>   git://github.com/cyrillos/crtools.git unix-7
> 
> for you to fetch changes up to 13ab949ccaed9bbf3e75b0a138a33b219542ca84:
> 
>   test: Add sk-unix01 test (2017-04-12 15:44:56 +0300)
> 
> ----------------------------------------------------------------
> Cyrill Gorcunov (18):
>       common: arch, ppc64 -- Add missing atomic_dec_and_test
>       restore: Add add_post_prepare_cb_once helper
>       tty: Use add_post_prepare_cb_once
>       pipes: Use add_post_prepare_cb_once
>       sk-unix: Make can_dump_unix_sk being boolean
>       sk-unix: Adjust unix_sk_cinfo members
>       sk-unix: Adjust unix_sk_info members
>       sk-unix: Use native types in unix_sk_info
>       sk-unix: Use generic xptr_pull in dump_one_unix_fd
>       sk-unix: Drop empty line
>       sk-unix: Use add_post_prepare_cb_once helper
>       sk-unix: Drop empty line at eof
>       sk-unix: Make USK_ flags in shift form
>       sk-unix: Collect deleted identical addresses in the queues
>       sk-unix: Don't warn if nothing to unlink
>       sk-unix: Print cwd been restored if @name_dir is present
>       sk-unix: Add ability to restore sockets with deleted vfs addresses
>       test: Add sk-unix01 test
> 
>  criu/include/crtools.h                 |  13 ++++
>  criu/pipes.c                           |   5 +-
>  criu/sk-unix.c                         | 405 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
>  criu/tty.c                             |   9 +--
>  include/common/arch/ppc64/asm/atomic.h |   2 +
>  test/zdtm/static/Makefile              |   1 +
>  test/zdtm/static/sk-unix01.c           | 305 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  test/zdtm/static/sk-unix01.desc        |   1 +
>  8 files changed, 660 insertions(+), 81 deletions(-)
>  create mode 100644 test/zdtm/static/sk-unix01.c
>  create mode 100644 test/zdtm/static/sk-unix01.desc
> -- 
> 2.7.4
> 
> _______________________________________________
> CRIU mailing list
> CRIU@openvz.org
> https://lists.openvz.org/mailman/listinfo/criu