criu/scripts
Pavel Emelyanov cc063efe39 crns.py: New attempt to have --unshare option
So, here's the enhanced version of the first try.

Changes are:

1. The wrapper name is criu-ns instead of crns.py
2. The CLI is absolutely the same as for criu, since the script
   re-execl-s criu binary. E.g.
	   scripts/criu-ns dump -t 1234 ...
   just works
3. Caller doesn't need to care about substituting CLI options,
   instead, the scripts analyzes the command line and
   a) replaces -t|--tree argument with virtual pid __if__ the
      target task lives in another pidns
   b) keeps the current cwd (and root) __if__ switches to another
      mntns. A limitation applies here -- cwd path should be the
      same in target ns, no "smart path mapping" is performed. So
      this script is for now only useful for mntns clones (which
      is our main goal at the moment).

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Looks-good-to: Andrey Vagin <avagin@openvz.org>
2020-07-16 05:32:56 +03:00
..
build travis: fix alpine builds 2020-06-06 11:45:21 -07:00
nmk make: use cflags/ldflags for config.h detection mechanism 2020-03-27 19:36:20 +03:00
travis tests: run tests with criu-image-streamer with --stream 2020-07-16 05:32:56 +03:00
crit-setup.py py: Reformat everything into pep8 style 2019-09-07 15:59:56 +03:00
criu-ns crns.py: New attempt to have --unshare option 2020-07-16 05:32:56 +03:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak config/nftables: include string.h for strlen 2020-03-27 19:36:20 +03:00
flake8.cfg flake.cfg: Update to yapf formatting 2019-09-07 15:59:53 +03:00
install-criu-image-streamer.sh tests: run tests with criu-image-streamer with --stream 2020-07-16 05:32:56 +03:00
install-debian-pkgs.sh Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
magic-gen.py py: Fix tabs in code comments 2019-09-07 15:59:57 +03:00
protobuf-gen.sh build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
systemd-autofs-restart.sh scripts/systemd-autofs-restart.sh: fix variable name 2018-07-09 18:26:50 +03:00
tmp-files.sh tmpfiles: implement user tmp files feature 2016-03-09 12:48:33 +03:00