[CRIU] [PATCH 0/5] binfmt_misc: Switch to dumpee user_ns before mount

Kirill Tkhai ktkhai at virtuozzo.com
Sat Jul 15 18:24:56 MSK 2017


After commit 6e4eab577a0c "fs: Add user namespace member to struct super_block"
mainstream kernel keeps mounter's user_ns in superblock.
Change user_ns before mounting of binfmt_misc to fit it.

---

Kirill Tkhai (5):
      mount: Delete slash handle from binfmt_misc
      mount: Consider EBUSY binfmt_misc mount return as error
      mount: Move binfmt_misc-mounting code to separate function
      mount: Call binfmt_misc-mounting code in call_in_child_process()
      mount: Switch user_ns before mount binfmt_misc


 criu/mount.c |   96 +++++++++++++++++++++++++++++++---------------------------
 1 file changed, 52 insertions(+), 44 deletions(-)

--
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list