[CRIU] [PATCH cr 0/5] Don't open files from parasite and use a correct logging descriptor. (v2)

Andrey Vagin avagin at openvz.org
Wed Feb 1 05:00:47 EST 2012


Parasite may have no enough permissions, maybe in another namespaces,
may have no access to files.

Now parasite opens unix sockets for transfering descriptors from crtools.

Andrey Vagin (5):
  util: add socket syscalls
  util: move recv_fd and send_fd in a separate file
  parasite: create unix socket in parasite for transfering fd
  parasite: transfer image fd in parasite
  make: Link parasite.o and util-net.o

 Makefile                |    9 +++-
 files.c                 |   74 +++--------------------------
 include/parasite.h      |   17 ++++---
 include/syscall-codes.h |    4 ++
 include/syscall.h       |   22 +++++++++
 include/util-net.h      |    9 ++++
 parasite-syscall.c      |  119 ++++++++++++++++++++++++++++++++++++++++++-----
 parasite.c              |   76 ++++++++++++++++++++----------
 util-net.c              |   65 +++++++++++++++++++++++++
 9 files changed, 281 insertions(+), 114 deletions(-)
 create mode 100644 include/util-net.h
 create mode 100644 util-net.c


More information about the CRIU mailing list