After vzkernel commit 1352424aae37 "ms/fs: Add user namespace member to struct 
super_block"
we have to switch to CT's user_ns before mounting binfmt_misc.

This series simply does that.

Patches [3/6] and [4/6] are taken from upstream criu-dev.
---

Kirill Tkhai (6):
      mount: Consider EBUSY binfmt_misc mount return as error
      mount: Move binfmt_misc-mounting code to separate function
      clone_noasan: Allow to create CLONE_VM|CLONE_VFORK processes
      util: Implement clone_in_child_process() helper
      ve: Call binfmt_misc-mounting code in call_in_child_process()
      mount: Switch user_ns before mount binfmt_misc


 criu/clone-noasan.c |   16 ++++-----
 criu/include/util.h |    1 +
 criu/mount.c        |   91 ++++++++++++++++++++++++++-------------------------
 criu/util.c         |   30 +++++++++++++++++
 4 files changed, 85 insertions(+), 53 deletions(-)

--
Signed-off-by: Kirill Tkhai <[email protected]>
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to