criu: Upgrade to 3.17 to fix restore and fix build
PATCH 1/1 criu: Upgrade to 3.17 to fix restore and fix build
- To fix restore Segmentation fault
criu restore -d -D checkpoint
8306: Error (criu/cr-restore.c:1480): 8331 killed by signal 11: Segmentation fault Error (criu/cr-restore.c:2447): Restoring FAILED.
- Inherit pkgconfig to fix build warning
pkg-config not found
- Define PLUGINDIR when doing instll to fix build failure
mkdir: cannot create directory '/var/lib/criu': Permission denied
New commits since 3.16.1:
4f8f295e5 criu: Version 3.17991f27c84 ci: skip new hugetlb maps09/maps10 tests for pre-dump0c1f0256f kerndat: handle the case when hugetlb isn't supported17a19676c zdtm: handle the case when hugetlb isn't supportedc1380c077 ci: workaround race between sit module loading and bridge test 550eafc5d ci: print kernel modules listf635b61f4 test: install criu in /usr2f0f12839 readme: Add badge links to workflowsd14dbb8c7 sk-unix: rework bind_on_deleted() return codes5b872c718 proc_parse: Fix parsing bpf map_extrad40b332ce bpf: update deprecated APIf641e0c4b ci: print mountinfo instead of mount cmd output5c0b4fbcd ci: criu-fault: skip inotify_irmap fault-injection on btrfs 7ac85cab8 scripts/ci: fix ZDTM_OPTS variable passingead227994 zdtm: temporary disable rseq02 testdb9ec1361 zdtm: add rseq02 transition test with NO_RESTART CS flag 1e0bed3d6 rseq: handle rseq/rseq_cs flags properly13338dee5 Revert "test: disable rseq also on Archlinux"064e9925a zdtm: add transition/rseq01 test for amd642d3354e7b cr-dump: fixup thread IP when inside rseq cs4c7ece0bb compel: add helpers to get/set instruction pointer441310c26 zdtm/static/rseq00: fix rseq test when linking with a fresh Glibc f70ddab24 pie/restorer: unregister (g)libc rseq before memory restoration e1799e530 include: add thread_pointer.h from Glibc267c1fdad ci: add Fedora Rawhide based test on Cirrus03aff7e82 Revert "ci: disable glibc rseq support"51e0d3e29 zdtm: add basic static/rseq00 test for rseq C/Rc5162cef5 rseq: fail dump if rseq is used but host doesn't support get_rseq_conf feature f81e3062c rseq: initial supportbd9ee3255 cr-check: Add ptrace rseq conf dump featureca54dfcac util: move fork_and_ptrace_attach helper from cr-check8b3a76b64 kerndat: check for rseq syscall supportde03eb435 compel: add rseq syscall into compel std plugin syscall tables 4adec8e8e cgroup: test for --manage-cgroups=ignore2b6901707 cgroup: fix --manage-cgroups=ignorec71d4a54a cgroup: fix "unified" path8ddd7f483 ci: add codespell to lint targete7b1c8579 Fix remaining codespell warnings0194ed392 Fix some codespell warnings3f1800477 Add .codespellrcf16976c03 test/zdtm.py: rename a varfab46c310 test/exhaustive/unix.py: rename a var2a60b4974 Rename useable to usablec4bdde213 criu/mount.c: separate \t51837a65e criu/files.c: some renamesbd3a21e0b test/javaTests: rename ser to s777ad1966 Nit: rename sie to se716e56f37 Typo: mmaped -> mmappedd9411c948 test/zdtm/static: s/NODEL/NO_DEL/58d76cb16 test/zdtm/static/inotify_system.c: s/inot/infd/0cb8b9c04 test/zdtm/static: use param not parm58b120b06 criu/pie/restorer.c: use param not parm747ec75d9 criu/arch/s390/include/asm/restorer.h: fix comments8bb05e3bf ci: Switch to non overlaysfs tests45e048d77 criu: generate unique socket names75064b742 mount: fix -Wunused-but-set-variable for Clang 1546e4773c3 style: delete some redundant code5109fccf8 apparmor: Fix -Wfortify-source for Clang791651f1b criu-ns: add a helper to hold a pid namespace805559c1d scripts/ci: mount test cgroups onceab6191ccd zdtm: use unique holder for cgroups73a783ac1 mount: make error messages differ in different places165d5a2cd mount-v2: make mount engine fallback messages loglevel debug 8867840c8 zdtm/mount-v2: disable pty-console testc8121ed74 test/jenkins: test for old mount engine3c0e99ccf ci: make others/mnt_ext_dev also run for old mount engine 642abd133 zdtm/mount-v2: disable mnt_tracefs testf736d88c9 zdtm: add propagation group with mount flags to mount_complex_sharing ef53df471 zdtm: add mount_complex_sharing test486e1fd85 zdtm: add new mnt_ext_sharing test for mount-v23db949d82 ci: run tests for old mount engine8d6e2d044 zdtm: enable mounts compat mode on restore with --mntns-compat-mode option b35c842d0 mount: add new mounts-v2 enginec29675c9a mount: export global variables for mount-v2972a59862 mount: export several functions for mount-v23229e7f58 mount: export common defines for mount-v20723d0cd9 mount: remove double ns_id declaration1f4a9a531 files-reg: export parent dirs helpers for mount-v2f032741cd mount: add plain mountpointsf2d1c7fab config/rpc: add new option --mntns-compat-mode for old mount engine f6b52c711 crtools: move check_options after kerndat_init and log_init 6a25420d3 util: add resolve_mountpoint helpercef8366f5 kerndat: check whether the openat2 syscall is supported 387f4652b compel: add open_tree syscalla946b946e kerndat: Check for MOVE_MOUNT_SET_GROUP availability0ca89b99b files-reg: teach clean_one_remap to work with mount-v29a0918497 files-reg: teach create_ghost to work with mount-v2169f95c39 files-reg: split create_ghost_dentry out of create_ghost 9fb3984a7 mount: add service_mountpoint getter for ->mountpoint65967a84b mount: use ns_mountpoint instead of mountpoint where possible eedbc6f47 mount: use ns_mountpoint in mnt_depthae0b218c3 mount: use ns_mountpoint in aufs_parse7b968ceea mount: use ns_mountpoint in collect_mntinfof2bf6597c path: simplify mnt_get_sibling_path via get_relative_path abbc70adc mount: use ns_mountpoint for children-overmount checkc17695cb1 mount: use ns_mountpoint in root_path_from_parent010295b8f mount: use ns_mountpoint in validate_children_collision 07eb01593 mount: skip root yard children from mnt_needs_remap check e8de10a4f mount: use ns_mountpoint in mnt_is_overmountedb954e5136 autofs: use ns_mountpoint in autofs_create_dentries7a67949e5 mount: make general place for shared variables on mount-info on restore 0c41c1187 mount: fix broken remounted_rw check
718247045 mount: move root yard tree merge as early as possible770cdbfb9 mount: prepare is_overmounted as early as possible83bbf1b05 mount: add helper mnt_get_external_bind_nodev0fd0e03a2 mount: do not override master_id to -1 for root binds4f156f32b mount: put external slavery mounts to separate mnt_ext_slave list ef79912c1 mount: add can_receive_master_from_root helperb52fcb284 mount: replace CRTIME_MNT_ID with HELPER_MNT_ID4736a7240 mount/restore: leave ns_mountpoint NULL for aux binfmt_misc mount 16085b5e6 mount/restore: create auxiliary binfmt_misc mount in the root yard a379d4d94 zdtm: add mntns_pivot_root_ro test2a3d2bc28 mount: apply superblock flags to nested ns roots77f67973f zdtm: add mntns_pivot_root test2fdb4993a mount: allow nested mount namespaces with different roots cf6fe2d48 mount: add mnt_is_root_bind helpere50abbd3b zdtm: add mnt_ext_collision testa963ceb77 mount: restrict mp-external mount map to init container mntns only 007501f98 zdtm: add new mnt_ext_root test4f9414934 mount: mount external mount before mounting it's bindsd5cb7764e mount: show more info about why we can't mount685a53eec mount: rework skipping external mounts in dump_one_mountpoint 3b2b80812 mount: split mnt_is_external(_bind) and can_receive_master_from_external c09bd8941 mount: add mnt_bind_pick helper to pick the desired bind 9d1f39f28 unittest: add some tests for get_relative_path helper97bd9511c util: add get_relative_path helper261b7a8fd mount: setup mnt_bind list before using it in mnt_is_external 30261a751 mount: skip fstype and source checks for external mounts in mounts_sb_equal 8d5300aa9 mount: mark mounts of external devices externale17c1cc12 mount: do not detect non-fsroot mounts as device-external eda1e5fdb mount: add mntinfo_add_list_before helper for adding to mntinfo list 9649356e3 zdtm: fix mnt_ext_master test to correspond to it's name 5a8fd343f uffd: fix __u64 print format specifier9e7473516 sk-unix: fix e_str leak in unix_sk_id_add87d373514 criu/plugin: Add support for criu image streamer55370b720 criu/plugin: Store BO contents directly to fileecdf740fa criu/plugin: Add whitepaper document99a2380fc criu/plugin: Dockerfile for amdgpu_plugin2095de9f0 criu/plugin: Fix for FDs not allowed to mmapbd8333009 criu/plugin: Implement sDMA based buffer access6d7926622 criu/plugin: Restore libhsakmt shared memory filesa218fe0ba criu/plugin: Read and write BO contents in parallelba9c62df2 criu/plugin: Add unit tests for GPU remapping4856e0d4d criu/plugin: Add parameters to override mapping72905c9c9 criu/plugin: Remap GPUs on checkpoint restore6e99fea2f criu/plugin: Implement system topology parsingc4e3ac7fe criu/plugin: Adding check for kernel IOCTL version55a5993bc criu/plugin: Support AMD ROCm Checkpoint Restore with KFD 71ff9cc04 criu/plugin: Initialize AMD KFD header91157315b criu/plugin: Skip plugin vmas during premap63e127fc8 criu/plugin: Add dedicated flag for pluginse04db0241 criu/files: Add function to return unused FD by pid653eefea0 criu/plugin: Do not reopen vma fd for plugins5b0a639a5 files: fix inh leak in inherit_fd_add
060567042 net: fix e_str leak in veth_pair_add2856d06e3 config: fix ns leak in parse_join_nsa8dd7d290 ci: run criu-config tests1c54c45fc zdtm: drop redundant config_inotify_irmap testd2073cd4d zdtm: add --criu-config optionfc38a01e5 zdtm: use long form cli options0734fc807 zdtm: sort import lines0b7965397 zdtm: refactor main1b4a9df9c sk-unix: fix uint32_t id variable printf format specifier 09fa32a75 tun: fix tun_link leak in dump_tun_link7e9a9dc34 cr-dump: fix cr_imgset leak in dump_one_task2747bb2a7 mount: fix e_str leak in ext_mount_addbe78b853d proc_smaps: remove useless nonlinear check97a998567 compel: set mxcsr during error injection to zeroef98a71b1 zdtm: fix missplacement of err=True6b842635b test: disable rseq also on Archlinux51099d2bb test: remove test for LOCK_MAND flock247cdc90d bpfmap: handle new field in fdinfo56df8aeeb ci: skip MAP_HUGETLB tests in stream test2dc6d146b zdtm: Add MAP_HUGETLB mappings test for parent-child relationship processes 87a5694b4 zdtm: Add shm hugetlb testd22e472cf zdtm: Add memfd hugetlb testffa268896 zdtm: Add MAP_HUGETLB memory mapping testa26b692c4 uffd: Skip lazy-mode restore on hugetlb mappings456e50b59 mem: Skip premapping hugetlb mapping8941b63a4 proc_parse, files: Add support for hugetlb memory mapping e4fb1dd5f memfd, shmem: Add support for checkpoint/restore memfd and anon shared memory 4d77b19eb ipc: Add support for checkpoint/restore hugetlb System V shared memory f69c36591 kerndat: Collect hugetlb device numbers9c7bbfa69 check: Add a check for using memfd with hugetlbe8087fcff files: generate unique transport socket names408a7d82d util: add an unique ID of the current criu runb13b95e52 compel: fix how PTRACE_GET_THREAD_AREA errors are handled b2ba14a15 restorer: Fix sys_mmap's returned value check7177938e6 criu-ns: use os.waitstatus_to_exitcode()bb1b1681a criu-ns: fix exit code o for criu dumpfdf4fda20 pstree: when updating sid for shell job also update matching pgid 89267dbcc ci: install libbsd dependency48d53b699 Fix formatting in criu documentation73d6a2c0e test/autofs: fix use-after-free4d31105c7 ci: set continue-on-error for cross-compile0568889ee compel: fix parasite with GCC 12db352ca48 criu: fix configuration file scanner with GCC 12bf6975c3e compel: fix GCC 12 failure (out of bounds)6be10a232 zdtm: fix zdtm/static/maps00 case in arm646cfad77f0 pagemap: tiny fix on truncating memory image908e5dd95 lib: added tests for feature check in libcriub00b61f0e lib: introduce feature check in libcriu4c4b2159d ci: added .lgtm.yml file7f4265dc0 ci: update to latest Vagrant and Fedora images7400d91f8 contributing: remove old badges and logo29e221bb7 readme: add docker test badge6f9d62eb3 ci: test criu-image-streamer with all tests8ec214d3c mount/btrfs: make check_mountpoint_fd fallback to get_sdev_from_fd bbf5f642d proc_parse: add helper to resolve sdev from fd15c42696c mount: remove mnt_fd argument of __open_mountpoint1e7c62047 mount: split check_mountpoint_fd from __open_mountpoint 1b912802d zdtm/static/uffd-events: add more log messagesebd03383f zdtm: print tails of all logs if a test has failedf65098746 test: log testname.out.inprogress if a test has failed8775cf3a5 ci: reenable the lazy-thp test in the lazy-remote modec59abfa81 page-xfer: stop waiting for a new command after a close command 13b726ebc tls: allow to terminate connections synchronously73d1d0769 uffd: call disconnect_from_page_server to shutdown a page-server connection 4fdf3db31 tls: add more comments5a2250b1a tls: use ssize_t for return value89e8e8e69 tls: fix typo0da88b6da zdtm: Add SOCK_SEQPACKET variants to unix socket tests530ad9c89 sk-unix: Add support for SOCK_SEQPACKET unix sockets3d618d0f4 crtools: check that cpuinfo command has sub-command233f1f1d0 crtools: use new opts.mode in image_dir_mode3fa85bcdc crtools/rpc: export current criu mode to opts.mode1b015df9b crtools: remove excess always true conditionbe092e25a zdtm: remove mntns-deleted-dst test leftover from gitf92c7f1af zdtm: zdtm_ct fix compilation error with strict-prototypes on e62e05c2d zdtm.py: clean up MAKEFLAGS env variable before running make instance af4b26519 tests: added test for single pre-dump support51a1adbc0 libcriu: add single pre-dump support119a79885 ci: disable glibc rseq support9fd000c58 ci: use unstable release for cross-compile0e04a3c6a libcriu: add setting lsm-mount-context to libcriuaf298353d usernsd: UNS_FDOUT should not require an input descriptor efe5d9a12 Add documentation for --timeout option583e8ca05 ci: enable x86 xsave fault injection tests back1ba443982 x86/compel/fault-inject: print the initial seedfc1eb01ff x86/compel/fault-inject: bound xsave features set6186bfa0c test: another try to correctly fix the kernel versiond79d73e3a ci: install procps in Alpine3eba68089 ci: Enable disabled unix socket related tests94111596f sk-unix: Fix TCP_ESTABLISHED checks in unix sockets6930d6a32 util: make page-server IPv6 safed57f27bc9 files-reg: try dump_ghost_remap if link-remap failed with error ENOENT 14075baf7 test: do not use --keep-going for single zdtm testsa52185ffe ci: disable broken tests until fixed4ab2facb2 make: Explicitly enable FPU on ARMv7 buildsd514bacb4 ci: Run cross compile with debian testing4c1330bb0 ci: Run cross compile on debian stable718eb06be clang-format: disable wrong struct pointer declaration format 858002483 zdtm: add ro-mount check after c/r to mntns_ghost0117357d67f files-reg: temporary remount writable the mount we do unlink on bd219b69a ghost/mount: allocate remounted_rw in shmem to get info from other processes cfed6f35e files-reg: fix error handling of rm_parent_dirs5a0943c90 files-reg: fix error handling in open_path64b58b514 check: cleanup child processes156cce78c ci: switch to centos-stream-8c2fd81903 crtools: ignore SIGPIPE in swrk modea491706cc ci: Use latest Fedora for lint ci runs againeb0dee408 seize: restore cgroup freezer to right state781676f10 clang-format/zdtm: fix clang complains about strange elseifs d2b6faf8f tests: improve the deterministic behavior of the test suite 94092ce00 zdtm.py: make tests with --link_remap exclusive1f9e2c420 ci: disable socket-raw test on centos8a9d9fb8aa clang-format: make x86_ins_capability_mask human-readable 4ff252656 cr-dump: fail dumping when zombie process with sid 026db7adbb clang-format: do automatic comment fixups
206479322 clang-format: do several manual comment fixupsbbfd9031a clang-format: enable AlignTrailingComments718f4cae2 zdtm: make sock_opts02 also check lock change by SO_*BUF* 3a875cc4c zdtm: add test for socket buffer size lockse69be16db sockets: c/r bufer size locksce5ce285a kerndat: check for set/getsockopt SO_BUF_LOCK availability 2bd709664 sockets: don't call sk_setbufs asyncronously37a8090d8 tests: improve the image streamer process controldae0704b6 ci: use Fedora 34 for lint CI runsf7bc3bdc9 ci: fix userfaultfd test failuresd17eb325c ci: replace deprecated codecov bash uploaderc1659c386 net: optimize restore_rule() to not open the CR_FD_RULE image file twice e3a853ab9 criu-ns: make pidns init first do setsidc750e62ca util: use nftw in rmrf helper485a83c11 tty: fix the null pointer of get_tty_driver7ba4d3bf1 pie/restorer: remove excess hash printf specifierbffaa7d07 ci: enable coredump testsbf8382a80 make: enable lint for coredump8aa769455 test/coredump: fix shellcheck errors0b3cf5c9e coredump: lint fix visually indented line3a689ed9a coredump: fix comparison to truec1eab7d06 coredump: fix too many blank linesbaad88d5e coredump: fix missing whitespace around operator
579066633 coredump: lint fix for block comments06306c8b1 coredump: drop exec permission1b368238b coredump: drop unused variablea92a7887a python: replace equality with identity testc71a81a6b coredump: convert indentation to spacesbf8a3c9f6 coredump: sort importsa0b738cb8 coredump: remove unused import1c866dbb5 Add new files for running criu-coredump via python 2 or 3 3180d35fa Add support for python3 in criu-coredumpf24360658 criu(8): Add more detailed description about --tcp-close dump option abf6b15c1 zdtm: Dumping/restoring with --tcp-close on TCP_CLOSE socket 795973055 tcp: Skip restoring TCP state when dumping with --tcp-close 74d1233b5 criu/files: Don't cache fd ids for device files7b6239b6d criu/plugin: Implement dummy amdgpu plugin hooks17e2a8c70 criu: Introduce new device file plugin hooksdd46e7919 criu(8): add --external net optionbe239109a github: update the stale version
--- recipes-containers/criu/criu_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
recipes-containers/criu/criu_git.bb +4 -3
@@ -13,8 +13,8 @@ EXCLUDE_FROM_WORLD = "1" LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" -SRCREV = "4a1731891e91e62f15c40c361aff2a8a54d91bb3" -PV = "3.16.1+git${SRCPV}" +SRCREV = "4f8f295e57e68740699479d12c1ad251e6dd859f" +PV = "3.17+git${SRCPV}" SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ file://0002-criu-Skip-documentation-install.patch \
@@ -55,6 +55,7 @@ export HOST_SYS export HOSTCFLAGS = "${BUILD_CFLAGS}" inherit setuptools3 +inherit pkgconfig B = "${S}"
@@ -74,7 +75,7 @@ do_compile () { do_install () { export INSTALL_LIB="${libdir}/${PYTHON_DIR}/site-packages" - oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" FULL_PYTHON=${PYTHON} PYTHON=python3 install + oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" PLUGINDIR="${localstatedir}/lib" FULL_PYTHON=${PYTHON} PYTHON=python3 install # python3's distutils has a feature of rewriting the interpeter on setup installed # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the
Signature · 1 line
2.32.0
merged.
Bruce
In message: [meta-virtualization][PATCH] criu: Upgrade to 3.17 to fix restore and fix build
Quoted 363 lines · on 10/05/2022 He Zhe wrote:
- To fix restore Segmentation fault
criu restore -d -D checkpoint
8306: Error (criu/cr-restore.c:1480): 8331 killed by signal 11: Segmentation fault Error (criu/cr-restore.c:2447): Restoring FAILED.- Inherit pkgconfig to fix build warning
pkg-config not found- Define PLUGINDIR when doing instll to fix build failure
mkdir: cannot create directory '/var/lib/criu': Permission deniedNew commits since 3.16.1:
4f8f295e5criu: Version 3.17991f27c84ci: skip new hugetlb maps09/maps10 tests for pre-dump0c1f0256fkerndat: handle the case when hugetlb isn't supported17a19676czdtm: handle the case when hugetlb isn't supportedc1380c077ci: workaround race between sit module loading and bridge test550eafc5dci: print kernel modules listf635b61f4test: install criu in /usr2f0f12839readme: Add badge links to workflowsd14dbb8c7sk-unix: reworkbind_on_deleted()return codes5b872c718proc_parse: Fix parsing bpfmap_extrad40b332cebpf: update deprecated APIf641e0c4bci: print mountinfo instead of mount cmd output5c0b4fbcdci: criu-fault: skipinotify_irmapfault-injection on btrfs7ac85cab8scripts/ci: fixZDTM_OPTSvariable passingead227994zdtm: temporary disable rseq02 testdb9ec1361zdtm: add rseq02 transition test withNO_RESTARTCS flag1e0bed3d6rseq: handle rseq/rseq_cs flags properly13338dee5Revert "test: disable rseq also on Archlinux"064e9925azdtm: add transition/rseq01 test for amd642d3354e7bcr-dump: fixup thread IP when inside rseq cs4c7ece0bbcompel: add helpers to get/set instruction pointer441310c26zdtm/static/rseq00: fix rseq test when linking with a fresh Glibcf70ddab24pie/restorer: unregister (g)libc rseq before memory restoratione1799e530include: addthread_pointer.hfrom Glibc267c1fdadci: add Fedora Rawhide based test on Cirrus03aff7e82Revert "ci: disable glibc rseq support"51e0d3e29zdtm: add basic static/rseq00 test for rseq C/Rc5162cef5rseq: fail dump if rseq is used but host doesn't supportget_rseq_conffeaturef81e3062crseq: initial supportbd9ee3255cr-check: Add ptrace rseq conf dump featureca54dfcacutil: movefork_and_ptrace_attachhelper from cr-check8b3a76b64kerndat: check for rseq syscall supportde03eb435compel: add rseq syscall into compel std plugin syscall tables4adec8e8ecgroup: test for --manage-cgroups=ignore2b6901707cgroup: fix --manage-cgroups=ignorec71d4a54acgroup: fix "unified" path8ddd7f483ci: add codespell to lint targete7b1c8579Fix remaining codespell warnings0194ed392Fix some codespell warnings3f1800477Add .codespellrcf16976c03test/zdtm.py: rename a varfab46c310test/exhaustive/unix.py: rename a var2a60b4974Rename useable to usablec4bdde213criu/mount.c: separate \t51837a65ecriu/files.c: some renamesbd3a21e0btest/javaTests: rename ser to s777ad1966Nit: rename sie to se716e56f37Typo: mmaped -> mmappedd9411c948test/zdtm/static: s/NODEL/NO_DEL/58d76cb16test/zdtm/static/inotify_system.c: s/inot/infd/0cb8b9c04test/zdtm/static: use param not parm58b120b06criu/pie/restorer.c: use param not parm747ec75d9criu/arch/s390/include/asm/restorer.h: fix comments8bb05e3bfci: Switch to non overlaysfs tests45e048d77criu: generate unique socket names75064b742mount: fix -Wunused-but-set-variable for Clang 1546e4773c3style: delete some redundant code5109fccf8apparmor: Fix -Wfortify-source for Clang791651f1bcriu-ns: add a helper to hold a pid namespace805559c1dscripts/ci: mount test cgroups onceab6191ccdzdtm: use unique holder for cgroups73a783ac1mount: make error messages differ in different places165d5a2cdmount-v2: make mount engine fallback messages loglevel debug8867840c8zdtm/mount-v2: disable pty-console testc8121ed74test/jenkins: test for old mount engine3c0e99ccfci: make others/mnt_ext_dev also run for old mount engine642abd133zdtm/mount-v2: disablemnt_tracefstestf736d88c9zdtm: add propagation group with mount flags tomount_complex_sharingef53df471zdtm: addmount_complex_sharingtest486e1fd85zdtm: add newmnt_ext_sharingtest for mount-v23db949d82ci: run tests for old mount engine8d6e2d044zdtm: enable mounts compat mode on restore with --mntns-compat-mode optionb35c842d0mount: add new mounts-v2 enginec29675c9amount: export global variables for mount-v2972a59862mount: export several functions for mount-v23229e7f58mount: export common defines for mount-v20723d0cd9mount: remove doublens_iddeclaration1f4a9a531files-reg: export parent dirs helpers for mount-v2f032741cdmount: add plain mountpointsf2d1c7fabconfig/rpc: add new option --mntns-compat-mode for old mount enginef6b52c711crtools: movecheck_optionsafterkerndat_initandlog_init6a25420d3util: addresolve_mountpointhelpercef8366f5kerndat: check whether the openat2 syscall is supported387f4652bcompel: addopen_treesyscalla946b946ekerndat: Check forMOVE_MOUNT_SET_GROUPavailability0ca89b99bfiles-reg: teachclean_one_remapto work with mount-v29a0918497files-reg: teachcreate_ghostto work with mount-v2169f95c39files-reg: splitcreate_ghost_dentryout ofcreate_ghost9fb3984a7mount: addservice_mountpointgetter for ->mountpoint65967a84bmount: usens_mountpointinstead of mountpoint where possibleeedbc6f47mount: usens_mountpointinmnt_depthae0b218c3mount: usens_mountpointinaufs_parse7b968ceeamount: usens_mountpointincollect_mntinfof2bf6597cpath: simplifymnt_get_sibling_pathviaget_relative_pathabbc70adcmount: usens_mountpointfor children-overmount checkc17695cb1mount: usens_mountpointinroot_path_from_parent010295b8fmount: usens_mountpointinvalidate_children_collision07eb01593mount: skip root yard children frommnt_needs_remapchecke8de10a4fmount: usens_mountpointinmnt_is_overmountedb954e5136autofs: usens_mountpointinautofs_create_dentries7a67949e5mount: make general place for shared variables on mount-info on restore0c41c1187mount: fix brokenremounted_rwcheck
718247045 mount: move root yard tree merge as early as possible770cdbfb9mount: prepareis_overmountedas early as possible83bbf1b05mount: add helpermnt_get_external_bind_nodev0fd0e03a2mount: do not overridemaster_idto -1 for root binds4f156f32bmount: put external slavery mounts to separatemnt_ext_slavelistef79912c1mount: addcan_receive_master_from_roothelperb52fcb284mount: replaceCRTIME_MNT_IDwithHELPER_MNT_ID4736a7240mount/restore: leavens_mountpointNULL for auxbinfmt_miscmount16085b5e6mount/restore: create auxiliarybinfmt_miscmount in the root yarda379d4d94zdtm: addmntns_pivot_root_rotest2a3d2bc28mount: apply superblock flags to nested ns roots77f67973fzdtm: addmntns_pivot_roottest2fdb4993amount: allow nested mount namespaces with different rootscf6fe2d48mount: addmnt_is_root_bindhelpere50abbd3bzdtm: addmnt_ext_collisiontesta963ceb77mount: restrict mp-external mount map to init container mntns only007501f98zdtm: add newmnt_ext_roottest4f9414934mount: mount external mount before mounting it's bindsd5cb7764emount: show more info about why we can't mount685a53eecmount: rework skipping external mounts indump_one_mountpoint3b2b80812mount: splitmnt_is_external(_bind)andcan_receive_master_from_externalc09bd8941mount: addmnt_bind_pickhelper to pick the desired bind9d1f39f28unittest: add some tests forget_relative_pathhelper97bd9511cutil: addget_relative_pathhelper261b7a8fdmount: setupmnt_bindlist before using it inmnt_is_external30261a751mount: skip fstype and source checks for external mounts inmounts_sb_equal8d5300aa9mount: mark mounts of external devices externale17c1cc12mount: do not detect non-fsroot mounts as device-externaleda1e5fdbmount: addmntinfo_add_list_beforehelper for adding to mntinfo list9649356e3zdtm: fixmnt_ext_mastertest to correspond to it's name5a8fd343fuffd: fix__u64print format specifier9e7473516sk-unix: fixe_strleak inunix_sk_id_add87d373514criu/plugin: Add support for criu image streamer55370b720criu/plugin: Store BO contents directly to fileecdf740facriu/plugin: Add whitepaper document99a2380fccriu/plugin: Dockerfile foramdgpu_plugin2095de9f0criu/plugin: Fix for FDs not allowed to mmapbd8333009criu/plugin: Implement sDMA based buffer access6d7926622criu/plugin: Restore libhsakmt shared memory filesa218fe0bacriu/plugin: Read and write BO contents in parallelba9c62df2criu/plugin: Add unit tests for GPU remapping4856e0d4dcriu/plugin: Add parameters to override mapping72905c9c9criu/plugin: Remap GPUs on checkpoint restore6e99fea2fcriu/plugin: Implement system topology parsingc4e3ac7fecriu/plugin: Adding check for kernel IOCTL version55a5993bccriu/plugin: Support AMD ROCm Checkpoint Restore with KFD71ff9cc04criu/plugin: Initialize AMD KFD header91157315bcriu/plugin: Skip plugin vmas during premap63e127fc8criu/plugin: Add dedicated flag for pluginse04db0241criu/files: Add function to return unused FD by pid653eefea0criu/plugin: Do not reopen vma fd for plugins5b0a639a5files: fix inh leak ininherit_fd_add
060567042 net: fixe_strleak inveth_pair_add2856d06e3config: fix ns leak inparse_join_nsa8dd7d290ci: run criu-config tests1c54c45fczdtm: drop redundantconfig_inotify_irmaptestd2073cd4dzdtm: add --criu-config optionfc38a01e5zdtm: use long form cli options0734fc807zdtm: sort import lines0b7965397zdtm: refactor main1b4a9df9csk-unix: fixuint32_tid variable printf format specifier09fa32a75tun: fixtun_linkleak indump_tun_link7e9a9dc34cr-dump: fixcr_imgsetleak indump_one_task2747bb2a7mount: fixe_strleak inext_mount_addbe78b853dproc_smaps: remove useless nonlinear check97a998567compel: set mxcsr during error injection to zeroef98a71b1zdtm: fix missplacement of err=True6b842635btest: disable rseq also on Archlinux51099d2bbtest: remove test forLOCK_MANDflock247cdc90dbpfmap: handle new field in fdinfo56df8aeebci: skipMAP_HUGETLBtests in stream test2dc6d146bzdtm: AddMAP_HUGETLBmappings test for parent-child relationship processes87a5694b4zdtm: Add shm hugetlb testd22e472cfzdtm: Add memfd hugetlb testffa268896zdtm: AddMAP_HUGETLBmemory mapping testa26b692c4uffd: Skip lazy-mode restore on hugetlb mappings456e50b59mem: Skip premapping hugetlb mapping8941b63a4proc_parse, files: Add support for hugetlb memory mappinge4fb1dd5fmemfd, shmem: Add support for checkpoint/restore memfd and anon shared memory4d77b19ebipc: Add support for checkpoint/restore hugetlb System V shared memoryf69c36591kerndat: Collect hugetlb device numbers9c7bbfa69check: Add a check for using memfd with hugetlbe8087fcfffiles: generate unique transport socket names408a7d82dutil: add an unique ID of the current criu runb13b95e52compel: fix howPTRACE_GET_THREAD_AREAerrors are handledb2ba14a15restorer: Fix sys_mmap's returned value check7177938e6criu-ns: useos.waitstatus_to_exitcode()bb1b1681acriu-ns: fix exit code o for criu dumpfdf4fda20pstree: when updating sid for shell job also update matching pgid89267dbccci: install libbsd dependency48d53b699Fix formatting in criu documentation73d6a2c0etest/autofs: fix use-after-free4d31105c7ci: set continue-on-error for cross-compile0568889eecompel: fix parasite with GCC 12db352ca48criu: fix configuration file scanner with GCC 12bf6975c3ecompel: fix GCC 12 failure (out of bounds)6be10a232zdtm: fix zdtm/static/maps00 case in arm646cfad77f0pagemap: tiny fix on truncating memory image908e5dd95lib: added tests for feature check in libcriub00b61f0elib: introduce feature check in libcriu4c4b2159dci: added .lgtm.yml file7f4265dc0ci: update to latest Vagrant and Fedora images7400d91f8contributing: remove old badges and logo29e221bb7readme: add docker test badge6f9d62eb3ci: test criu-image-streamer with all tests8ec214d3cmount/btrfs: makecheck_mountpoint_fdfallback toget_sdev_from_fdbbf5f642dproc_parse: add helper to resolve sdev from fd15c42696cmount: removemnt_fdargument of__open_mountpoint1e7c62047mount: splitcheck_mountpoint_fdfrom__open_mountpoint1b912802dzdtm/static/uffd-events: add more log messagesebd03383fzdtm: print tails of all logs if a test has failedf65098746test: log testname.out.inprogress if a test has failed8775cf3a5ci: reenable the lazy-thp test in the lazy-remote modec59abfa81page-xfer: stop waiting for a new command after a close command13b726ebctls: allow to terminate connections synchronously73d1d0769uffd: calldisconnect_from_page_serverto shutdown a page-server connection4fdf3db31tls: add more comments5a2250b1atls: usessize_tfor return value89e8e8e69tls: fix typo0da88b6dazdtm: AddSOCK_SEQPACKETvariants to unix socket tests530ad9c89sk-unix: Add support forSOCK_SEQPACKETunix sockets3d618d0f4crtools: check that cpuinfo command has sub-command233f1f1d0crtools: use new opts.mode inimage_dir_mode3fa85bcdccrtools/rpc: export current criu mode to opts.mode1b015df9bcrtools: remove excess always true conditionbe092e25azdtm: remove mntns-deleted-dst test leftover from gitf92c7f1afzdtm:zdtm_ctfix compilation error with strict-prototypes one62e05c2dzdtm.py: clean up MAKEFLAGS env variable before running make instanceaf4b26519tests: added test for single pre-dump support51a1adbc0libcriu: add single pre-dump support119a79885ci: disable glibc rseq support9fd000c58ci: use unstable release for cross-compile0e04a3c6alibcriu: add setting lsm-mount-context to libcriuaf298353dusernsd:UNS_FDOUTshould not require an input descriptorefe5d9a12Add documentation for --timeout option583e8ca05ci: enable x86 xsave fault injection tests back1ba443982x86/compel/fault-inject: print the initial seedfc1eb01ffx86/compel/fault-inject: bound xsave features set6186bfa0ctest: another try to correctly fix the kernel versiond79d73e3aci: install procps in Alpine3eba68089ci: Enable disabled unix socket related tests94111596fsk-unix: FixTCP_ESTABLISHEDchecks in unix sockets6930d6a32util: make page-server IPv6 safed57f27bc9files-reg: trydump_ghost_remapif link-remap failed with error ENOENT14075baf7test: do not use --keep-going for single zdtm testsa52185ffeci: disable broken tests until fixed4ab2facb2make: Explicitly enable FPU on ARMv7 buildsd514bacb4ci: Run cross compile with debian testing4c1330bb0ci: Run cross compile on debian stable718eb06beclang-format: disable wrong struct pointer declaration format 858002483 zdtm: add ro-mount check after c/r tomntns_ghost0117357d67ffiles-reg: temporary remount writable the mount we do unlink onbd219b69aghost/mount: allocateremounted_rwin shmem to get info from other processescfed6f35efiles-reg: fix error handling ofrm_parent_dirs5a0943c90files-reg: fix error handling inopen_path64b58b514check: cleanup child processes156cce78cci: switch to centos-stream-8c2fd81903crtools: ignore SIGPIPE in swrk modea491706ccci: Use latest Fedora for lint ci runs againeb0dee408seize: restore cgroup freezer to right state781676f10clang-format/zdtm: fix clang complains about strange elseifsd2b6faf8ftests: improve the deterministic behavior of the test suite94092ce00zdtm.py: make tests with --link_remap exclusive1f9e2c420ci: disable socket-raw test on centos8a9d9fb8aaclang-format: makex86_ins_capability_maskhuman-readable4ff252656cr-dump: fail dumping when zombie process with sid 026db7adbbclang-format: do automatic comment fixups
206479322 clang-format: do several manual comment fixupsbbfd9031aclang-format: enable AlignTrailingComments718f4cae2zdtm: makesock_opts02also check lock change by SO_*BUF*3a875cc4czdtm: add test for socket buffer size lockse69be16dbsockets: c/r bufer size locksce5ce285akerndat: check for set/getsockoptSO_BUF_LOCKavailability2bd709664sockets: don't callsk_setbufsasyncronously37a8090d8tests: improve the image streamer process controldae0704b6ci: use Fedora 34 for lint CI runsf7bc3bdc9ci: fix userfaultfd test failuresd17eb325cci: replace deprecated codecov bash uploaderc1659c386net: optimizerestore_rule()to not open theCR_FD_RULEimage file twicee3a853ab9criu-ns: make pidns init first do setsidc750e62cautil: use nftw in rmrf helper485a83c11tty: fix the null pointer ofget_tty_driver7ba4d3bf1pie/restorer: remove excess hash printf specifierbffaa7d07ci: enable coredump testsbf8382a80make: enable lint for coredump8aa769455test/coredump: fix shellcheck errors0b3cf5c9ecoredump: lint fix visually indented line3a689ed9acoredump: fix comparison to truec1eab7d06coredump: fix too many blank linesbaad88d5ecoredump: fix missing whitespace around operator
579066633 coredump: lint fix for block comments06306c8b1coredump: drop exec permission1b368238bcoredump: drop unused variablea92a7887apython: replace equality with identity testc71a81a6bcoredump: convert indentation to spacesbf8a3c9f6coredump: sort importsa0b738cb8coredump: remove unused import1c866dbb5Add new files for running criu-coredump via python 2 or 33180d35faAdd support for python3 in criu-coredumpf24360658criu(8): Add more detailed description about --tcp-close dump optionabf6b15c1zdtm: Dumping/restoring with --tcp-close onTCP_CLOSEsocket 795973055 tcp: Skip restoring TCP state when dumping with --tcp-close74d1233b5criu/files: Don't cache fd ids for device files7b6239b6dcriu/plugin: Implement dummy amdgpu plugin hooks17e2a8c70criu: Introduce new device file plugin hooksdd46e7919criu(8): add --external net optionbe239109agithub: update the stale versionSigned-off-by He Zhe <[email protected]>--- recipes-containers/criu/criu_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)recipes-containers/criu/criu_git.bb +4
-3@@ -13,8 +13,8 @@ EXCLUDE_FROM_WORLD = "1" LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" -SRCREV = "4a1731891e91e62f15c40c361aff2a8a54d91bb3" -PV = "3.16.1+git${SRCPV}" +SRCREV = "4f8f295e57e68740699479d12c1ad251e6dd859f" +PV = "3.17+git${SRCPV}" SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ file://0002-criu-Skip-documentation-install.patch \@@ -55,6 +55,7 @@ export HOST_SYS export HOSTCFLAGS = "${BUILD_CFLAGS}" inherit setuptools3 +inherit pkgconfig B = "${S}"@@ -74,7 +75,7 @@ do_compile () { do_install () { export INSTALL_LIB="${libdir}/${PYTHON_DIR}/site-packages" - oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" FULL_PYTHON=${PYTHON} PYTHON=python3 install + oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" PLUGINDIR="${localstatedir}/lib" FULL_PYTHON=${PYTHON} PYTHON=python3 install # python3's distutils has a feature of rewriting the interpeter on setup installed # scripts. 'crit' is one of those scripts. The "executable" or "e" option to theSignature · 1 line
2.32.0