From 3b7bdc24e41a3382b59f34f84e8502449000dd81 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 5 Apr 2022 21:33:02 +0100 Subject: [PATCH] Update rseq patches Signed-off-by: Radostin Stoyanov --- 0001-criu-8-add-external-net-option.patch | 2 +- ...ng-TCP-state-when-dumping-with-tcp-c.patch | 2 +- ...toring-with-tcp-close-on-TCP_CLOSE-s.patch | 2 +- ...detailed-description-about-tcp-close.patch | 2 +- ...support-for-python3-in-criu-coredump.patch | 2 +- ...r-running-criu-coredump-via-python-2.patch | 2 +- 0007-coredump-remove-unused-import.patch | 2 +- 0008-coredump-sort-imports.patch | 2 +- ...redump-convert-indentation-to-spaces.patch | 2 +- ...-replace-equality-with-identity-test.patch | 2 +- 0011-coredump-drop-unused-variable.patch | 2 +- 0012-coredump-drop-exec-permission.patch | 2 +- ...coredump-lint-fix-for-block-comments.patch | 2 +- ...x-missing-whitespace-around-operator.patch | 2 +- 0015-coredump-fix-too-many-blank-lines.patch | 2 +- 0016-coredump-fix-comparison-to-true.patch | 2 +- ...dump-lint-fix-visually-indented-line.patch | 2 +- ...-test-coredump-fix-shellcheck-errors.patch | 2 +- 0019-make-enable-lint-for-coredump.patch | 2 +- 0020-ci-enable-coredump-tests.patch | 2 +- ...-remove-excess-hash-printf-specifier.patch | 2 +- ...x-the-null-pointer-of-get_tty_driver.patch | 2 +- 0023-util-use-nftw-in-rmrf-helper.patch | 2 +- ...u-ns-make-pidns-init-first-do-setsid.patch | 2 +- ...tore_rule-to-not-open-the-CR_FD_RULE.patch | 2 +- ...ace-deprecated-codecov-bash-uploader.patch | 2 +- 0027-ci-fix-userfaultfd-test-failures.patch | 2 +- 0028-ci-use-Fedora-34-for-lint-CI-runs.patch | 2 +- ...e-the-image-streamer-process-control.patch | 2 +- ...-don-t-call-sk_setbufs-asyncronously.patch | 2 +- ...r-set-getsockopt-SO_BUF_LOCK-availab.patch | 2 +- 0032-sockets-c-r-bufer-size-locks.patch | 2 +- ...dd-test-for-socket-buffer-size-locks.patch | 2 +- ...pts02-also-check-lock-change-by-SO_-.patch | 2 +- ...-format-enable-AlignTrailingComments.patch | 2 +- ...mat-do-several-manual-comment-fixups.patch | 2 +- ...g-format-do-automatic-comment-fixups.patch | 2 +- ...mping-when-zombie-process-with-sid-0.patch | 2 +- ...e-x86_ins_capability_mask-human-read.patch | 2 +- ...i-disable-socket-raw-test-on-centos8.patch | 2 +- ...make-tests-with-link_remap-exclusive.patch | 2 +- ...e-deterministic-behavior-of-the-test.patch | 2 +- ...m-fix-clang-complains-about-strange-.patch | 2 +- ...estore-cgroup-freezer-to-right-state.patch | 2 +- ...latest-Fedora-for-lint-ci-runs-again.patch | 2 +- ...-crtools-ignore-SIGPIPE-in-swrk-mode.patch | 2 +- 0047-ci-switch-to-centos-stream-8.patch | 2 +- 0048-check-cleanup-child-processes.patch | 2 +- ...-reg-fix-error-handling-in-open_path.patch | 2 +- ...fix-error-handling-of-rm_parent_dirs.patch | 2 +- ...cate-remounted_rw-in-shmem-to-get-in.patch | 2 +- ...ary-remount-writable-the-mount-we-do.patch | 2 +- ...unt-check-after-c-r-to-mntns_ghost01.patch | 2 +- ...able-wrong-struct-pointer-declaratio.patch | 2 +- ...i-Run-cross-compile-on-debian-stable.patch | 2 +- ...un-cross-compile-with-debian-testing.patch | 2 +- ...xplicitly-enable-FPU-on-ARMv7-builds.patch | 2 +- ...-ci-disable-broken-tests-until-fixed.patch | 2 +- ...use-keep-going-for-single-zdtm-tests.patch | 2 +- ...mp_ghost_remap-if-link-remap-failed-.patch | 2 +- 0061-util-make-page-server-IPv6-safe.patch | 2 +- ...P_ESTABLISHED-checks-in-unix-sockets.patch | 2 +- ...e-disabled-unix-socket-related-tests.patch | 2 +- 0064-ci-install-procps-in-Alpine.patch | 2 +- ...-to-correctly-fix-the-kernel-version.patch | 2 +- ...ault-inject-bound-xsave-features-set.patch | 2 +- ...-fault-inject-print-the-initial-seed.patch | 2 +- ...x86-xsave-fault-injection-tests-back.patch | 2 +- ...Add-documentation-for-timeout-option.patch | 2 +- ...T-should-not-require-an-input-descri.patch | 2 +- ...setting-lsm-mount-context-to-libcriu.patch | 2 +- ...e-unstable-release-for-cross-compile.patch | 2 +- 0073-ci-disable-glibc-rseq-support.patch | 2 +- ...-libcriu-add-single-pre-dump-support.patch | 2 +- ...ded-test-for-single-pre-dump-support.patch | 2 +- ...-MAKEFLAGS-env-variable-before-runni.patch | 2 +- ...-compilation-error-with-strict-proto.patch | 2 +- ...s-deleted-dst-test-leftover-from-git.patch | 2 +- ...-remove-excess-always-true-condition.patch | 2 +- ...xport-current-criu-mode-to-opts.mode.patch | 2 +- ...-use-new-opts.mode-in-image_dir_mode.patch | 2 +- ...that-cpuinfo-command-has-sub-command.patch | 2 +- ...port-for-SOCK_SEQPACKET-unix-sockets.patch | 2 +- ...QPACKET-variants-to-unix-socket-test.patch | 2 +- 0085-tls-fix-typo.patch | 2 +- 0086-tls-use-ssize_t-for-return-value.patch | 2 +- 0087-tls-add-more-comments.patch | 2 +- ...nect_from_page_server-to-shutdown-a-.patch | 2 +- ...-terminate-connections-synchronously.patch | 2 +- ...aiting-for-a-new-command-after-a-clo.patch | 2 +- ...lazy-thp-test-in-the-lazy-remote-mod.patch | 2 +- ...e.out.inprogress-if-a-test-has-faile.patch | 2 +- ...ils-of-all-logs-if-a-test-has-failed.patch | 2 +- ...ic-uffd-events-add-more-log-messages.patch | 2 +- ...k_mountpoint_fd-from-__open_mountpoi.patch | 2 +- ...mnt_fd-argument-of-__open_mountpoint.patch | 2 +- ...e-add-helper-to-resolve-sdev-from-fd.patch | 2 +- ...-check_mountpoint_fd-fallback-to-get.patch | 2 +- ...t-criu-image-streamer-with-all-tests.patch | 2 +- 0100-readme-add-docker-test-badge.patch | 2 +- ...tributing-remove-old-badges-and-logo.patch | 2 +- ...-to-latest-Vagrant-and-Fedora-images.patch | 2 +- 0103-ci-added-.lgtm.yml-file.patch | 2 +- ...b-introduce-feature-check-in-libcriu.patch | 2 +- ...d-tests-for-feature-check-in-libcriu.patch | 2 +- ...-tiny-fix-on-truncating-memory-image.patch | 2 +- ...fix-zdtm-static-maps00-case-in-arm64.patch | 2 +- ...pel-fix-GCC-12-failure-out-of-bounds.patch | 2 +- ...nfiguration-file-scanner-with-GCC-12.patch | 2 +- 0110-compel-fix-parasite-with-GCC-12.patch | 2 +- ...-continue-on-error-for-cross-compile.patch | 2 +- 0112-test-autofs-fix-use-after-free.patch | 2 +- ...Fix-formatting-in-criu-documentation.patch | 2 +- 0114-ci-install-libbsd-dependency.patch | 2 +- ...ting-sid-for-shell-job-also-update-m.patch | 2 +- ...riu-ns-fix-exit-code-o-for-criu-dump.patch | 2 +- ...riu-ns-use-os.waitstatus_to_exitcode.patch | 2 +- ...-Fix-sys_mmap-s-returned-value-check.patch | 2 +- ...TRACE_GET_THREAD_AREA-errors-are-han.patch | 2 +- ...an-unique-ID-of-the-current-criu-run.patch | 2 +- ...nerate-unique-transport-socket-names.patch | 2 +- ...a-check-for-using-memfd-with-hugetlb.patch | 2 +- ...rndat-Collect-hugetlb-device-numbers.patch | 2 +- ...for-checkpoint-restore-hugetlb-Syste.patch | 2 +- ...support-for-checkpoint-restore-memfd.patch | 2 +- ...-Add-support-for-hugetlb-memory-mapp.patch | 2 +- ...-mem-Skip-premapping-hugetlb-mapping.patch | 2 +- ...azy-mode-restore-on-hugetlb-mappings.patch | 2 +- ...-Add-MAP_HUGETLB-memory-mapping-test.patch | 2 +- 0130-zdtm-Add-memfd-hugetlb-test.patch | 2 +- 0131-zdtm-Add-shm-hugetlb-test.patch | 2 +- ...ETLB-mappings-test-for-parent-child-.patch | 2 +- ...kip-MAP_HUGETLB-tests-in-stream-test.patch | 2 +- 0134-bpfmap-handle-new-field-in-fdinfo.patch | 2 +- ...test-remove-test-for-LOCK_MAND-flock.patch | 2 +- ...-test-disable-rseq-also-on-Archlinux.patch | 2 +- 0137-zdtm-fix-missplacement-of-err-True.patch | 2 +- ...mxcsr-during-error-injection-to-zero.patch | 2 +- ...smaps-remove-useless-nonlinear-check.patch | 2 +- ...ount-fix-e_str-leak-in-ext_mount_add.patch | 2 +- ...-fix-cr_imgset-leak-in-dump_one_task.patch | 2 +- ...n-fix-tun_link-leak-in-dump_tun_link.patch | 2 +- ...32_t-id-variable-printf-format-speci.patch | 2 +- 0144-zdtm-refactor-main.patch | 2 +- 0145-zdtm-sort-import-lines.patch | 2 +- 0146-zdtm-use-long-form-cli-options.patch | 2 +- 0147-zdtm-add-criu-config-option.patch | 2 +- ...-redundant-config_inotify_irmap-test.patch | 2 +- 0149-ci-run-criu-config-tests.patch | 2 +- ...-config-fix-ns-leak-in-parse_join_ns.patch | 2 +- ...-net-fix-e_str-leak-in-veth_pair_add.patch | 2 +- ...files-fix-inh-leak-in-inherit_fd_add.patch | 2 +- ...nix-fix-e_str-leak-in-unix_sk_id_add.patch | 2 +- ...ffd-fix-__u64-print-format-specifier.patch | 2 +- ..._master-test-to-correspond-to-it-s-n.patch | 2 +- ...o_add_list_before-helper-for-adding-.patch | 2 +- ...ect-non-fsroot-mounts-as-device-exte.patch | 2 +- ...-mounts-of-external-devices-external.patch | 2 +- ...e-and-source-checks-for-external-mou.patch | 2 +- ...bind-list-before-using-it-in-mnt_is_.patch | 2 +- 0161-util-add-get_relative_path-helper.patch | 2 +- ...e-tests-for-get_relative_path-helper.patch | 2 +- ...nd_pick-helper-to-pick-the-desired-b.patch | 2 +- ...is_external-_bind-and-can_receive_ma.patch | 2 +- ...pping-external-mounts-in-dump_one_mo.patch | 2 +- ...w-more-info-about-why-we-can-t-mount.patch | 2 +- ...rnal-mount-before-mounting-it-s-bind.patch | 2 +- 0168-zdtm-add-new-mnt_ext_root-test.patch | 2 +- ...p-external-mount-map-to-init-contain.patch | 2 +- 0170-zdtm-add-mnt_ext_collision-test.patch | 2 +- 0171-mount-add-mnt_is_root_bind-helper.patch | 2 +- ...ed-mount-namespaces-with-different-r.patch | 2 +- 0173-zdtm-add-mntns_pivot_root-test.patch | 2 +- ...-superblock-flags-to-nested-ns-roots.patch | 2 +- 0175-zdtm-add-mntns_pivot_root_ro-test.patch | 2 +- ...eate-auxiliary-binfmt_misc-mount-in-.patch | 2 +- ...ave-ns_mountpoint-NULL-for-aux-binfm.patch | 2 +- ...ace-CRTIME_MNT_ID-with-HELPER_MNT_ID.patch | 2 +- ...-can_receive_master_from_root-helper.patch | 2 +- ...al-slavery-mounts-to-separate-mnt_ex.patch | 2 +- ...erride-master_id-to-1-for-root-binds.patch | 2 +- ...d-helper-mnt_get_external_bind_nodev.patch | 2 +- ...-is_overmounted-as-early-as-possible.patch | 2 +- ...yard-tree-merge-as-early-as-possible.patch | 2 +- ...-mount-fix-broken-remounted_rw-check.patch | 2 +- ...al-place-for-shared-variables-on-mou.patch | 2 +- ...mountpoint-in-autofs_create_dentries.patch | 2 +- ...-ns_mountpoint-in-mnt_is_overmounted.patch | 2 +- ...yard-children-from-mnt_needs_remap-c.patch | 2 +- ...ntpoint-in-validate_children_collisi.patch | 2 +- ..._mountpoint-in-root_path_from_parent.patch | 2 +- ...ntpoint-for-children-overmount-check.patch | 2 +- ...t_get_sibling_path-via-get_relative_.patch | 2 +- ...use-ns_mountpoint-in-collect_mntinfo.patch | 2 +- ...ount-use-ns_mountpoint-in-aufs_parse.patch | 2 +- ...mount-use-ns_mountpoint-in-mnt_depth.patch | 2 +- ...ntpoint-instead-of-mountpoint-where-.patch | 2 +- ...ice_mountpoint-getter-for-mountpoint.patch | 2 +- ...create_ghost_dentry-out-of-create_gh.patch | 2 +- ...h-create_ghost-to-work-with-mount-v2.patch | 2 +- ...clean_one_remap-to-work-with-mount-v.patch | 2 +- ...or-MOVE_MOUNT_SET_GROUP-availability.patch | 2 +- 0203-compel-add-open_tree-syscall.patch | 2 +- ...ether-the-openat2-syscall-is-support.patch | 2 +- 0205-util-add-resolve_mountpoint-helper.patch | 2 +- ...ck_options-after-kerndat_init-and-lo.patch | 2 +- ...ew-option-mntns-compat-mode-for-old-.patch | 2 +- 0208-mount-add-plain-mountpoints.patch | 2 +- ...ort-parent-dirs-helpers-for-mount-v2.patch | 2 +- ...ount-remove-double-ns_id-declaration.patch | 2 +- ...t-export-common-defines-for-mount-v2.patch | 2 +- ...xport-several-functions-for-mount-v2.patch | 2 +- ...export-global-variables-for-mount-v2.patch | 2 +- 0214-mount-add-new-mounts-v2-engine.patch | 2 +- ...ts-compat-mode-on-restore-with-mntns.patch | 2 +- 0216-ci-run-tests-for-old-mount-engine.patch | 2 +- ...ew-mnt_ext_sharing-test-for-mount-v2.patch | 2 +- ...-zdtm-add-mount_complex_sharing-test.patch | 2 +- ...tion-group-with-mount-flags-to-mount.patch | 2 +- ...tm-mount-v2-disable-mnt_tracefs-test.patch | 2 +- ...nt_ext_dev-also-run-for-old-mount-en.patch | 2 +- ...st-jenkins-test-for-old-mount-engine.patch | 2 +- ...tm-mount-v2-disable-pty-console-test.patch | 2 +- ...unt-engine-fallback-messages-logleve.patch | 2 +- ...-messages-differ-in-different-places.patch | 2 +- 0226-zdtm-use-unique-holder-for-cgroups.patch | 2 +- 0227-scripts-ci-mount-test-cgroups-once.patch | 2 +- ...add-a-helper-to-hold-a-pid-namespace.patch | 2 +- ...parmor-Fix-Wfortify-source-for-Clang.patch | 2 +- 0230-style-delete-some-redundant-code.patch | 2 +- ...unused-but-set-variable-for-Clang-15.patch | 2 +- ...syscall-into-compel-std-plugin-sysca.patch | 2 +- ...rndat-check-for-rseq-syscall-support.patch | 2 +- ...nd_ptrace_attach-helper-from-cr-chec.patch | 2 +- ...ck-Add-ptrace-rseq-conf-dump-feature.patch | 2 +- 0236-rseq-initial-support.patch | 57 +++++++++---------- ...asic-static-rseq00-test-for-rseq-C-R.patch | 15 +++-- ...Revert-ci-disable-glibc-rseq-support.patch | 2 +- ...-Fedora-Rawhide-based-test-on-Cirrus.patch | 2 +- ...lude-add-thread_pointer.h-from-Glibc.patch | 2 +- ...egister-rseq-at-the-thread-start-for.patch | 15 ++--- ...00-fix-rseq-test-when-linking-with-a.patch | 10 ++-- ...lpers-to-get-set-instruction-pointer.patch | 2 +- ...-fixup-thread-IP-when-inside-rseq-cs.patch | 24 ++------ ...add-transition-rseq01-test-for-amd64.patch | 15 +++-- ...-test-disable-rseq-also-on-Archlinux.patch | 2 +- 0247-cr-dump-handle-rseq-flags-field.patch | 48 ++++++++-------- ...transition-test-with-NO_RESTART-CS-f.patch | 17 +++--- 0249-zdtm-temporary-disable-rseq02-test.patch | 2 +- criu.spec | 5 +- 250 files changed, 340 insertions(+), 348 deletions(-) diff --git a/0001-criu-8-add-external-net-option.patch b/0001-criu-8-add-external-net-option.patch index 19264ed..2779f41 100644 --- a/0001-criu-8-add-external-net-option.patch +++ b/0001-criu-8-add-external-net-option.patch @@ -1,4 +1,4 @@ -From 0bb7f1fc1ced67396866a913d39bc61a3bedbed5 Mon Sep 17 00:00:00 2001 +From 865ee1b856e1ad8a6ee45192e048c414417b4ee9 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 20 Sep 2021 13:50:08 +0100 Subject: [PATCH 001/249] criu(8): add --external net option diff --git a/0002-tcp-Skip-restoring-TCP-state-when-dumping-with-tcp-c.patch b/0002-tcp-Skip-restoring-TCP-state-when-dumping-with-tcp-c.patch index 62a8554..c3e6dfe 100644 --- a/0002-tcp-Skip-restoring-TCP-state-when-dumping-with-tcp-c.patch +++ b/0002-tcp-Skip-restoring-TCP-state-when-dumping-with-tcp-c.patch @@ -1,4 +1,4 @@ -From 135c3df15c4b4d968b00ced7cd88133bbdb8962a Mon Sep 17 00:00:00 2001 +From 77c65d7d668d152e660d0a3395348cd69ee0284f Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Thu, 12 Aug 2021 11:05:09 +0000 Subject: [PATCH 002/249] tcp: Skip restoring TCP state when dumping with diff --git a/0003-zdtm-Dumping-restoring-with-tcp-close-on-TCP_CLOSE-s.patch b/0003-zdtm-Dumping-restoring-with-tcp-close-on-TCP_CLOSE-s.patch index b01b2f5..f458f73 100644 --- a/0003-zdtm-Dumping-restoring-with-tcp-close-on-TCP_CLOSE-s.patch +++ b/0003-zdtm-Dumping-restoring-with-tcp-close-on-TCP_CLOSE-s.patch @@ -1,4 +1,4 @@ -From acaf5a96370541678c33a91489df069c55084aff Mon Sep 17 00:00:00 2001 +From 249e34007646ac4c11b0c6c594896aef2eff59e0 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Mon, 20 Sep 2021 20:57:03 +0700 Subject: [PATCH 003/249] zdtm: Dumping/restoring with --tcp-close on TCP_CLOSE diff --git a/0004-criu-8-Add-more-detailed-description-about-tcp-close.patch b/0004-criu-8-Add-more-detailed-description-about-tcp-close.patch index 43d857b..26c377a 100644 --- a/0004-criu-8-Add-more-detailed-description-about-tcp-close.patch +++ b/0004-criu-8-Add-more-detailed-description-about-tcp-close.patch @@ -1,4 +1,4 @@ -From 58c3e33e8227bdf2105dcca18a57a7a8bf3ddd1a Mon Sep 17 00:00:00 2001 +From e42ff0557a30ab4ddf7dfb594de181b7ec7cdc15 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Mon, 4 Oct 2021 20:38:34 +0700 Subject: [PATCH 004/249] criu(8): Add more detailed description about diff --git a/0005-Add-support-for-python3-in-criu-coredump.patch b/0005-Add-support-for-python3-in-criu-coredump.patch index 16b34a6..2625cbd 100644 --- a/0005-Add-support-for-python3-in-criu-coredump.patch +++ b/0005-Add-support-for-python3-in-criu-coredump.patch @@ -1,4 +1,4 @@ -From e37aed0ca94e88f503499ddd828241d5b16122e7 Mon Sep 17 00:00:00 2001 +From 215fa63c41d9e5595946ac085babbdd01930ca6f Mon Sep 17 00:00:00 2001 From: Andrey Vyazovtsev Date: Thu, 26 Aug 2021 22:22:33 +0300 Subject: [PATCH 005/249] Add support for python3 in criu-coredump diff --git a/0006-Add-new-files-for-running-criu-coredump-via-python-2.patch b/0006-Add-new-files-for-running-criu-coredump-via-python-2.patch index 574691e..974b216 100644 --- a/0006-Add-new-files-for-running-criu-coredump-via-python-2.patch +++ b/0006-Add-new-files-for-running-criu-coredump-via-python-2.patch @@ -1,4 +1,4 @@ -From 3a7deb046e713421ee302aac9f726aefeecf60a4 Mon Sep 17 00:00:00 2001 +From d08f284b5d5120a8e550b44901ee96b840900b7d Mon Sep 17 00:00:00 2001 From: AndreyVV-100 Date: Fri, 23 Jul 2021 12:48:03 +0300 Subject: [PATCH 006/249] Add new files for running criu-coredump via python 2 diff --git a/0007-coredump-remove-unused-import.patch b/0007-coredump-remove-unused-import.patch index ae23443..5c7ab41 100644 --- a/0007-coredump-remove-unused-import.patch +++ b/0007-coredump-remove-unused-import.patch @@ -1,4 +1,4 @@ -From 08984ba43fee2b7a872a067cfa7ed9e86059ca9d Mon Sep 17 00:00:00 2001 +From 2d4bb6601de571f5dca7cd43089979747f6acc2e Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:31:12 +0100 Subject: [PATCH 007/249] coredump: remove unused import diff --git a/0008-coredump-sort-imports.patch b/0008-coredump-sort-imports.patch index a942fdb..921409f 100644 --- a/0008-coredump-sort-imports.patch +++ b/0008-coredump-sort-imports.patch @@ -1,4 +1,4 @@ -From 93c8beedcee85b7333a4b9137dad606bec5f3f66 Mon Sep 17 00:00:00 2001 +From e849a46256da1c5b8990c7875580172e35210205 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:32:17 +0100 Subject: [PATCH 008/249] coredump: sort imports diff --git a/0009-coredump-convert-indentation-to-spaces.patch b/0009-coredump-convert-indentation-to-spaces.patch index 0044593..1487a99 100644 --- a/0009-coredump-convert-indentation-to-spaces.patch +++ b/0009-coredump-convert-indentation-to-spaces.patch @@ -1,4 +1,4 @@ -From e945c416d6ddba23642defa66c047102c545526b Mon Sep 17 00:00:00 2001 +From 4f99f82cb3fae3ebaf35b853d7ecbbf1a9fecd27 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:34:00 +0100 Subject: [PATCH 009/249] coredump: convert indentation to spaces diff --git a/0010-python-replace-equality-with-identity-test.patch b/0010-python-replace-equality-with-identity-test.patch index f583eab..51bfc4c 100644 --- a/0010-python-replace-equality-with-identity-test.patch +++ b/0010-python-replace-equality-with-identity-test.patch @@ -1,4 +1,4 @@ -From 162e2c214bb7480f583c202cf2145c65027e4400 Mon Sep 17 00:00:00 2001 +From 6d8ba10f26a6f6d73fd0ff64a85f8803b3021a8a Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:36:10 +0100 Subject: [PATCH 010/249] python: replace equality with identity test diff --git a/0011-coredump-drop-unused-variable.patch b/0011-coredump-drop-unused-variable.patch index fb34cb0..a2bd3fd 100644 --- a/0011-coredump-drop-unused-variable.patch +++ b/0011-coredump-drop-unused-variable.patch @@ -1,4 +1,4 @@ -From f9f591b867abc61b414b4bee84ac683860c89ae6 Mon Sep 17 00:00:00 2001 +From 4f14d170a2cf59a7a1ddfad6f6570e9a750eb16c Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:38:06 +0100 Subject: [PATCH 011/249] coredump: drop unused variable diff --git a/0012-coredump-drop-exec-permission.patch b/0012-coredump-drop-exec-permission.patch index 029b785..6abc1ad 100644 --- a/0012-coredump-drop-exec-permission.patch +++ b/0012-coredump-drop-exec-permission.patch @@ -1,4 +1,4 @@ -From dc6d38708b54aafad660c01112a4ea0f301c5c07 Mon Sep 17 00:00:00 2001 +From 9108a60b953530b594fd246bd33693a6b28bba3e Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:42:46 +0100 Subject: [PATCH 012/249] coredump: drop exec permission diff --git a/0013-coredump-lint-fix-for-block-comments.patch b/0013-coredump-lint-fix-for-block-comments.patch index 8d0f6fa..7e0dfb6 100644 --- a/0013-coredump-lint-fix-for-block-comments.patch +++ b/0013-coredump-lint-fix-for-block-comments.patch @@ -1,4 +1,4 @@ -From ccb2c41bbabaeaa0cec6d31bb0a862a8724568f0 Mon Sep 17 00:00:00 2001 +From 9c26f836e94ba374ba0287e0d97d8a6f9e06635b Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 21:53:06 +0100 Subject: [PATCH 013/249] coredump: lint fix for block comments diff --git a/0014-coredump-fix-missing-whitespace-around-operator.patch b/0014-coredump-fix-missing-whitespace-around-operator.patch index a78370f..542d788 100644 --- a/0014-coredump-fix-missing-whitespace-around-operator.patch +++ b/0014-coredump-fix-missing-whitespace-around-operator.patch @@ -1,4 +1,4 @@ -From dca95ec84857a23e142bbed9016da09c50868014 Mon Sep 17 00:00:00 2001 +From 33b1692e10d8192f583e5fa10d5ab9fb7ac7bef7 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 22:37:26 +0100 Subject: [PATCH 014/249] coredump: fix missing whitespace around operator diff --git a/0015-coredump-fix-too-many-blank-lines.patch b/0015-coredump-fix-too-many-blank-lines.patch index 254f642..fd16235 100644 --- a/0015-coredump-fix-too-many-blank-lines.patch +++ b/0015-coredump-fix-too-many-blank-lines.patch @@ -1,4 +1,4 @@ -From 3495005412dcfe1a897bc52d24a299b098a6eac1 Mon Sep 17 00:00:00 2001 +From a20c0fe6e518a76db428979d2a145e98fdd79988 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 22:39:50 +0100 Subject: [PATCH 015/249] coredump: fix too many blank lines diff --git a/0016-coredump-fix-comparison-to-true.patch b/0016-coredump-fix-comparison-to-true.patch index 592da3f..2685ebf 100644 --- a/0016-coredump-fix-comparison-to-true.patch +++ b/0016-coredump-fix-comparison-to-true.patch @@ -1,4 +1,4 @@ -From da13809e3122ffde0c3657facb978ba7b54bf3a5 Mon Sep 17 00:00:00 2001 +From e2fe46e74dd8904f296baa1257cf7191bcd74c4c Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 22:42:19 +0100 Subject: [PATCH 016/249] coredump: fix comparison to true diff --git a/0017-coredump-lint-fix-visually-indented-line.patch b/0017-coredump-lint-fix-visually-indented-line.patch index d90cf62..78d0bd4 100644 --- a/0017-coredump-lint-fix-visually-indented-line.patch +++ b/0017-coredump-lint-fix-visually-indented-line.patch @@ -1,4 +1,4 @@ -From c9c55b3b33dc7e4295e68e816001216b7568c19e Mon Sep 17 00:00:00 2001 +From 630893e55da8281877ddd833e79e33a5dddd2b1b Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 22:47:59 +0100 Subject: [PATCH 017/249] coredump: lint fix visually indented line diff --git a/0018-test-coredump-fix-shellcheck-errors.patch b/0018-test-coredump-fix-shellcheck-errors.patch index 26aaa99..cad1f22 100644 --- a/0018-test-coredump-fix-shellcheck-errors.patch +++ b/0018-test-coredump-fix-shellcheck-errors.patch @@ -1,4 +1,4 @@ -From 23644721afc34abb4a2d08c7dd7f83d5780a61ba Mon Sep 17 00:00:00 2001 +From 8fa9bbf2a2d5d5fcc80de865d380af7e7917a371 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 6 Sep 2021 00:20:58 +0100 Subject: [PATCH 018/249] test/coredump: fix shellcheck errors diff --git a/0019-make-enable-lint-for-coredump.patch b/0019-make-enable-lint-for-coredump.patch index 2484c08..3ee6f3c 100644 --- a/0019-make-enable-lint-for-coredump.patch +++ b/0019-make-enable-lint-for-coredump.patch @@ -1,4 +1,4 @@ -From 7bf49f15f48be6ae0cc6adddc17322f7d2e94e3b Mon Sep 17 00:00:00 2001 +From 7ea1e500fb23ce96dc895c5d59aae5a3728040b0 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 22:55:24 +0100 Subject: [PATCH 019/249] make: enable lint for coredump diff --git a/0020-ci-enable-coredump-tests.patch b/0020-ci-enable-coredump-tests.patch index a6ebe98..90c3af2 100644 --- a/0020-ci-enable-coredump-tests.patch +++ b/0020-ci-enable-coredump-tests.patch @@ -1,4 +1,4 @@ -From 50311543e8d3567ebd15085cdb4ea3b149d1e90c Mon Sep 17 00:00:00 2001 +From 2b3165ebfecb216a8f07c3d2b7a68723d96f13ff Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 5 Sep 2021 23:06:56 +0100 Subject: [PATCH 020/249] ci: enable coredump tests diff --git a/0021-pie-restorer-remove-excess-hash-printf-specifier.patch b/0021-pie-restorer-remove-excess-hash-printf-specifier.patch index 9dc7236..ab350c5 100644 --- a/0021-pie-restorer-remove-excess-hash-printf-specifier.patch +++ b/0021-pie-restorer-remove-excess-hash-printf-specifier.patch @@ -1,4 +1,4 @@ -From a8956a7579f094de1401b6486501d6d553754b81 Mon Sep 17 00:00:00 2001 +From fe002c36aa94b8cfde68c12710084be558afec02 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 21 Oct 2021 11:47:01 +0300 Subject: [PATCH 021/249] pie/restorer: remove excess hash printf specifier diff --git a/0022-tty-fix-the-null-pointer-of-get_tty_driver.patch b/0022-tty-fix-the-null-pointer-of-get_tty_driver.patch index fd2c849..525cf40 100644 --- a/0022-tty-fix-the-null-pointer-of-get_tty_driver.patch +++ b/0022-tty-fix-the-null-pointer-of-get_tty_driver.patch @@ -1,4 +1,4 @@ -From add9597c6c6ed74c643e0784c171eb0ca8deab53 Mon Sep 17 00:00:00 2001 +From 373b1b787c96c4ee795000cb0e190ac5d135e17c Mon Sep 17 00:00:00 2001 From: "fu.lin" Date: Fri, 17 Sep 2021 17:16:48 +0800 Subject: [PATCH 022/249] tty: fix the null pointer of get_tty_driver diff --git a/0023-util-use-nftw-in-rmrf-helper.patch b/0023-util-use-nftw-in-rmrf-helper.patch index 7a2f6a7..585698d 100644 --- a/0023-util-use-nftw-in-rmrf-helper.patch +++ b/0023-util-use-nftw-in-rmrf-helper.patch @@ -1,4 +1,4 @@ -From 889fde47e57226278767be69768b733eeb84f15c Mon Sep 17 00:00:00 2001 +From 03cb3026fe42cc66b177e66ab96f27bba4e06ce3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 22 Oct 2021 17:56:37 +0300 Subject: [PATCH 023/249] util: use nftw in rmrf helper diff --git a/0024-criu-ns-make-pidns-init-first-do-setsid.patch b/0024-criu-ns-make-pidns-init-first-do-setsid.patch index 90bc189..dbd0c94 100644 --- a/0024-criu-ns-make-pidns-init-first-do-setsid.patch +++ b/0024-criu-ns-make-pidns-init-first-do-setsid.patch @@ -1,4 +1,4 @@ -From 06a4400fc7b96e7abbeda7f79ee52daa61fe0223 Mon Sep 17 00:00:00 2001 +From 5002b2bedcdeac2e682f7995c9210fe351c6f818 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 18 Oct 2021 18:43:14 +0300 Subject: [PATCH 024/249] criu-ns: make pidns init first do setsid diff --git a/0025-net-optimize-restore_rule-to-not-open-the-CR_FD_RULE.patch b/0025-net-optimize-restore_rule-to-not-open-the-CR_FD_RULE.patch index 0547fde..fdfe0d8 100644 --- a/0025-net-optimize-restore_rule-to-not-open-the-CR_FD_RULE.patch +++ b/0025-net-optimize-restore_rule-to-not-open-the-CR_FD_RULE.patch @@ -1,4 +1,4 @@ -From 2cdae896f304afae1d2b96dd00f2a599266765be Mon Sep 17 00:00:00 2001 +From 23f4a75c65a08007e8c42aa71ceea4d32cebf9cd Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Thu, 28 Oct 2021 21:05:57 +0000 Subject: [PATCH 025/249] net: optimize restore_rule() to not open the diff --git a/0026-ci-replace-deprecated-codecov-bash-uploader.patch b/0026-ci-replace-deprecated-codecov-bash-uploader.patch index c845f54..18418fe 100644 --- a/0026-ci-replace-deprecated-codecov-bash-uploader.patch +++ b/0026-ci-replace-deprecated-codecov-bash-uploader.patch @@ -1,4 +1,4 @@ -From 175fb94e620f9e33358e92bec0262e0586ec554a Mon Sep 17 00:00:00 2001 +From 3920fd02a3494c5888083967a3054d8569866b4a Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 27 Oct 2021 07:27:22 +0000 Subject: [PATCH 026/249] ci: replace deprecated codecov bash uploader diff --git a/0027-ci-fix-userfaultfd-test-failures.patch b/0027-ci-fix-userfaultfd-test-failures.patch index ca61f9b..50e4024 100644 --- a/0027-ci-fix-userfaultfd-test-failures.patch +++ b/0027-ci-fix-userfaultfd-test-failures.patch @@ -1,4 +1,4 @@ -From a78590464010d9de5c794b4fc12aea8c5a0b46a1 Mon Sep 17 00:00:00 2001 +From 9dcf2c5116dcdac8b5ef99bf995cf5cfe6424c92 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 4 Nov 2021 09:10:38 +0000 Subject: [PATCH 027/249] ci: fix userfaultfd test failures diff --git a/0028-ci-use-Fedora-34-for-lint-CI-runs.patch b/0028-ci-use-Fedora-34-for-lint-CI-runs.patch index 89e550c..c908f78 100644 --- a/0028-ci-use-Fedora-34-for-lint-CI-runs.patch +++ b/0028-ci-use-Fedora-34-for-lint-CI-runs.patch @@ -1,4 +1,4 @@ -From 20c65ae87263315214c48a636dc20b4dbac03215 Mon Sep 17 00:00:00 2001 +From fa1ec35f42dd652ff57a9c816b11359eae38ddcf Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 4 Nov 2021 09:18:31 +0000 Subject: [PATCH 028/249] ci: use Fedora 34 for lint CI runs diff --git a/0029-tests-improve-the-image-streamer-process-control.patch b/0029-tests-improve-the-image-streamer-process-control.patch index 3155588..3380c0e 100644 --- a/0029-tests-improve-the-image-streamer-process-control.patch +++ b/0029-tests-improve-the-image-streamer-process-control.patch @@ -1,4 +1,4 @@ -From ef7f435bccd1a60230a66271723590656e0917b1 Mon Sep 17 00:00:00 2001 +From ff5beb22edc05bad44a1e6aecc4433212c991ed6 Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Fri, 29 Oct 2021 02:49:31 +0000 Subject: [PATCH 029/249] tests: improve the image streamer process control diff --git a/0030-sockets-don-t-call-sk_setbufs-asyncronously.patch b/0030-sockets-don-t-call-sk_setbufs-asyncronously.patch index 5d80afe..d3df87a 100644 --- a/0030-sockets-don-t-call-sk_setbufs-asyncronously.patch +++ b/0030-sockets-don-t-call-sk_setbufs-asyncronously.patch @@ -1,4 +1,4 @@ -From 04464397f1d2bf43265ed70bba029bfa57d20092 Mon Sep 17 00:00:00 2001 +From 36869e72971182f0e738edb7174a4505dcc5380c Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 29 Jul 2021 14:21:37 +0300 Subject: [PATCH 030/249] sockets: don't call sk_setbufs asyncronously diff --git a/0031-kerndat-check-for-set-getsockopt-SO_BUF_LOCK-availab.patch b/0031-kerndat-check-for-set-getsockopt-SO_BUF_LOCK-availab.patch index 6d4dd07..96b5132 100644 --- a/0031-kerndat-check-for-set-getsockopt-SO_BUF_LOCK-availab.patch +++ b/0031-kerndat-check-for-set-getsockopt-SO_BUF_LOCK-availab.patch @@ -1,4 +1,4 @@ -From 5dc443bcd848877677b858e1aa21e0c929f19541 Mon Sep 17 00:00:00 2001 +From f00d0d2c8cca8217eaaccf08605192cc3f12503b Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 29 Jul 2021 14:57:17 +0300 Subject: [PATCH 031/249] kerndat: check for set/getsockopt SO_BUF_LOCK diff --git a/0032-sockets-c-r-bufer-size-locks.patch b/0032-sockets-c-r-bufer-size-locks.patch index 40e34c9..20531ab 100644 --- a/0032-sockets-c-r-bufer-size-locks.patch +++ b/0032-sockets-c-r-bufer-size-locks.patch @@ -1,4 +1,4 @@ -From ab926314464645eda33d6ccb505e673d9db01296 Mon Sep 17 00:00:00 2001 +From 4bad0745c28810a2d2bb724b5d13b70d07545ae4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 29 Jul 2021 11:27:13 +0300 Subject: [PATCH 032/249] sockets: c/r bufer size locks diff --git a/0033-zdtm-add-test-for-socket-buffer-size-locks.patch b/0033-zdtm-add-test-for-socket-buffer-size-locks.patch index a64f826..4c62ead 100644 --- a/0033-zdtm-add-test-for-socket-buffer-size-locks.patch +++ b/0033-zdtm-add-test-for-socket-buffer-size-locks.patch @@ -1,4 +1,4 @@ -From b9ef6d19297e0cea7d697513ee685ae13014cdec Mon Sep 17 00:00:00 2001 +From e32a58fcc35b57d6cbc81214e7c4d8f8539dbc5a Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 29 Jul 2021 16:16:12 +0300 Subject: [PATCH 033/249] zdtm: add test for socket buffer size locks diff --git a/0034-zdtm-make-sock_opts02-also-check-lock-change-by-SO_-.patch b/0034-zdtm-make-sock_opts02-also-check-lock-change-by-SO_-.patch index 8cfea59..a668131 100644 --- a/0034-zdtm-make-sock_opts02-also-check-lock-change-by-SO_-.patch +++ b/0034-zdtm-make-sock_opts02-also-check-lock-change-by-SO_-.patch @@ -1,4 +1,4 @@ -From e6d511315f175d80bb6b1adb9bfc68debb46ffc3 Mon Sep 17 00:00:00 2001 +From 46b0f54fe43b128e4949b2522450b519d20a5fc4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 3 Aug 2021 13:05:32 +0300 Subject: [PATCH 034/249] zdtm: make sock_opts02 also check lock change by diff --git a/0035-clang-format-enable-AlignTrailingComments.patch b/0035-clang-format-enable-AlignTrailingComments.patch index 8838372..c816ad2 100644 --- a/0035-clang-format-enable-AlignTrailingComments.patch +++ b/0035-clang-format-enable-AlignTrailingComments.patch @@ -1,4 +1,4 @@ -From 8ea9c9fc7360f9c5250632d0818f68af0de73992 Mon Sep 17 00:00:00 2001 +From ff3ff3b94a45d6907e0d3c6fb850cf3d729ce252 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 28 Oct 2021 17:15:52 +0300 Subject: [PATCH 035/249] clang-format: enable AlignTrailingComments diff --git a/0036-clang-format-do-several-manual-comment-fixups.patch b/0036-clang-format-do-several-manual-comment-fixups.patch index 622bb25..ac0f701 100644 --- a/0036-clang-format-do-several-manual-comment-fixups.patch +++ b/0036-clang-format-do-several-manual-comment-fixups.patch @@ -1,4 +1,4 @@ -From 54b25b72065f17594216642bcf8a3267a0a0a489 Mon Sep 17 00:00:00 2001 +From f8018e956406b88a9bc170354229b5ec40570fef Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 28 Oct 2021 17:17:44 +0300 Subject: [PATCH 036/249] clang-format: do several manual comment fixups diff --git a/0037-clang-format-do-automatic-comment-fixups.patch b/0037-clang-format-do-automatic-comment-fixups.patch index 1eaa294..3fdcb36 100644 --- a/0037-clang-format-do-automatic-comment-fixups.patch +++ b/0037-clang-format-do-automatic-comment-fixups.patch @@ -1,4 +1,4 @@ -From 901042439368aef3513407abcf2f91780fb609a4 Mon Sep 17 00:00:00 2001 +From d42f4cf79a9d248b2129add96186fdb05c39ba5e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 28 Oct 2021 18:10:14 +0300 Subject: [PATCH 037/249] clang-format: do automatic comment fixups diff --git a/0038-cr-dump-fail-dumping-when-zombie-process-with-sid-0.patch b/0038-cr-dump-fail-dumping-when-zombie-process-with-sid-0.patch index af595c8..2c69846 100644 --- a/0038-cr-dump-fail-dumping-when-zombie-process-with-sid-0.patch +++ b/0038-cr-dump-fail-dumping-when-zombie-process-with-sid-0.patch @@ -1,4 +1,4 @@ -From 906549c2de213e25ef6795025604a59609033f9d Mon Sep 17 00:00:00 2001 +From b03d50673e9159a712e86f7a9c75c5cabc09278d Mon Sep 17 00:00:00 2001 From: Liu Hua Date: Mon, 1 Nov 2021 20:50:58 +0800 Subject: [PATCH 038/249] cr-dump: fail dumping when zombie process with sid 0 diff --git a/0039-clang-format-make-x86_ins_capability_mask-human-read.patch b/0039-clang-format-make-x86_ins_capability_mask-human-read.patch index ea63b56..1b326e7 100644 --- a/0039-clang-format-make-x86_ins_capability_mask-human-read.patch +++ b/0039-clang-format-make-x86_ins_capability_mask-human-read.patch @@ -1,4 +1,4 @@ -From e15962cc0cf487a85c4c30a2df0c4fd6dabe66de Mon Sep 17 00:00:00 2001 +From cf56caeb12eb8900409846d2d3d9383cd210388d Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 Oct 2021 10:35:28 +0300 Subject: [PATCH 039/249] clang-format: make x86_ins_capability_mask diff --git a/0040-ci-disable-socket-raw-test-on-centos8.patch b/0040-ci-disable-socket-raw-test-on-centos8.patch index b014a8f..48286df 100644 --- a/0040-ci-disable-socket-raw-test-on-centos8.patch +++ b/0040-ci-disable-socket-raw-test-on-centos8.patch @@ -1,4 +1,4 @@ -From feb6788016c7de1998d00f54887f00b04fa47830 Mon Sep 17 00:00:00 2001 +From 685364f9766498c2f6640dd7882434dd10cd5119 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 19 Nov 2021 10:08:37 +0300 Subject: [PATCH 040/249] ci: disable socket-raw test on centos8 diff --git a/0041-zdtm.py-make-tests-with-link_remap-exclusive.patch b/0041-zdtm.py-make-tests-with-link_remap-exclusive.patch index 3439e3c..5fe396f 100644 --- a/0041-zdtm.py-make-tests-with-link_remap-exclusive.patch +++ b/0041-zdtm.py-make-tests-with-link_remap-exclusive.patch @@ -1,4 +1,4 @@ -From e41b2b10e637920665cf590bc170407d414ecf32 Mon Sep 17 00:00:00 2001 +From ac4dcfc49b09e48e8b7cf6ffe25d6a717969ead2 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 3 Nov 2021 18:34:11 +0300 Subject: [PATCH 041/249] zdtm.py: make tests with --link_remap exclusive diff --git a/0042-tests-improve-the-deterministic-behavior-of-the-test.patch b/0042-tests-improve-the-deterministic-behavior-of-the-test.patch index f6c8e9b..870820d 100644 --- a/0042-tests-improve-the-deterministic-behavior-of-the-test.patch +++ b/0042-tests-improve-the-deterministic-behavior-of-the-test.patch @@ -1,4 +1,4 @@ -From 038d59609716bac5b343dd03e4361ded84d48519 Mon Sep 17 00:00:00 2001 +From e9c9a39b7e5ad461d47ecebfd8d9ba0d1edd6aeb Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Fri, 29 Oct 2021 03:01:14 +0000 Subject: [PATCH 042/249] tests: improve the deterministic behavior of the test diff --git a/0043-clang-format-zdtm-fix-clang-complains-about-strange-.patch b/0043-clang-format-zdtm-fix-clang-complains-about-strange-.patch index 5deabf6..e6f2857 100644 --- a/0043-clang-format-zdtm-fix-clang-complains-about-strange-.patch +++ b/0043-clang-format-zdtm-fix-clang-complains-about-strange-.patch @@ -1,4 +1,4 @@ -From 25c642cb7840033673f36a270074d7a47b0bbd76 Mon Sep 17 00:00:00 2001 +From 044dd55e9585b9b2d1ac15e21cd6e6c08b4d8ee3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 23 Nov 2021 15:06:03 +0300 Subject: [PATCH 043/249] clang-format/zdtm: fix clang complains about strange diff --git a/0044-seize-restore-cgroup-freezer-to-right-state.patch b/0044-seize-restore-cgroup-freezer-to-right-state.patch index 56b5099..4f0eae2 100644 --- a/0044-seize-restore-cgroup-freezer-to-right-state.patch +++ b/0044-seize-restore-cgroup-freezer-to-right-state.patch @@ -1,4 +1,4 @@ -From f1115a8e679c56269e363a609e1b86bc3052963a Mon Sep 17 00:00:00 2001 +From 716dba02dac88130918fd11628c81115a5bab586 Mon Sep 17 00:00:00 2001 From: Liu Hua Date: Fri, 5 Nov 2021 17:08:51 +0800 Subject: [PATCH 044/249] seize: restore cgroup freezer to right state diff --git a/0045-ci-Use-latest-Fedora-for-lint-ci-runs-again.patch b/0045-ci-Use-latest-Fedora-for-lint-ci-runs-again.patch index e1799a6..adde306 100644 --- a/0045-ci-Use-latest-Fedora-for-lint-ci-runs-again.patch +++ b/0045-ci-Use-latest-Fedora-for-lint-ci-runs-again.patch @@ -1,4 +1,4 @@ -From ba0ead357350d413d84fde5d2a35e445aa1aa964 Mon Sep 17 00:00:00 2001 +From 1b5cc130824dcbcef2467b7c513ace0dd6a41fe5 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 24 Nov 2021 11:37:58 +0300 Subject: [PATCH 045/249] ci: Use latest Fedora for lint ci runs again diff --git a/0046-crtools-ignore-SIGPIPE-in-swrk-mode.patch b/0046-crtools-ignore-SIGPIPE-in-swrk-mode.patch index f67400b..5f621c9 100644 --- a/0046-crtools-ignore-SIGPIPE-in-swrk-mode.patch +++ b/0046-crtools-ignore-SIGPIPE-in-swrk-mode.patch @@ -1,4 +1,4 @@ -From 49e0e77e5ca95fbdc0cd419982c0ef07772db04e Mon Sep 17 00:00:00 2001 +From da247673bf35506d48433627421c2d0192159b9c Mon Sep 17 00:00:00 2001 From: Liu Hua Date: Thu, 4 Nov 2021 10:04:22 +0800 Subject: [PATCH 046/249] crtools: ignore SIGPIPE in swrk mode diff --git a/0047-ci-switch-to-centos-stream-8.patch b/0047-ci-switch-to-centos-stream-8.patch index c900a38..4bc5488 100644 --- a/0047-ci-switch-to-centos-stream-8.patch +++ b/0047-ci-switch-to-centos-stream-8.patch @@ -1,4 +1,4 @@ -From 17e98a26b7d6b71613b8231d53ef33b61292c143 Mon Sep 17 00:00:00 2001 +From ecfef3dc95bd1293084916ff2c40250a4442796c Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 24 Nov 2021 16:13:01 +0000 Subject: [PATCH 047/249] ci: switch to centos-stream-8 diff --git a/0048-check-cleanup-child-processes.patch b/0048-check-cleanup-child-processes.patch index 9fe5f0d..2adda17 100644 --- a/0048-check-cleanup-child-processes.patch +++ b/0048-check-cleanup-child-processes.patch @@ -1,4 +1,4 @@ -From aa6fb0bacd5cd9599a6e83b9c19cc10c679a03bf Mon Sep 17 00:00:00 2001 +From 9e074610d7bc702b9220095691e4d138b0c0df09 Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Fri, 19 Nov 2021 20:58:13 +0000 Subject: [PATCH 048/249] check: cleanup child processes diff --git a/0049-files-reg-fix-error-handling-in-open_path.patch b/0049-files-reg-fix-error-handling-in-open_path.patch index 3f90c21..acfc56f 100644 --- a/0049-files-reg-fix-error-handling-in-open_path.patch +++ b/0049-files-reg-fix-error-handling-in-open_path.patch @@ -1,4 +1,4 @@ -From bbc3f37710c5cf1cac507337a536c5523123b2a9 Mon Sep 17 00:00:00 2001 +From e1485b8d58c4927f7cbd1ee0383c7d7f8580bade Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 13 Feb 2020 10:43:14 +0300 Subject: [PATCH 049/249] files-reg: fix error handling in open_path diff --git a/0050-files-reg-fix-error-handling-of-rm_parent_dirs.patch b/0050-files-reg-fix-error-handling-of-rm_parent_dirs.patch index 859815a..8880742 100644 --- a/0050-files-reg-fix-error-handling-of-rm_parent_dirs.patch +++ b/0050-files-reg-fix-error-handling-of-rm_parent_dirs.patch @@ -1,4 +1,4 @@ -From e655a0ac8421325f2de8fbe4f6855b06cd2faace Mon Sep 17 00:00:00 2001 +From e7c9c5c08d4289962d56ec74bb4b554f5ed42f7e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 13 Feb 2020 13:03:12 +0300 Subject: [PATCH 050/249] files-reg: fix error handling of rm_parent_dirs diff --git a/0051-ghost-mount-allocate-remounted_rw-in-shmem-to-get-in.patch b/0051-ghost-mount-allocate-remounted_rw-in-shmem-to-get-in.patch index f9472f8..fe0c63d 100644 --- a/0051-ghost-mount-allocate-remounted_rw-in-shmem-to-get-in.patch +++ b/0051-ghost-mount-allocate-remounted_rw-in-shmem-to-get-in.patch @@ -1,4 +1,4 @@ -From 67b257d852572d38375453671ae038312ed94cba Mon Sep 17 00:00:00 2001 +From 90855f58bae7aa9560868403fac00d5bd14be971 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 13 Feb 2020 18:28:15 +0300 Subject: [PATCH 051/249] ghost/mount: allocate remounted_rw in shmem to get diff --git a/0052-files-reg-temporary-remount-writable-the-mount-we-do.patch b/0052-files-reg-temporary-remount-writable-the-mount-we-do.patch index a08c17e..0bb729e 100644 --- a/0052-files-reg-temporary-remount-writable-the-mount-we-do.patch +++ b/0052-files-reg-temporary-remount-writable-the-mount-we-do.patch @@ -1,4 +1,4 @@ -From 44aa8a5a75529bb4b256bcbdf490da5b730c5c5f Mon Sep 17 00:00:00 2001 +From d30c2c86f6f9a81de004a129661ad7aa5d9fcddb Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 13 Feb 2020 18:26:52 +0300 Subject: [PATCH 052/249] files-reg: temporary remount writable the mount we do diff --git a/0053-zdtm-add-ro-mount-check-after-c-r-to-mntns_ghost01.patch b/0053-zdtm-add-ro-mount-check-after-c-r-to-mntns_ghost01.patch index 797e987..c1f2e7d 100644 --- a/0053-zdtm-add-ro-mount-check-after-c-r-to-mntns_ghost01.patch +++ b/0053-zdtm-add-ro-mount-check-after-c-r-to-mntns_ghost01.patch @@ -1,4 +1,4 @@ -From 0fc0b2d996e0cba450155727239df8aaf31c26f1 Mon Sep 17 00:00:00 2001 +From dff6911878ee62f7cd757a0a8e3ecc3fe4ee6ac7 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 30 Nov 2021 19:03:29 +0300 Subject: [PATCH 053/249] zdtm: add ro-mount check after c/r to mntns_ghost01 diff --git a/0054-clang-format-disable-wrong-struct-pointer-declaratio.patch b/0054-clang-format-disable-wrong-struct-pointer-declaratio.patch index 4ff12da..6433b80 100644 --- a/0054-clang-format-disable-wrong-struct-pointer-declaratio.patch +++ b/0054-clang-format-disable-wrong-struct-pointer-declaratio.patch @@ -1,4 +1,4 @@ -From 4e24f113c007f81904d6f46b336ed94634555657 Mon Sep 17 00:00:00 2001 +From 3174e7ee7e85be9db58373ddceea98e9984f3808 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 25 Nov 2021 16:51:55 +0300 Subject: [PATCH 054/249] clang-format: disable wrong struct pointer diff --git a/0055-ci-Run-cross-compile-on-debian-stable.patch b/0055-ci-Run-cross-compile-on-debian-stable.patch index ad597d1..0e5403d 100644 --- a/0055-ci-Run-cross-compile-on-debian-stable.patch +++ b/0055-ci-Run-cross-compile-on-debian-stable.patch @@ -1,4 +1,4 @@ -From 3dd5cec57d2835e00e69a69f24fa60303216dbda Mon Sep 17 00:00:00 2001 +From b223773cd4ffd0fe8cf6e1384ad95b4c4d1b4109 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sat, 4 Dec 2021 16:18:26 +0000 Subject: [PATCH 055/249] ci: Run cross compile on debian stable diff --git a/0056-ci-Run-cross-compile-with-debian-testing.patch b/0056-ci-Run-cross-compile-with-debian-testing.patch index 2fd6f74..de7341c 100644 --- a/0056-ci-Run-cross-compile-with-debian-testing.patch +++ b/0056-ci-Run-cross-compile-with-debian-testing.patch @@ -1,4 +1,4 @@ -From 28936552df6c83266aa9e8900b5cd92f0aa3a1f7 Mon Sep 17 00:00:00 2001 +From 5aaf82b4d8bd6c89f7e6b0f639c79b3a2d21eeef Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sat, 4 Dec 2021 16:31:34 +0000 Subject: [PATCH 056/249] ci: Run cross compile with debian testing diff --git a/0057-make-Explicitly-enable-FPU-on-ARMv7-builds.patch b/0057-make-Explicitly-enable-FPU-on-ARMv7-builds.patch index 9c1f8ac..30b5cf4 100644 --- a/0057-make-Explicitly-enable-FPU-on-ARMv7-builds.patch +++ b/0057-make-Explicitly-enable-FPU-on-ARMv7-builds.patch @@ -1,4 +1,4 @@ -From 205ba95597c1f538776e4ed6838f7e082178f5fe Mon Sep 17 00:00:00 2001 +From 2ff0ffafa7e23b8a0e64ecd5da9d32e59782e2ee Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Sat, 4 Dec 2021 16:59:51 +0000 Subject: [PATCH 057/249] make: Explicitly enable FPU on ARMv7 builds diff --git a/0058-ci-disable-broken-tests-until-fixed.patch b/0058-ci-disable-broken-tests-until-fixed.patch index 3af4a03..20a7cfe 100644 --- a/0058-ci-disable-broken-tests-until-fixed.patch +++ b/0058-ci-disable-broken-tests-until-fixed.patch @@ -1,4 +1,4 @@ -From d3a8330e09361582888d72a082d5e6fa02f4b9cc Mon Sep 17 00:00:00 2001 +From 02eb97d17b8cf91831dd0a63e431b1399a4be42a Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 3 Dec 2021 16:48:36 +0000 Subject: [PATCH 058/249] ci: disable broken tests until fixed diff --git a/0059-test-do-not-use-keep-going-for-single-zdtm-tests.patch b/0059-test-do-not-use-keep-going-for-single-zdtm-tests.patch index ead2fbf..c693e98 100644 --- a/0059-test-do-not-use-keep-going-for-single-zdtm-tests.patch +++ b/0059-test-do-not-use-keep-going-for-single-zdtm-tests.patch @@ -1,4 +1,4 @@ -From 448c0bdf19285cb7a7fad2872e3f5462ffdeb996 Mon Sep 17 00:00:00 2001 +From 0c6248725ee00d152226d710f9f31362025acdc6 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sun, 5 Dec 2021 16:45:20 +0000 Subject: [PATCH 059/249] test: do not use --keep-going for single zdtm tests diff --git a/0060-files-reg-try-dump_ghost_remap-if-link-remap-failed-.patch b/0060-files-reg-try-dump_ghost_remap-if-link-remap-failed-.patch index 9f5b630..7ad16c1 100644 --- a/0060-files-reg-try-dump_ghost_remap-if-link-remap-failed-.patch +++ b/0060-files-reg-try-dump_ghost_remap-if-link-remap-failed-.patch @@ -1,4 +1,4 @@ -From 6e5fd46d6a30b488ab7f17f0069c598e1f59cdbb Mon Sep 17 00:00:00 2001 +From a446b513ccd5e91078cbc30cecfd4aa0634119f4 Mon Sep 17 00:00:00 2001 From: ianlang Date: Fri, 3 Dec 2021 15:15:30 +0800 Subject: [PATCH 060/249] files-reg: try dump_ghost_remap if link-remap failed diff --git a/0061-util-make-page-server-IPv6-safe.patch b/0061-util-make-page-server-IPv6-safe.patch index cb06f7a..8428e19 100644 --- a/0061-util-make-page-server-IPv6-safe.patch +++ b/0061-util-make-page-server-IPv6-safe.patch @@ -1,4 +1,4 @@ -From a006788dfab8a971218450923a59209c52f4eb88 Mon Sep 17 00:00:00 2001 +From 0eed6f740c3f1efc580b62d59ee3efff64276077 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 7 Dec 2021 09:10:14 +0000 Subject: [PATCH 061/249] util: make page-server IPv6 safe diff --git a/0062-sk-unix-Fix-TCP_ESTABLISHED-checks-in-unix-sockets.patch b/0062-sk-unix-Fix-TCP_ESTABLISHED-checks-in-unix-sockets.patch index 2149781..bcdd74e 100644 --- a/0062-sk-unix-Fix-TCP_ESTABLISHED-checks-in-unix-sockets.patch +++ b/0062-sk-unix-Fix-TCP_ESTABLISHED-checks-in-unix-sockets.patch @@ -1,4 +1,4 @@ -From b6f9c443a78efb50225c2fabd224cea6c71d1c49 Mon Sep 17 00:00:00 2001 +From 7360c8d2a013f17c9cccad8305e63321b05f651d Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Thu, 2 Dec 2021 23:01:33 +0700 Subject: [PATCH 062/249] sk-unix: Fix TCP_ESTABLISHED checks in unix sockets diff --git a/0063-ci-Enable-disabled-unix-socket-related-tests.patch b/0063-ci-Enable-disabled-unix-socket-related-tests.patch index e4d66c4..5905600 100644 --- a/0063-ci-Enable-disabled-unix-socket-related-tests.patch +++ b/0063-ci-Enable-disabled-unix-socket-related-tests.patch @@ -1,4 +1,4 @@ -From c3e4e68b3cab075415f5e500cb884a2e25a434b9 Mon Sep 17 00:00:00 2001 +From 1d4d1d36e6b01b0ec7d87e3f0c6e6464929f9e21 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Tue, 7 Dec 2021 23:40:12 +0700 Subject: [PATCH 063/249] ci: Enable disabled unix socket related tests diff --git a/0064-ci-install-procps-in-Alpine.patch b/0064-ci-install-procps-in-Alpine.patch index 50cd85a..88568d1 100644 --- a/0064-ci-install-procps-in-Alpine.patch +++ b/0064-ci-install-procps-in-Alpine.patch @@ -1,4 +1,4 @@ -From a352d973e7901db8d46322e1cb7fdae5bf920967 Mon Sep 17 00:00:00 2001 +From 6ed22ff628c5cca460584b25be6c5bc7a241b01c Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Fri, 10 Dec 2021 15:35:29 +0000 Subject: [PATCH 064/249] ci: install procps in Alpine diff --git a/0065-test-another-try-to-correctly-fix-the-kernel-version.patch b/0065-test-another-try-to-correctly-fix-the-kernel-version.patch index 3d714df..c6cd645 100644 --- a/0065-test-another-try-to-correctly-fix-the-kernel-version.patch +++ b/0065-test-another-try-to-correctly-fix-the-kernel-version.patch @@ -1,4 +1,4 @@ -From 564eaa77e6c780f7dd8195f053a1928447e87b9c Mon Sep 17 00:00:00 2001 +From afa186872a305406482e8d1ff02aae092a9dfdc0 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 3 Dec 2021 16:59:56 +0000 Subject: [PATCH 065/249] test: another try to correctly fix the kernel version diff --git a/0066-x86-compel-fault-inject-bound-xsave-features-set.patch b/0066-x86-compel-fault-inject-bound-xsave-features-set.patch index 30af35b..026f235 100644 --- a/0066-x86-compel-fault-inject-bound-xsave-features-set.patch +++ b/0066-x86-compel-fault-inject-bound-xsave-features-set.patch @@ -1,4 +1,4 @@ -From 41bf30f94b72172e807e4b1ebdc6e7df076b3e75 Mon Sep 17 00:00:00 2001 +From 80cabb69fb7bc028e632796a48b930c2238ddd08 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 13 Dec 2021 15:19:50 +0300 Subject: [PATCH 066/249] x86/compel/fault-inject: bound xsave features set diff --git a/0067-x86-compel-fault-inject-print-the-initial-seed.patch b/0067-x86-compel-fault-inject-print-the-initial-seed.patch index 87a09e1..0d6a529 100644 --- a/0067-x86-compel-fault-inject-print-the-initial-seed.patch +++ b/0067-x86-compel-fault-inject-print-the-initial-seed.patch @@ -1,4 +1,4 @@ -From eb100eb39cb32d7a559168267a11f5ac9db9c154 Mon Sep 17 00:00:00 2001 +From efd0cc2c4fba3bc72133f022e3fe393a0346cb51 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 13 Dec 2021 15:32:00 +0300 Subject: [PATCH 067/249] x86/compel/fault-inject: print the initial seed diff --git a/0068-ci-enable-x86-xsave-fault-injection-tests-back.patch b/0068-ci-enable-x86-xsave-fault-injection-tests-back.patch index fb30d03..58ebd7f 100644 --- a/0068-ci-enable-x86-xsave-fault-injection-tests-back.patch +++ b/0068-ci-enable-x86-xsave-fault-injection-tests-back.patch @@ -1,4 +1,4 @@ -From 52cd18643245eb0dfe4cc9d8b21f89e1c8f30d35 Mon Sep 17 00:00:00 2001 +From e92aca9152507f3800cb39a8d9a1acc7ca5e130a Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 13 Dec 2021 15:46:47 +0300 Subject: [PATCH 068/249] ci: enable x86 xsave fault injection tests back diff --git a/0069-Add-documentation-for-timeout-option.patch b/0069-Add-documentation-for-timeout-option.patch index bd3bab8..c94a704 100644 --- a/0069-Add-documentation-for-timeout-option.patch +++ b/0069-Add-documentation-for-timeout-option.patch @@ -1,4 +1,4 @@ -From ce3e913a89f979e7d3787dff58351b7ba915bc01 Mon Sep 17 00:00:00 2001 +From b1c13f61a2012f35466768be1de0b3761934fc3a Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 14 Dec 2021 12:54:19 +0000 Subject: [PATCH 069/249] Add documentation for --timeout option diff --git a/0070-usernsd-UNS_FDOUT-should-not-require-an-input-descri.patch b/0070-usernsd-UNS_FDOUT-should-not-require-an-input-descri.patch index 1259547..83b229a 100644 --- a/0070-usernsd-UNS_FDOUT-should-not-require-an-input-descri.patch +++ b/0070-usernsd-UNS_FDOUT-should-not-require-an-input-descri.patch @@ -1,4 +1,4 @@ -From d83fe7440c3bce204018bf9167f67bac48118c2a Mon Sep 17 00:00:00 2001 +From a03504744be5e55913c690bf1ed26b0f0182af1d Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 14 Dec 2021 08:19:16 -0800 Subject: [PATCH 070/249] usernsd: UNS_FDOUT should not require an input diff --git a/0071-libcriu-add-setting-lsm-mount-context-to-libcriu.patch b/0071-libcriu-add-setting-lsm-mount-context-to-libcriu.patch index e52b8f1..170d14b 100644 --- a/0071-libcriu-add-setting-lsm-mount-context-to-libcriu.patch +++ b/0071-libcriu-add-setting-lsm-mount-context-to-libcriu.patch @@ -1,4 +1,4 @@ -From bee106f22237800350009d4875be5361c02108c0 Mon Sep 17 00:00:00 2001 +From c94a71639925fd56fa59bdf74ba416f3306c1a72 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 1 Dec 2021 11:08:53 +0000 Subject: [PATCH 071/249] libcriu: add setting lsm-mount-context to libcriu diff --git a/0072-ci-use-unstable-release-for-cross-compile.patch b/0072-ci-use-unstable-release-for-cross-compile.patch index 16b9aa3..41af95d 100644 --- a/0072-ci-use-unstable-release-for-cross-compile.patch +++ b/0072-ci-use-unstable-release-for-cross-compile.patch @@ -1,4 +1,4 @@ -From 564f6313cb85a64460a30123b07197dd98224c32 Mon Sep 17 00:00:00 2001 +From eb0323c25ea6d3ddab0e85c9f24d29154155ae4f Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sat, 18 Dec 2021 17:25:17 +0000 Subject: [PATCH 072/249] ci: use unstable release for cross-compile diff --git a/0073-ci-disable-glibc-rseq-support.patch b/0073-ci-disable-glibc-rseq-support.patch index 2a1bfd7..fb1232f 100644 --- a/0073-ci-disable-glibc-rseq-support.patch +++ b/0073-ci-disable-glibc-rseq-support.patch @@ -1,4 +1,4 @@ -From 95e6bc3e53bec3c4f00b7e4ddfab5cf904780dbc Mon Sep 17 00:00:00 2001 +From 23ad9ca9074fdf8adc6d155c665853bee0e2190b Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Fri, 17 Dec 2021 03:01:49 +0000 Subject: [PATCH 073/249] ci: disable glibc rseq support diff --git a/0074-libcriu-add-single-pre-dump-support.patch b/0074-libcriu-add-single-pre-dump-support.patch index 951fe22..e3eb5ac 100644 --- a/0074-libcriu-add-single-pre-dump-support.patch +++ b/0074-libcriu-add-single-pre-dump-support.patch @@ -1,4 +1,4 @@ -From 7728a658b207bfa2b4910de7d9781bca993be8dd Mon Sep 17 00:00:00 2001 +From 3c27c8d7a494bcf59b08f9fe203d1e408d1b6a1f Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 3 Dec 2021 14:32:33 +0000 Subject: [PATCH 074/249] libcriu: add single pre-dump support diff --git a/0075-tests-added-test-for-single-pre-dump-support.patch b/0075-tests-added-test-for-single-pre-dump-support.patch index 6a6d2e1..d0106e7 100644 --- a/0075-tests-added-test-for-single-pre-dump-support.patch +++ b/0075-tests-added-test-for-single-pre-dump-support.patch @@ -1,4 +1,4 @@ -From e9452713606cfdbc9e41c28cde674dcaeaded23a Mon Sep 17 00:00:00 2001 +From 871feecbc5f200ddf7c9c18e0dc8eaa0544d0688 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 14 Dec 2021 13:09:19 +0000 Subject: [PATCH 075/249] tests: added test for single pre-dump support diff --git a/0076-zdtm.py-clean-up-MAKEFLAGS-env-variable-before-runni.patch b/0076-zdtm.py-clean-up-MAKEFLAGS-env-variable-before-runni.patch index 3e41efa..3474866 100644 --- a/0076-zdtm.py-clean-up-MAKEFLAGS-env-variable-before-runni.patch +++ b/0076-zdtm.py-clean-up-MAKEFLAGS-env-variable-before-runni.patch @@ -1,4 +1,4 @@ -From f495ba8e621ca3e4875c81f7b4dca0f3e9b79912 Mon Sep 17 00:00:00 2001 +From 05b155f1f46eb98e38ad1a0d8a332ab3326323ff Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Sat, 18 Dec 2021 10:40:11 +0300 Subject: [PATCH 076/249] zdtm.py: clean up MAKEFLAGS env variable before diff --git a/0077-zdtm-zdtm_ct-fix-compilation-error-with-strict-proto.patch b/0077-zdtm-zdtm_ct-fix-compilation-error-with-strict-proto.patch index dc74fb7..bc7426b 100644 --- a/0077-zdtm-zdtm_ct-fix-compilation-error-with-strict-proto.patch +++ b/0077-zdtm-zdtm_ct-fix-compilation-error-with-strict-proto.patch @@ -1,4 +1,4 @@ -From d1c2c801af398dbf95fc693cf3baa3f24a8741ec Mon Sep 17 00:00:00 2001 +From ffb3cfd38ccc307a8c8171220cd744578a679195 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Sat, 18 Dec 2021 11:03:53 +0300 Subject: [PATCH 077/249] zdtm: zdtm_ct fix compilation error with diff --git a/0078-zdtm-remove-mntns-deleted-dst-test-leftover-from-git.patch b/0078-zdtm-remove-mntns-deleted-dst-test-leftover-from-git.patch index 358d5fd..66585f1 100644 --- a/0078-zdtm-remove-mntns-deleted-dst-test-leftover-from-git.patch +++ b/0078-zdtm-remove-mntns-deleted-dst-test-leftover-from-git.patch @@ -1,4 +1,4 @@ -From cbc53fdb2d10f56c74abeff6b1ecb8374b38b84b Mon Sep 17 00:00:00 2001 +From 6bb67ad114a16bcabe3fe349309093f00c6f39da Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 17 Dec 2021 15:33:55 +0300 Subject: [PATCH 078/249] zdtm: remove mntns-deleted-dst test leftover from git diff --git a/0079-crtools-remove-excess-always-true-condition.patch b/0079-crtools-remove-excess-always-true-condition.patch index ef4692f..9c391f2 100644 --- a/0079-crtools-remove-excess-always-true-condition.patch +++ b/0079-crtools-remove-excess-always-true-condition.patch @@ -1,4 +1,4 @@ -From cf7485318cdcdb47e912ca7d53ab8965d5518b63 Mon Sep 17 00:00:00 2001 +From 8950d844260c91535ce1bbfc670ee547ca7c3b85 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 10 Dec 2021 15:34:19 +0300 Subject: [PATCH 079/249] crtools: remove excess always true condition diff --git a/0080-crtools-rpc-export-current-criu-mode-to-opts.mode.patch b/0080-crtools-rpc-export-current-criu-mode-to-opts.mode.patch index 7c27a7d..944e23f 100644 --- a/0080-crtools-rpc-export-current-criu-mode-to-opts.mode.patch +++ b/0080-crtools-rpc-export-current-criu-mode-to-opts.mode.patch @@ -1,4 +1,4 @@ -From 3adaf3c4434995ce81530a336469ec792c62cc1b Mon Sep 17 00:00:00 2001 +From 9192d6b38b6ed5ddd9c2a89bd384e25f93bb13d6 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 10 Dec 2021 12:13:06 +0300 Subject: [PATCH 080/249] crtools/rpc: export current criu mode to opts.mode diff --git a/0081-crtools-use-new-opts.mode-in-image_dir_mode.patch b/0081-crtools-use-new-opts.mode-in-image_dir_mode.patch index d58ae92..7503d23 100644 --- a/0081-crtools-use-new-opts.mode-in-image_dir_mode.patch +++ b/0081-crtools-use-new-opts.mode-in-image_dir_mode.patch @@ -1,4 +1,4 @@ -From 02e3280066d2d44a520d1ef4dd7128e80182c66b Mon Sep 17 00:00:00 2001 +From f8250a1c0f62abe60c727d90e39cf6c26fe357f4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 15 Dec 2021 10:49:42 +0300 Subject: [PATCH 081/249] crtools: use new opts.mode in image_dir_mode diff --git a/0082-crtools-check-that-cpuinfo-command-has-sub-command.patch b/0082-crtools-check-that-cpuinfo-command-has-sub-command.patch index 6dba131..4772f44 100644 --- a/0082-crtools-check-that-cpuinfo-command-has-sub-command.patch +++ b/0082-crtools-check-that-cpuinfo-command-has-sub-command.patch @@ -1,4 +1,4 @@ -From 37b42d0edbba16460c6190f7e7dd42f6fef7e299 Mon Sep 17 00:00:00 2001 +From f67fb6cf09c1a38f5f7c0bd86fee572bb6cf7bf9 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 16 Dec 2021 18:05:01 +0300 Subject: [PATCH 082/249] crtools: check that cpuinfo command has sub-command diff --git a/0083-sk-unix-Add-support-for-SOCK_SEQPACKET-unix-sockets.patch b/0083-sk-unix-Add-support-for-SOCK_SEQPACKET-unix-sockets.patch index d30b49b..d39be75 100644 --- a/0083-sk-unix-Add-support-for-SOCK_SEQPACKET-unix-sockets.patch +++ b/0083-sk-unix-Add-support-for-SOCK_SEQPACKET-unix-sockets.patch @@ -1,4 +1,4 @@ -From 858aac29618d89b898af87d9e05169361453beba Mon Sep 17 00:00:00 2001 +From ac48b975f6d4c03d0ea2a9f99ed88d03333f7ad3 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Tue, 14 Dec 2021 22:28:27 +0700 Subject: [PATCH 083/249] sk-unix: Add support for SOCK_SEQPACKET unix sockets diff --git a/0084-zdtm-Add-SOCK_SEQPACKET-variants-to-unix-socket-test.patch b/0084-zdtm-Add-SOCK_SEQPACKET-variants-to-unix-socket-test.patch index 6e40de0..bedc6fd 100644 --- a/0084-zdtm-Add-SOCK_SEQPACKET-variants-to-unix-socket-test.patch +++ b/0084-zdtm-Add-SOCK_SEQPACKET-variants-to-unix-socket-test.patch @@ -1,4 +1,4 @@ -From 2d459717d161abb3330133a8f00ac7b4b9672c42 Mon Sep 17 00:00:00 2001 +From c68b20e449d8dac653b1a9f6a893416d2d38cc07 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Thu, 16 Dec 2021 09:35:25 +0700 Subject: [PATCH 084/249] zdtm: Add SOCK_SEQPACKET variants to unix socket diff --git a/0085-tls-fix-typo.patch b/0085-tls-fix-typo.patch index 0824a2d..20fd0a5 100644 --- a/0085-tls-fix-typo.patch +++ b/0085-tls-fix-typo.patch @@ -1,4 +1,4 @@ -From 8bbfee99809952bf6eadd5e0142fe8b2e97cf6f6 Mon Sep 17 00:00:00 2001 +From a67c56da45910d3c07bdf54f2aecf43f57ca1451 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 7 Dec 2021 21:29:44 +0000 Subject: [PATCH 085/249] tls: fix typo diff --git a/0086-tls-use-ssize_t-for-return-value.patch b/0086-tls-use-ssize_t-for-return-value.patch index 7dc904f..316c23e 100644 --- a/0086-tls-use-ssize_t-for-return-value.patch +++ b/0086-tls-use-ssize_t-for-return-value.patch @@ -1,4 +1,4 @@ -From 311328d1c2a5715bd091ec6cad7cb0d32af99b26 Mon Sep 17 00:00:00 2001 +From 3b96f978beb40ebbd1b9b1610d1a2df5181d4bce Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 7 Dec 2021 22:32:54 +0000 Subject: [PATCH 086/249] tls: use ssize_t for return value diff --git a/0087-tls-add-more-comments.patch b/0087-tls-add-more-comments.patch index 2053693..93d3dc7 100644 --- a/0087-tls-add-more-comments.patch +++ b/0087-tls-add-more-comments.patch @@ -1,4 +1,4 @@ -From 5e48487aaf227c1e3be2b742956579c177e8b5bd Mon Sep 17 00:00:00 2001 +From f6760b9a2e3b714c63e838e7cb0262223a8d501e Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Thu, 16 Dec 2021 14:26:53 +0000 Subject: [PATCH 087/249] tls: add more comments diff --git a/0088-uffd-call-disconnect_from_page_server-to-shutdown-a-.patch b/0088-uffd-call-disconnect_from_page_server-to-shutdown-a-.patch index 53aad96..eb40201 100644 --- a/0088-uffd-call-disconnect_from_page_server-to-shutdown-a-.patch +++ b/0088-uffd-call-disconnect_from_page_server-to-shutdown-a-.patch @@ -1,4 +1,4 @@ -From 00f2efee03869d2494ed10333372eb401ab27546 Mon Sep 17 00:00:00 2001 +From 10199579ab5e5d95465d5e28fa5c72b5d782eebe Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 21 Dec 2021 21:59:13 -0800 Subject: [PATCH 088/249] uffd: call disconnect_from_page_server to shutdown a diff --git a/0089-tls-allow-to-terminate-connections-synchronously.patch b/0089-tls-allow-to-terminate-connections-synchronously.patch index da4caec..d9bdbf0 100644 --- a/0089-tls-allow-to-terminate-connections-synchronously.patch +++ b/0089-tls-allow-to-terminate-connections-synchronously.patch @@ -1,4 +1,4 @@ -From 89c24a1324e6d77f064465bbd2b45d717b07d252 Mon Sep 17 00:00:00 2001 +From 8333e9dd1562b46fd0cb43ab22c9ac28e46ac66f Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 22 Dec 2021 09:36:09 -0800 Subject: [PATCH 089/249] tls: allow to terminate connections synchronously diff --git a/0090-page-xfer-stop-waiting-for-a-new-command-after-a-clo.patch b/0090-page-xfer-stop-waiting-for-a-new-command-after-a-clo.patch index 3909e69..0dedf81 100644 --- a/0090-page-xfer-stop-waiting-for-a-new-command-after-a-clo.patch +++ b/0090-page-xfer-stop-waiting-for-a-new-command-after-a-clo.patch @@ -1,4 +1,4 @@ -From 02d8540a973ca5a045eac67c95cd3667ccb12579 Mon Sep 17 00:00:00 2001 +From 613839c7f2bd851abe9414849320ec2a4241eeb4 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 22 Dec 2021 09:59:11 -0800 Subject: [PATCH 090/249] page-xfer: stop waiting for a new command after a diff --git a/0091-ci-reenable-the-lazy-thp-test-in-the-lazy-remote-mod.patch b/0091-ci-reenable-the-lazy-thp-test-in-the-lazy-remote-mod.patch index 718e3d1..4dbff09 100644 --- a/0091-ci-reenable-the-lazy-thp-test-in-the-lazy-remote-mod.patch +++ b/0091-ci-reenable-the-lazy-thp-test-in-the-lazy-remote-mod.patch @@ -1,4 +1,4 @@ -From 5132edbd018755985e664b8a4ee230265ac8c1eb Mon Sep 17 00:00:00 2001 +From 9f50a9fb2a88db3d2853f514cddda84c3ff0d683 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 22 Dec 2021 17:03:04 -0800 Subject: [PATCH 091/249] ci: reenable the lazy-thp test in the lazy-remote diff --git a/0092-test-log-testname.out.inprogress-if-a-test-has-faile.patch b/0092-test-log-testname.out.inprogress-if-a-test-has-faile.patch index 10ab76c..7526386 100644 --- a/0092-test-log-testname.out.inprogress-if-a-test-has-faile.patch +++ b/0092-test-log-testname.out.inprogress-if-a-test-has-faile.patch @@ -1,4 +1,4 @@ -From e826db402697888e3cf4910fc9de6138c7e1dcf0 Mon Sep 17 00:00:00 2001 +From 18fa29e4cb67ffc395930c829809cb36921dac35 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 22 Dec 2021 17:06:21 -0800 Subject: [PATCH 092/249] test: log testname.out.inprogress if a test has diff --git a/0093-zdtm-print-tails-of-all-logs-if-a-test-has-failed.patch b/0093-zdtm-print-tails-of-all-logs-if-a-test-has-failed.patch index c000115..f595cd1 100644 --- a/0093-zdtm-print-tails-of-all-logs-if-a-test-has-failed.patch +++ b/0093-zdtm-print-tails-of-all-logs-if-a-test-has-failed.patch @@ -1,4 +1,4 @@ -From e7296cd2c631aec1b34b1411bd01b38b4a251b2b Mon Sep 17 00:00:00 2001 +From 6618fa96f8af67826b69bb49cb446579ce860693 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 22 Dec 2021 17:08:16 -0800 Subject: [PATCH 093/249] zdtm: print tails of all logs if a test has failed diff --git a/0094-zdtm-static-uffd-events-add-more-log-messages.patch b/0094-zdtm-static-uffd-events-add-more-log-messages.patch index 7aed029..70282a6 100644 --- a/0094-zdtm-static-uffd-events-add-more-log-messages.patch +++ b/0094-zdtm-static-uffd-events-add-more-log-messages.patch @@ -1,4 +1,4 @@ -From 32375bb1e4dd58c630f0e15e83c6056fffab7176 Mon Sep 17 00:00:00 2001 +From 9ca813c3237c4c3d5e0e09ed2358f5f1a1d43c1d Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 22 Dec 2021 17:08:42 -0800 Subject: [PATCH 094/249] zdtm/static/uffd-events: add more log messages diff --git a/0095-mount-split-check_mountpoint_fd-from-__open_mountpoi.patch b/0095-mount-split-check_mountpoint_fd-from-__open_mountpoi.patch index 25c035b..902ea84 100644 --- a/0095-mount-split-check_mountpoint_fd-from-__open_mountpoi.patch +++ b/0095-mount-split-check_mountpoint_fd-from-__open_mountpoi.patch @@ -1,4 +1,4 @@ -From 609533a1d54d27fe96e4adad569716e70c38efa2 Mon Sep 17 00:00:00 2001 +From e88e3a0cf79d6625ed4f5e4ffd07a3ee6405fda4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 17 Dec 2021 14:58:47 +0300 Subject: [PATCH 095/249] mount: split check_mountpoint_fd from diff --git a/0096-mount-remove-mnt_fd-argument-of-__open_mountpoint.patch b/0096-mount-remove-mnt_fd-argument-of-__open_mountpoint.patch index c2b19f6..427d870 100644 --- a/0096-mount-remove-mnt_fd-argument-of-__open_mountpoint.patch +++ b/0096-mount-remove-mnt_fd-argument-of-__open_mountpoint.patch @@ -1,4 +1,4 @@ -From 518f18aa83523d218073d100c4aa0f482ec60b53 Mon Sep 17 00:00:00 2001 +From 5258c8a15e46c2bf6614c6bd3cfb79463e640abe Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 17 Dec 2021 15:13:35 +0300 Subject: [PATCH 096/249] mount: remove mnt_fd argument of __open_mountpoint diff --git a/0097-proc_parse-add-helper-to-resolve-sdev-from-fd.patch b/0097-proc_parse-add-helper-to-resolve-sdev-from-fd.patch index 099f6bc..4627133 100644 --- a/0097-proc_parse-add-helper-to-resolve-sdev-from-fd.patch +++ b/0097-proc_parse-add-helper-to-resolve-sdev-from-fd.patch @@ -1,4 +1,4 @@ -From c573260ced3929d3c84d51e7073f3636d44ba69f Mon Sep 17 00:00:00 2001 +From 8b981b4b416781f6d1803a45eb2fc806cf0a9bab Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 16 Dec 2021 16:14:41 +0300 Subject: [PATCH 097/249] proc_parse: add helper to resolve sdev from fd diff --git a/0098-mount-btrfs-make-check_mountpoint_fd-fallback-to-get.patch b/0098-mount-btrfs-make-check_mountpoint_fd-fallback-to-get.patch index 1bc79e3..439c89a 100644 --- a/0098-mount-btrfs-make-check_mountpoint_fd-fallback-to-get.patch +++ b/0098-mount-btrfs-make-check_mountpoint_fd-fallback-to-get.patch @@ -1,4 +1,4 @@ -From 84b0b31a06a51f5620f53395c8496108879010af Mon Sep 17 00:00:00 2001 +From 1b1dc9023d1d169b75d19cc6770407b40589ee13 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 16 Dec 2021 12:57:23 +0300 Subject: [PATCH 098/249] mount/btrfs: make check_mountpoint_fd fallback to diff --git a/0099-ci-test-criu-image-streamer-with-all-tests.patch b/0099-ci-test-criu-image-streamer-with-all-tests.patch index b46fa0e..f1d50ea 100644 --- a/0099-ci-test-criu-image-streamer-with-all-tests.patch +++ b/0099-ci-test-criu-image-streamer-with-all-tests.patch @@ -1,4 +1,4 @@ -From b635de93ce372b8e3bea213ecd743e26251d7a9a Mon Sep 17 00:00:00 2001 +From d5b49695c55387f14748a8543aaba29c7aeacf0f Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Tue, 28 Dec 2021 19:30:09 +0000 Subject: [PATCH 099/249] ci: test criu-image-streamer with all tests diff --git a/0100-readme-add-docker-test-badge.patch b/0100-readme-add-docker-test-badge.patch index 437cbd6..16bbd29 100644 --- a/0100-readme-add-docker-test-badge.patch +++ b/0100-readme-add-docker-test-badge.patch @@ -1,4 +1,4 @@ -From dc89784e542bdbc034eb7503e25dd4d695b3242c Mon Sep 17 00:00:00 2001 +From 46b0679060e62da822f43b4a7fe061f03d5d6274 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 10 Jan 2022 10:37:19 +0000 Subject: [PATCH 100/249] readme: add docker test badge diff --git a/0101-contributing-remove-old-badges-and-logo.patch b/0101-contributing-remove-old-badges-and-logo.patch index 8908915..f390b60 100644 --- a/0101-contributing-remove-old-badges-and-logo.patch +++ b/0101-contributing-remove-old-badges-and-logo.patch @@ -1,4 +1,4 @@ -From 69f24c0a35c7980fdbedfcc1fe903ca0fe2e86c5 Mon Sep 17 00:00:00 2001 +From b09d362e4f2c4fe9fd8f1085285762a40bc70627 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 10 Jan 2022 10:37:52 +0000 Subject: [PATCH 101/249] contributing: remove old badges and logo diff --git a/0102-ci-update-to-latest-Vagrant-and-Fedora-images.patch b/0102-ci-update-to-latest-Vagrant-and-Fedora-images.patch index ce66485..6f687c4 100644 --- a/0102-ci-update-to-latest-Vagrant-and-Fedora-images.patch +++ b/0102-ci-update-to-latest-Vagrant-and-Fedora-images.patch @@ -1,4 +1,4 @@ -From 85648ff4af95a547c95a2afaf93a56bc059348af Mon Sep 17 00:00:00 2001 +From eb6062eef811fe062a7d2ce5745405b867559b05 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 3 Dec 2021 17:13:27 +0000 Subject: [PATCH 102/249] ci: update to latest Vagrant and Fedora images diff --git a/0103-ci-added-.lgtm.yml-file.patch b/0103-ci-added-.lgtm.yml-file.patch index a5c1b82..fdd9801 100644 --- a/0103-ci-added-.lgtm.yml-file.patch +++ b/0103-ci-added-.lgtm.yml-file.patch @@ -1,4 +1,4 @@ -From f697623efc8f8f050402c8009e7ac4c2f72a7d0d Mon Sep 17 00:00:00 2001 +From c465ad91379d1b33c5ee17cac4153865a152a67b Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sun, 16 Jan 2022 11:17:33 +0000 Subject: [PATCH 103/249] ci: added .lgtm.yml file diff --git a/0104-lib-introduce-feature-check-in-libcriu.patch b/0104-lib-introduce-feature-check-in-libcriu.patch index 8a48f79..f0e3264 100644 --- a/0104-lib-introduce-feature-check-in-libcriu.patch +++ b/0104-lib-introduce-feature-check-in-libcriu.patch @@ -1,4 +1,4 @@ -From 421c8eab8f79ce4e70b34dcaa2e51524683e5cb3 Mon Sep 17 00:00:00 2001 +From c37c8a4ad0effe51f9b182f18bf2e761eaed1ebf Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 6 Dec 2021 16:51:21 +0000 Subject: [PATCH 104/249] lib: introduce feature check in libcriu diff --git a/0105-lib-added-tests-for-feature-check-in-libcriu.patch b/0105-lib-added-tests-for-feature-check-in-libcriu.patch index 3c5a491..653224e 100644 --- a/0105-lib-added-tests-for-feature-check-in-libcriu.patch +++ b/0105-lib-added-tests-for-feature-check-in-libcriu.patch @@ -1,4 +1,4 @@ -From 6fd677682716d80b3a082aba530e021e7c02b078 Mon Sep 17 00:00:00 2001 +From 2805df0ace12c0b92221a4644b48a95281300bae Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 6 Dec 2021 16:51:21 +0000 Subject: [PATCH 105/249] lib: added tests for feature check in libcriu diff --git a/0106-pagemap-tiny-fix-on-truncating-memory-image.patch b/0106-pagemap-tiny-fix-on-truncating-memory-image.patch index c845efb..427f177 100644 --- a/0106-pagemap-tiny-fix-on-truncating-memory-image.patch +++ b/0106-pagemap-tiny-fix-on-truncating-memory-image.patch @@ -1,4 +1,4 @@ -From 7bf62eb79d70296a375e98e1b7b241ad7faecb55 Mon Sep 17 00:00:00 2001 +From 5fbbd66aed7aa0b1d68614ec67aeefe49b8a0b36 Mon Sep 17 00:00:00 2001 From: Liu Hua Date: Thu, 6 Jan 2022 20:44:21 +0800 Subject: [PATCH 106/249] pagemap: tiny fix on truncating memory image diff --git a/0107-zdtm-fix-zdtm-static-maps00-case-in-arm64.patch b/0107-zdtm-fix-zdtm-static-maps00-case-in-arm64.patch index 33cd903..88aee4a 100644 --- a/0107-zdtm-fix-zdtm-static-maps00-case-in-arm64.patch +++ b/0107-zdtm-fix-zdtm-static-maps00-case-in-arm64.patch @@ -1,4 +1,4 @@ -From aae40f3a5307856e3409a4200c6cbafa624cbaec Mon Sep 17 00:00:00 2001 +From db82b08f0ab85161dbca45569f62a1a63218e48c Mon Sep 17 00:00:00 2001 From: "fu.lin" Date: Sun, 16 Jan 2022 18:37:09 +0800 Subject: [PATCH 107/249] zdtm: fix zdtm/static/maps00 case in arm64 diff --git a/0108-compel-fix-GCC-12-failure-out-of-bounds.patch b/0108-compel-fix-GCC-12-failure-out-of-bounds.patch index 109118d..21aa580 100644 --- a/0108-compel-fix-GCC-12-failure-out-of-bounds.patch +++ b/0108-compel-fix-GCC-12-failure-out-of-bounds.patch @@ -1,4 +1,4 @@ -From 81233d507af42ad79ef53eaaa60d1893ac19c2ef Mon Sep 17 00:00:00 2001 +From 415071fa73e78ad7dd5162a57da84599f6267f13 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 18 Jan 2022 16:49:40 +0000 Subject: [PATCH 108/249] compel: fix GCC 12 failure (out of bounds) diff --git a/0109-criu-fix-configuration-file-scanner-with-GCC-12.patch b/0109-criu-fix-configuration-file-scanner-with-GCC-12.patch index b8af6eb..67b4bee 100644 --- a/0109-criu-fix-configuration-file-scanner-with-GCC-12.patch +++ b/0109-criu-fix-configuration-file-scanner-with-GCC-12.patch @@ -1,4 +1,4 @@ -From 631997ebe61f261a240e804cf30e95d03f78582d Mon Sep 17 00:00:00 2001 +From 1a33a445c9b2b705f850f7a7c90279c160a663e7 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 18 Jan 2022 17:20:35 +0000 Subject: [PATCH 109/249] criu: fix configuration file scanner with GCC 12 diff --git a/0110-compel-fix-parasite-with-GCC-12.patch b/0110-compel-fix-parasite-with-GCC-12.patch index 7b036c3..316ec00 100644 --- a/0110-compel-fix-parasite-with-GCC-12.patch +++ b/0110-compel-fix-parasite-with-GCC-12.patch @@ -1,4 +1,4 @@ -From 72435f60d52ea5fe44ff330c6e30a1b9d05b74f2 Mon Sep 17 00:00:00 2001 +From f43400faacbe2faaca8e873646aa163bae334372 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 18 Jan 2022 17:22:46 +0000 Subject: [PATCH 110/249] compel: fix parasite with GCC 12 diff --git a/0111-ci-set-continue-on-error-for-cross-compile.patch b/0111-ci-set-continue-on-error-for-cross-compile.patch index d2d06a1..feb577b 100644 --- a/0111-ci-set-continue-on-error-for-cross-compile.patch +++ b/0111-ci-set-continue-on-error-for-cross-compile.patch @@ -1,4 +1,4 @@ -From 7093620c045e5ed3662031cc6a2f224efdc1ac98 Mon Sep 17 00:00:00 2001 +From c9836c658bb8ac32dec823b629396475e76e5582 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Thu, 27 Jan 2022 22:13:33 +0000 Subject: [PATCH 111/249] ci: set continue-on-error for cross-compile diff --git a/0112-test-autofs-fix-use-after-free.patch b/0112-test-autofs-fix-use-after-free.patch index 3cca450..798728a 100644 --- a/0112-test-autofs-fix-use-after-free.patch +++ b/0112-test-autofs-fix-use-after-free.patch @@ -1,4 +1,4 @@ -From 334ebaef9fb2cad0cb6de248ecc3fa75a9388fb3 Mon Sep 17 00:00:00 2001 +From a1a736f3e01f078565586535e5ef66777a4f2ffb Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Thu, 27 Jan 2022 14:49:41 +0000 Subject: [PATCH 112/249] test/autofs: fix use-after-free diff --git a/0113-Fix-formatting-in-criu-documentation.patch b/0113-Fix-formatting-in-criu-documentation.patch index 75a698b..f40c762 100644 --- a/0113-Fix-formatting-in-criu-documentation.patch +++ b/0113-Fix-formatting-in-criu-documentation.patch @@ -1,4 +1,4 @@ -From 46055022a6310a8d986d7351571ba6f04769624c Mon Sep 17 00:00:00 2001 +From ff22fbede563a983d28422d149d0cbb5a2db0fe6 Mon Sep 17 00:00:00 2001 From: Ashutosh Mehra Date: Wed, 26 Jan 2022 14:14:38 -0500 Subject: [PATCH 113/249] Fix formatting in criu documentation diff --git a/0114-ci-install-libbsd-dependency.patch b/0114-ci-install-libbsd-dependency.patch index 4d8787e..da15286 100644 --- a/0114-ci-install-libbsd-dependency.patch +++ b/0114-ci-install-libbsd-dependency.patch @@ -1,4 +1,4 @@ -From 29f504fd9a029142a985184bc7dc66894f9fa35a Mon Sep 17 00:00:00 2001 +From c1eca4505f709e32c0ead1ca42246fb1a844dc72 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 1 Feb 2022 15:59:14 +0000 Subject: [PATCH 114/249] ci: install libbsd dependency diff --git a/0115-pstree-when-updating-sid-for-shell-job-also-update-m.patch b/0115-pstree-when-updating-sid-for-shell-job-also-update-m.patch index 9e4a4b2..0edcffc 100644 --- a/0115-pstree-when-updating-sid-for-shell-job-also-update-m.patch +++ b/0115-pstree-when-updating-sid-for-shell-job-also-update-m.patch @@ -1,4 +1,4 @@ -From d4bd2e60758dc9ba7fced79350080cf0ca6f5fc0 Mon Sep 17 00:00:00 2001 +From 0aace1a0b90f67356876c6d3fcdf023d6cefcaf3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 27 Jan 2022 10:28:29 +0300 Subject: [PATCH 115/249] pstree: when updating sid for shell job also update diff --git a/0116-criu-ns-fix-exit-code-o-for-criu-dump.patch b/0116-criu-ns-fix-exit-code-o-for-criu-dump.patch index 063396d..2884595 100644 --- a/0116-criu-ns-fix-exit-code-o-for-criu-dump.patch +++ b/0116-criu-ns-fix-exit-code-o-for-criu-dump.patch @@ -1,4 +1,4 @@ -From cc3b58c7c362cbaf43df574167f08897e8a80bd7 Mon Sep 17 00:00:00 2001 +From 2944fe4e6e8ec6472cf13caf680c44a763639c62 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 1 Feb 2022 13:44:42 +0000 Subject: [PATCH 116/249] criu-ns: fix exit code o for criu dump diff --git a/0117-criu-ns-use-os.waitstatus_to_exitcode.patch b/0117-criu-ns-use-os.waitstatus_to_exitcode.patch index 30f4d42..3ebf491 100644 --- a/0117-criu-ns-use-os.waitstatus_to_exitcode.patch +++ b/0117-criu-ns-use-os.waitstatus_to_exitcode.patch @@ -1,4 +1,4 @@ -From cae5b84f70476b931620670c94bcd47d76a5e32d Mon Sep 17 00:00:00 2001 +From 0a6ba0915b606dbb70e6d16fcf8be56edb63dedf Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Fri, 4 Feb 2022 20:41:07 +0000 Subject: [PATCH 117/249] criu-ns: use os.waitstatus_to_exitcode() diff --git a/0118-restorer-Fix-sys_mmap-s-returned-value-check.patch b/0118-restorer-Fix-sys_mmap-s-returned-value-check.patch index a4df36b..a6da412 100644 --- a/0118-restorer-Fix-sys_mmap-s-returned-value-check.patch +++ b/0118-restorer-Fix-sys_mmap-s-returned-value-check.patch @@ -1,4 +1,4 @@ -From 3fe8644e5bf60d6ab2ef7bfd09a87f156b2b41f0 Mon Sep 17 00:00:00 2001 +From fee94641cfb63d7387e3d396e055192b68f97223 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Sat, 5 Feb 2022 14:23:38 +0700 Subject: [PATCH 118/249] restorer: Fix sys_mmap's returned value check diff --git a/0119-compel-fix-how-PTRACE_GET_THREAD_AREA-errors-are-han.patch b/0119-compel-fix-how-PTRACE_GET_THREAD_AREA-errors-are-han.patch index 5a92b49..539567b 100644 --- a/0119-compel-fix-how-PTRACE_GET_THREAD_AREA-errors-are-han.patch +++ b/0119-compel-fix-how-PTRACE_GET_THREAD_AREA-errors-are-han.patch @@ -1,4 +1,4 @@ -From fd30dd42a6ea39d1bde06fa51155e5f1bc286688 Mon Sep 17 00:00:00 2001 +From 5b03917d55de4d6ae0dbd95ef669eea68d89d76d Mon Sep 17 00:00:00 2001 From: Mike Rapoport Date: Sun, 13 Feb 2022 08:48:07 +0200 Subject: [PATCH 119/249] compel: fix how PTRACE_GET_THREAD_AREA errors are diff --git a/0120-util-add-an-unique-ID-of-the-current-criu-run.patch b/0120-util-add-an-unique-ID-of-the-current-criu-run.patch index f3dd064..a7d24ae 100644 --- a/0120-util-add-an-unique-ID-of-the-current-criu-run.patch +++ b/0120-util-add-an-unique-ID-of-the-current-criu-run.patch @@ -1,4 +1,4 @@ -From ac8b684c2cc8dafdcc7648ec4cea6f0b27dc2a71 Mon Sep 17 00:00:00 2001 +From 967129b32f8169a899b57312594b4dd876af4cfd Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sat, 12 Feb 2022 17:17:27 -0800 Subject: [PATCH 120/249] util: add an unique ID of the current criu run diff --git a/0121-files-generate-unique-transport-socket-names.patch b/0121-files-generate-unique-transport-socket-names.patch index c7028a6..8da243d 100644 --- a/0121-files-generate-unique-transport-socket-names.patch +++ b/0121-files-generate-unique-transport-socket-names.patch @@ -1,4 +1,4 @@ -From 518f6e6a84cb377d62b325f92f67596b6562a26d Mon Sep 17 00:00:00 2001 +From f036fdad44b63668cae8f90b2e427768d8f0ac91 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sat, 12 Feb 2022 17:24:07 -0800 Subject: [PATCH 121/249] files: generate unique transport socket names diff --git a/0122-check-Add-a-check-for-using-memfd-with-hugetlb.patch b/0122-check-Add-a-check-for-using-memfd-with-hugetlb.patch index 7a264a2..0d9685d 100644 --- a/0122-check-Add-a-check-for-using-memfd-with-hugetlb.patch +++ b/0122-check-Add-a-check-for-using-memfd-with-hugetlb.patch @@ -1,4 +1,4 @@ -From bb95d4c4d2928f1124283742af5978bcd637b6b2 Mon Sep 17 00:00:00 2001 +From af22ba3014dfcfd7f8955496886ebc243375d864 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 15 Dec 2021 22:15:21 +0700 Subject: [PATCH 122/249] check: Add a check for using memfd with hugetlb diff --git a/0123-kerndat-Collect-hugetlb-device-numbers.patch b/0123-kerndat-Collect-hugetlb-device-numbers.patch index 9387b02..333933a 100644 --- a/0123-kerndat-Collect-hugetlb-device-numbers.patch +++ b/0123-kerndat-Collect-hugetlb-device-numbers.patch @@ -1,4 +1,4 @@ -From 2eb37a63d8ba56dee5da7acc9f3ccf0cb1a97eb3 Mon Sep 17 00:00:00 2001 +From c2dbc30f7e141389494a6b3c2e4000add5019bf2 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 15 Dec 2021 22:26:08 +0700 Subject: [PATCH 123/249] kerndat: Collect hugetlb device numbers diff --git a/0124-ipc-Add-support-for-checkpoint-restore-hugetlb-Syste.patch b/0124-ipc-Add-support-for-checkpoint-restore-hugetlb-Syste.patch index bf59b00..26274ca 100644 --- a/0124-ipc-Add-support-for-checkpoint-restore-hugetlb-Syste.patch +++ b/0124-ipc-Add-support-for-checkpoint-restore-hugetlb-Syste.patch @@ -1,4 +1,4 @@ -From c3015e3b6daa7159dfb66fd0595dbce342c95d12 Mon Sep 17 00:00:00 2001 +From 8398b233488b6e08cf69054cf25274b1ad815a00 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 15 Dec 2021 22:53:09 +0700 Subject: [PATCH 124/249] ipc: Add support for checkpoint/restore hugetlb diff --git a/0125-memfd-shmem-Add-support-for-checkpoint-restore-memfd.patch b/0125-memfd-shmem-Add-support-for-checkpoint-restore-memfd.patch index f28c98f..31cbf6d 100644 --- a/0125-memfd-shmem-Add-support-for-checkpoint-restore-memfd.patch +++ b/0125-memfd-shmem-Add-support-for-checkpoint-restore-memfd.patch @@ -1,4 +1,4 @@ -From 18c10885c3cb1b39908361b9250330e21ebf119f Mon Sep 17 00:00:00 2001 +From 796f33af1f755e0d45b3e49920156e2d535c4d65 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 15 Dec 2021 23:01:29 +0700 Subject: [PATCH 125/249] memfd, shmem: Add support for checkpoint/restore diff --git a/0126-proc_parse-files-Add-support-for-hugetlb-memory-mapp.patch b/0126-proc_parse-files-Add-support-for-hugetlb-memory-mapp.patch index 409d050..e5dd7ec 100644 --- a/0126-proc_parse-files-Add-support-for-hugetlb-memory-mapp.patch +++ b/0126-proc_parse-files-Add-support-for-hugetlb-memory-mapp.patch @@ -1,4 +1,4 @@ -From 3c7bb45946478e856b1c893948a0d2dba4cead20 Mon Sep 17 00:00:00 2001 +From 0cba2304c4796cda832d6e0b16ef2dc305fb6a13 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 15 Dec 2021 23:03:29 +0700 Subject: [PATCH 126/249] proc_parse, files: Add support for hugetlb memory diff --git a/0127-mem-Skip-premapping-hugetlb-mapping.patch b/0127-mem-Skip-premapping-hugetlb-mapping.patch index 84b2991..3e67c32 100644 --- a/0127-mem-Skip-premapping-hugetlb-mapping.patch +++ b/0127-mem-Skip-premapping-hugetlb-mapping.patch @@ -1,4 +1,4 @@ -From 8ec1e04580b30bd0365839a4fef301e95c6c6f2d Mon Sep 17 00:00:00 2001 +From 307299bea57d25a41f5fba7b057d3926f4f1231b Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 9 Feb 2022 22:11:51 +0700 Subject: [PATCH 127/249] mem: Skip premapping hugetlb mapping diff --git a/0128-uffd-Skip-lazy-mode-restore-on-hugetlb-mappings.patch b/0128-uffd-Skip-lazy-mode-restore-on-hugetlb-mappings.patch index d5420b4..140313d 100644 --- a/0128-uffd-Skip-lazy-mode-restore-on-hugetlb-mappings.patch +++ b/0128-uffd-Skip-lazy-mode-restore-on-hugetlb-mappings.patch @@ -1,4 +1,4 @@ -From 70a0a2dd7257c6969f040e18e37c4d8eca4dc224 Mon Sep 17 00:00:00 2001 +From 5372cb96363fed0dbd4a7f1ea5da7979e4846466 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Wed, 9 Feb 2022 22:12:53 +0700 Subject: [PATCH 128/249] uffd: Skip lazy-mode restore on hugetlb mappings diff --git a/0129-zdtm-Add-MAP_HUGETLB-memory-mapping-test.patch b/0129-zdtm-Add-MAP_HUGETLB-memory-mapping-test.patch index afe9e14..0d6149c 100644 --- a/0129-zdtm-Add-MAP_HUGETLB-memory-mapping-test.patch +++ b/0129-zdtm-Add-MAP_HUGETLB-memory-mapping-test.patch @@ -1,4 +1,4 @@ -From 94453cdd46f5791fe1ecd1fa1624233b95d00941 Mon Sep 17 00:00:00 2001 +From f2793fea9c36f1102186f34d47534287efda63f5 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Tue, 26 Oct 2021 22:22:08 +0700 Subject: [PATCH 129/249] zdtm: Add MAP_HUGETLB memory mapping test diff --git a/0130-zdtm-Add-memfd-hugetlb-test.patch b/0130-zdtm-Add-memfd-hugetlb-test.patch index 3cd1d13..a3a7f4a 100644 --- a/0130-zdtm-Add-memfd-hugetlb-test.patch +++ b/0130-zdtm-Add-memfd-hugetlb-test.patch @@ -1,4 +1,4 @@ -From 44da7370c4fe39785d753c6de15caf782d75b7de Mon Sep 17 00:00:00 2001 +From be3340e0cc7dc4c77d3656f54d3be48b533a177d Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Tue, 26 Oct 2021 22:31:44 +0700 Subject: [PATCH 130/249] zdtm: Add memfd hugetlb test diff --git a/0131-zdtm-Add-shm-hugetlb-test.patch b/0131-zdtm-Add-shm-hugetlb-test.patch index 6d3cb02..da27eac 100644 --- a/0131-zdtm-Add-shm-hugetlb-test.patch +++ b/0131-zdtm-Add-shm-hugetlb-test.patch @@ -1,4 +1,4 @@ -From 78b113d4563c74a1fc320bfc84afc798c5c8ee91 Mon Sep 17 00:00:00 2001 +From dd448857444438c34793662ef472c76c2810e69d Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Tue, 26 Oct 2021 22:34:22 +0700 Subject: [PATCH 131/249] zdtm: Add shm hugetlb test diff --git a/0132-zdtm-Add-MAP_HUGETLB-mappings-test-for-parent-child-.patch b/0132-zdtm-Add-MAP_HUGETLB-mappings-test-for-parent-child-.patch index 3b86ab0..2498581 100644 --- a/0132-zdtm-Add-MAP_HUGETLB-mappings-test-for-parent-child-.patch +++ b/0132-zdtm-Add-MAP_HUGETLB-mappings-test-for-parent-child-.patch @@ -1,4 +1,4 @@ -From df3ab72beec7972abf925a10294f26529a81beff Mon Sep 17 00:00:00 2001 +From fa2ee21e42b9d1e1b5b328d1294bc34b941b6d56 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Fri, 31 Dec 2021 17:15:18 +0700 Subject: [PATCH 132/249] zdtm: Add MAP_HUGETLB mappings test for parent-child diff --git a/0133-ci-skip-MAP_HUGETLB-tests-in-stream-test.patch b/0133-ci-skip-MAP_HUGETLB-tests-in-stream-test.patch index 2a3cd70..f96fb73 100644 --- a/0133-ci-skip-MAP_HUGETLB-tests-in-stream-test.patch +++ b/0133-ci-skip-MAP_HUGETLB-tests-in-stream-test.patch @@ -1,4 +1,4 @@ -From 316e3cfddad8409f3978bd7ffbd6bb42f04350e2 Mon Sep 17 00:00:00 2001 +From 9ac3812ec97c4b8d5d9ae0d27585a2319337a0f0 Mon Sep 17 00:00:00 2001 From: Bui Quang Minh Date: Sat, 12 Feb 2022 16:00:39 +0700 Subject: [PATCH 133/249] ci: skip MAP_HUGETLB tests in stream test diff --git a/0134-bpfmap-handle-new-field-in-fdinfo.patch b/0134-bpfmap-handle-new-field-in-fdinfo.patch index 07a6e44..faf064f 100644 --- a/0134-bpfmap-handle-new-field-in-fdinfo.patch +++ b/0134-bpfmap-handle-new-field-in-fdinfo.patch @@ -1,4 +1,4 @@ -From 9b35c3b51c0ea314a10d80f935f0b9e25ce20c80 Mon Sep 17 00:00:00 2001 +From fda874bd37f1dabb6756bf1b2cbc8b06ceeecae9 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 15 Feb 2022 16:55:45 +0000 Subject: [PATCH 134/249] bpfmap: handle new field in fdinfo diff --git a/0135-test-remove-test-for-LOCK_MAND-flock.patch b/0135-test-remove-test-for-LOCK_MAND-flock.patch index d0e7920..dde8a75 100644 --- a/0135-test-remove-test-for-LOCK_MAND-flock.patch +++ b/0135-test-remove-test-for-LOCK_MAND-flock.patch @@ -1,4 +1,4 @@ -From 1a89b19b66abc45c47c94bc078217af9dc676cac Mon Sep 17 00:00:00 2001 +From d87e53b6721e76839218791a8a2af87d1add7911 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 15 Feb 2022 17:01:32 +0000 Subject: [PATCH 135/249] test: remove test for LOCK_MAND flock diff --git a/0136-test-disable-rseq-also-on-Archlinux.patch b/0136-test-disable-rseq-also-on-Archlinux.patch index 010af0f..56bddac 100644 --- a/0136-test-disable-rseq-also-on-Archlinux.patch +++ b/0136-test-disable-rseq-also-on-Archlinux.patch @@ -1,4 +1,4 @@ -From e25f35ccb538c4b1542c608147c541efd2bf95c2 Mon Sep 17 00:00:00 2001 +From 171e7e8badc051a6375dfb091da1f4f5777457d2 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 15 Feb 2022 18:09:27 +0000 Subject: [PATCH 136/249] test: disable rseq also on Archlinux diff --git a/0137-zdtm-fix-missplacement-of-err-True.patch b/0137-zdtm-fix-missplacement-of-err-True.patch index 9c06413..bad17f6 100644 --- a/0137-zdtm-fix-missplacement-of-err-True.patch +++ b/0137-zdtm-fix-missplacement-of-err-True.patch @@ -1,4 +1,4 @@ -From 5aa1b1f48e5cd4186a70b7ce47ae23182e698b65 Mon Sep 17 00:00:00 2001 +From bc3ff0b0253ad5f8c1ab1b75707ee5bc397950e7 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 18 Feb 2022 18:13:14 +0300 Subject: [PATCH 137/249] zdtm: fix missplacement of err=True diff --git a/0138-compel-set-mxcsr-during-error-injection-to-zero.patch b/0138-compel-set-mxcsr-during-error-injection-to-zero.patch index 00cee3c..e32caf1 100644 --- a/0138-compel-set-mxcsr-during-error-injection-to-zero.patch +++ b/0138-compel-set-mxcsr-during-error-injection-to-zero.patch @@ -1,4 +1,4 @@ -From 89173abcebfe38f584f2340d1ce39437b3c22ff9 Mon Sep 17 00:00:00 2001 +From 4070d001c35654364a7af5d757e91e1db638970e Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 9 Mar 2022 08:40:35 +0000 Subject: [PATCH 138/249] compel: set mxcsr during error injection to zero diff --git a/0139-proc_smaps-remove-useless-nonlinear-check.patch b/0139-proc_smaps-remove-useless-nonlinear-check.patch index 6f9d011..9c5c980 100644 --- a/0139-proc_smaps-remove-useless-nonlinear-check.patch +++ b/0139-proc_smaps-remove-useless-nonlinear-check.patch @@ -1,4 +1,4 @@ -From ae84fbbcb525715a0d0915a0e4182d0702cd6bd0 Mon Sep 17 00:00:00 2001 +From 7f32e5fc410a6295a7ddbbf6eda62a577d7b940b Mon Sep 17 00:00:00 2001 From: anatasluo Date: Tue, 8 Mar 2022 08:34:14 +0000 Subject: [PATCH 139/249] proc_smaps: remove useless nonlinear check diff --git a/0140-mount-fix-e_str-leak-in-ext_mount_add.patch b/0140-mount-fix-e_str-leak-in-ext_mount_add.patch index 947d24d..8e81bb4 100644 --- a/0140-mount-fix-e_str-leak-in-ext_mount_add.patch +++ b/0140-mount-fix-e_str-leak-in-ext_mount_add.patch @@ -1,4 +1,4 @@ -From b6a0ee4f8146442d7fa382bdee669472267c49fa Mon Sep 17 00:00:00 2001 +From adb3b690cb4b2c46a38a780520fbec1afec3f464 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 9 Mar 2022 14:32:25 +0300 Subject: [PATCH 140/249] mount: fix e_str leak in ext_mount_add diff --git a/0141-cr-dump-fix-cr_imgset-leak-in-dump_one_task.patch b/0141-cr-dump-fix-cr_imgset-leak-in-dump_one_task.patch index 0702751..a71f590 100644 --- a/0141-cr-dump-fix-cr_imgset-leak-in-dump_one_task.patch +++ b/0141-cr-dump-fix-cr_imgset-leak-in-dump_one_task.patch @@ -1,4 +1,4 @@ -From 7fc272fc191fb2b909a6bc623ff75ea688fe2864 Mon Sep 17 00:00:00 2001 +From 127c80e070b650958793fd9967d18fca3aa93594 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 9 Mar 2022 15:14:50 +0300 Subject: [PATCH 141/249] cr-dump: fix cr_imgset leak in dump_one_task diff --git a/0142-tun-fix-tun_link-leak-in-dump_tun_link.patch b/0142-tun-fix-tun_link-leak-in-dump_tun_link.patch index 3009d42..282ca0a 100644 --- a/0142-tun-fix-tun_link-leak-in-dump_tun_link.patch +++ b/0142-tun-fix-tun_link-leak-in-dump_tun_link.patch @@ -1,4 +1,4 @@ -From 8f2244a4c1d655e101f5dd0f790c56df7f0835dd Mon Sep 17 00:00:00 2001 +From 1b75d6dc2c1bf12bc9fdbb6093f8e6a6e469fea4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 9 Mar 2022 13:52:00 +0300 Subject: [PATCH 142/249] tun: fix tun_link leak in dump_tun_link diff --git a/0143-sk-unix-fix-uint32_t-id-variable-printf-format-speci.patch b/0143-sk-unix-fix-uint32_t-id-variable-printf-format-speci.patch index b4c1239..89a1035 100644 --- a/0143-sk-unix-fix-uint32_t-id-variable-printf-format-speci.patch +++ b/0143-sk-unix-fix-uint32_t-id-variable-printf-format-speci.patch @@ -1,4 +1,4 @@ -From 7399d1957001be0af6291c4168602ae154207677 Mon Sep 17 00:00:00 2001 +From 7606fae91db532ba535799764a04de75598a4e59 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 10 Mar 2022 13:35:50 +0300 Subject: [PATCH 143/249] sk-unix: fix uint32_t id variable printf format diff --git a/0144-zdtm-refactor-main.patch b/0144-zdtm-refactor-main.patch index 7399615..f7e3886 100644 --- a/0144-zdtm-refactor-main.patch +++ b/0144-zdtm-refactor-main.patch @@ -1,4 +1,4 @@ -From 4bf7f3e1dfb0d01e59dd6f9af1b945018b1df034 Mon Sep 17 00:00:00 2001 +From e2ddf69cb3dd07c084a6f62f26638cbe4b29d6ae Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sat, 24 Jul 2021 12:19:22 +0100 Subject: [PATCH 144/249] zdtm: refactor main diff --git a/0145-zdtm-sort-import-lines.patch b/0145-zdtm-sort-import-lines.patch index a0510a7..ff900fa 100644 --- a/0145-zdtm-sort-import-lines.patch +++ b/0145-zdtm-sort-import-lines.patch @@ -1,4 +1,4 @@ -From c2f8e185938863082efbd525fabef22d6b719cb3 Mon Sep 17 00:00:00 2001 +From d96e617d0374ea0b660b9b97ef5f81adeac29b3e Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 15 Aug 2021 10:27:37 +0100 Subject: [PATCH 145/249] zdtm: sort import lines diff --git a/0146-zdtm-use-long-form-cli-options.patch b/0146-zdtm-use-long-form-cli-options.patch index 4765f2d..b1f53e5 100644 --- a/0146-zdtm-use-long-form-cli-options.patch +++ b/0146-zdtm-use-long-form-cli-options.patch @@ -1,4 +1,4 @@ -From fa4b4f7103804f3995cace5e4405894737f4ff4a Mon Sep 17 00:00:00 2001 +From 3ca5c1a6d43be4e21c2db457ed6963049b56b594 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 15 Aug 2021 10:53:29 +0100 Subject: [PATCH 146/249] zdtm: use long form cli options diff --git a/0147-zdtm-add-criu-config-option.patch b/0147-zdtm-add-criu-config-option.patch index 6494ba5..ea8f054 100644 --- a/0147-zdtm-add-criu-config-option.patch +++ b/0147-zdtm-add-criu-config-option.patch @@ -1,4 +1,4 @@ -From 3facb361f138a484effb064215fe1b7d45796d6b Mon Sep 17 00:00:00 2001 +From 37f9d07f8d4dd955d0cc4bf8d08adcff01ba5001 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 15 Aug 2021 10:58:32 +0100 Subject: [PATCH 147/249] zdtm: add --criu-config option diff --git a/0148-zdtm-drop-redundant-config_inotify_irmap-test.patch b/0148-zdtm-drop-redundant-config_inotify_irmap-test.patch index d8d7422..d96aa88 100644 --- a/0148-zdtm-drop-redundant-config_inotify_irmap-test.patch +++ b/0148-zdtm-drop-redundant-config_inotify_irmap-test.patch @@ -1,4 +1,4 @@ -From b69701e308743135e86d461cb66cd807ed2c0fc2 Mon Sep 17 00:00:00 2001 +From 29a1d9868d8e0f1de630cb31e3687db24636118f Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 15 Aug 2021 11:16:28 +0100 Subject: [PATCH 148/249] zdtm: drop redundant config_inotify_irmap test diff --git a/0149-ci-run-criu-config-tests.patch b/0149-ci-run-criu-config-tests.patch index d8c5f2b..fa4863a 100644 --- a/0149-ci-run-criu-config-tests.patch +++ b/0149-ci-run-criu-config-tests.patch @@ -1,4 +1,4 @@ -From 3fd1487983c59bbf17e45484ceb42011e5d74eda Mon Sep 17 00:00:00 2001 +From 8ae1b00522e779c332145d3d6f33980c3b91aa4d Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 15 Aug 2021 11:29:22 +0100 Subject: [PATCH 149/249] ci: run criu-config tests diff --git a/0150-config-fix-ns-leak-in-parse_join_ns.patch b/0150-config-fix-ns-leak-in-parse_join_ns.patch index c6f3828..e23bcc2 100644 --- a/0150-config-fix-ns-leak-in-parse_join_ns.patch +++ b/0150-config-fix-ns-leak-in-parse_join_ns.patch @@ -1,4 +1,4 @@ -From 96fdf556f85dc13067e265ec8227ebdeb71ec068 Mon Sep 17 00:00:00 2001 +From b34fb0f1945c771a2d7d5e472d63bb763a0991f5 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 10 Mar 2022 14:15:23 +0300 Subject: [PATCH 150/249] config: fix ns leak in parse_join_ns diff --git a/0151-net-fix-e_str-leak-in-veth_pair_add.patch b/0151-net-fix-e_str-leak-in-veth_pair_add.patch index 3aa88c6..3536d94 100644 --- a/0151-net-fix-e_str-leak-in-veth_pair_add.patch +++ b/0151-net-fix-e_str-leak-in-veth_pair_add.patch @@ -1,4 +1,4 @@ -From fc4b654c9264ee5cb48437a96293695d05b89e5b Mon Sep 17 00:00:00 2001 +From 31fc58737e0ee24bb2438d76ab37311e52d4b2a3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 11 Mar 2022 19:57:06 +0300 Subject: [PATCH 151/249] net: fix e_str leak in veth_pair_add diff --git a/0152-files-fix-inh-leak-in-inherit_fd_add.patch b/0152-files-fix-inh-leak-in-inherit_fd_add.patch index 18111e9..7212043 100644 --- a/0152-files-fix-inh-leak-in-inherit_fd_add.patch +++ b/0152-files-fix-inh-leak-in-inherit_fd_add.patch @@ -1,4 +1,4 @@ -From 711c1fb9385678320572e8bc35a6342d435cb2ba Mon Sep 17 00:00:00 2001 +From 8b4b1107d3aa7ca0286da93b2a1c17b0d2031dfa Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 11 Mar 2022 18:45:37 +0300 Subject: [PATCH 152/249] files: fix inh leak in inherit_fd_add diff --git a/0153-sk-unix-fix-e_str-leak-in-unix_sk_id_add.patch b/0153-sk-unix-fix-e_str-leak-in-unix_sk_id_add.patch index 31362fe..f7f9980 100644 --- a/0153-sk-unix-fix-e_str-leak-in-unix_sk_id_add.patch +++ b/0153-sk-unix-fix-e_str-leak-in-unix_sk_id_add.patch @@ -1,4 +1,4 @@ -From dac5689422ed1422f33bf6a39b929f3f40d4c86b Mon Sep 17 00:00:00 2001 +From 2dea9c7e8bf225a132999c4ab7117ebc6ab4ec40 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 11 Mar 2022 18:36:55 +0300 Subject: [PATCH 153/249] sk-unix: fix e_str leak in unix_sk_id_add diff --git a/0154-uffd-fix-__u64-print-format-specifier.patch b/0154-uffd-fix-__u64-print-format-specifier.patch index a453bd5..e1e06cb 100644 --- a/0154-uffd-fix-__u64-print-format-specifier.patch +++ b/0154-uffd-fix-__u64-print-format-specifier.patch @@ -1,4 +1,4 @@ -From d13ed3d1c42afcff082517c08acd825558966127 Mon Sep 17 00:00:00 2001 +From 22c0a189c600b774b832d25958775b503179aa20 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 11 Mar 2022 17:31:07 +0300 Subject: [PATCH 154/249] uffd: fix __u64 print format specifier diff --git a/0155-zdtm-fix-mnt_ext_master-test-to-correspond-to-it-s-n.patch b/0155-zdtm-fix-mnt_ext_master-test-to-correspond-to-it-s-n.patch index 87fdfa1..54f4a99 100644 --- a/0155-zdtm-fix-mnt_ext_master-test-to-correspond-to-it-s-n.patch +++ b/0155-zdtm-fix-mnt_ext_master-test-to-correspond-to-it-s-n.patch @@ -1,4 +1,4 @@ -From b54f9f22e379da0fba7e8f84265e9af50d0a9dc7 Mon Sep 17 00:00:00 2001 +From d243470ea0e02c7fbdce4504c89b616fe995aaf4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 30 Dec 2019 16:17:54 +0300 Subject: [PATCH 155/249] zdtm: fix mnt_ext_master test to correspond to it's diff --git a/0156-mount-add-mntinfo_add_list_before-helper-for-adding-.patch b/0156-mount-add-mntinfo_add_list_before-helper-for-adding-.patch index 1bb7e96..01e77f3 100644 --- a/0156-mount-add-mntinfo_add_list_before-helper-for-adding-.patch +++ b/0156-mount-add-mntinfo_add_list_before-helper-for-adding-.patch @@ -1,4 +1,4 @@ -From e9d53beca393b683e86ed5c5695412317616b1a1 Mon Sep 17 00:00:00 2001 +From d3dae3d5e2ec2ab1532bfaf7cc3b11654ec155a2 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Sun, 12 Apr 2020 20:53:54 +0300 Subject: [PATCH 156/249] mount: add mntinfo_add_list_before helper for adding diff --git a/0157-mount-do-not-detect-non-fsroot-mounts-as-device-exte.patch b/0157-mount-do-not-detect-non-fsroot-mounts-as-device-exte.patch index e352ded..99a36ee 100644 --- a/0157-mount-do-not-detect-non-fsroot-mounts-as-device-exte.patch +++ b/0157-mount-do-not-detect-non-fsroot-mounts-as-device-exte.patch @@ -1,4 +1,4 @@ -From ff991f4b5f369640408887dd7e2c9bc1c9ccc53b Mon Sep 17 00:00:00 2001 +From 6990d6a53df2464094ff35210936827d529bbf0c Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 16 Jan 2020 12:36:08 +0300 Subject: [PATCH 157/249] mount: do not detect non-fsroot mounts as diff --git a/0158-mount-mark-mounts-of-external-devices-external.patch b/0158-mount-mark-mounts-of-external-devices-external.patch index 7f5742e..39059f0 100644 --- a/0158-mount-mark-mounts-of-external-devices-external.patch +++ b/0158-mount-mark-mounts-of-external-devices-external.patch @@ -1,4 +1,4 @@ -From 8e1769318b436a69a67e399e432cc0436abf4298 Mon Sep 17 00:00:00 2001 +From fc17357c0215e15ce5e00e6fd7cf70f0245ce805 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 16 Sep 2019 18:07:32 +0300 Subject: [PATCH 158/249] mount: mark mounts of external devices external diff --git a/0159-mount-skip-fstype-and-source-checks-for-external-mou.patch b/0159-mount-skip-fstype-and-source-checks-for-external-mou.patch index 3204c35..b9decea 100644 --- a/0159-mount-skip-fstype-and-source-checks-for-external-mou.patch +++ b/0159-mount-skip-fstype-and-source-checks-for-external-mou.patch @@ -1,4 +1,4 @@ -From c2396a5fb549f186e6f5f0031e492143d01cc949 Mon Sep 17 00:00:00 2001 +From 602bbfea26532b8f7787a6e084231a25afe1b3c7 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Apr 2020 18:12:00 +0300 Subject: [PATCH 159/249] mount: skip fstype and source checks for external diff --git a/0160-mount-setup-mnt_bind-list-before-using-it-in-mnt_is_.patch b/0160-mount-setup-mnt_bind-list-before-using-it-in-mnt_is_.patch index db98818..e7878e5 100644 --- a/0160-mount-setup-mnt_bind-list-before-using-it-in-mnt_is_.patch +++ b/0160-mount-setup-mnt_bind-list-before-using-it-in-mnt_is_.patch @@ -1,4 +1,4 @@ -From 2b57250db0bec7e396a531c24145ecd07334a402 Mon Sep 17 00:00:00 2001 +From 9cc10e89aa8d1b54f71c2e51c203fcab34bc8b65 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 20 Dec 2019 17:26:07 +0300 Subject: [PATCH 160/249] mount: setup mnt_bind list before using it in diff --git a/0161-util-add-get_relative_path-helper.patch b/0161-util-add-get_relative_path-helper.patch index 92ae5ba..5b4a914 100644 --- a/0161-util-add-get_relative_path-helper.patch +++ b/0161-util-add-get_relative_path-helper.patch @@ -1,4 +1,4 @@ -From eabcda449fa87d3e1e3060528a316988bbf5b748 Mon Sep 17 00:00:00 2001 +From 0cffe29ffba7f1363bdaf550347396eb90c6c1e9 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 14 May 2020 13:50:20 +0300 Subject: [PATCH 161/249] util: add get_relative_path helper diff --git a/0162-unittest-add-some-tests-for-get_relative_path-helper.patch b/0162-unittest-add-some-tests-for-get_relative_path-helper.patch index 6acfc49..f8fff5b 100644 --- a/0162-unittest-add-some-tests-for-get_relative_path-helper.patch +++ b/0162-unittest-add-some-tests-for-get_relative_path-helper.patch @@ -1,4 +1,4 @@ -From 9cb726827941e24a5e9f0ed12680d4b69e10551c Mon Sep 17 00:00:00 2001 +From b3ddb46a0f5d91320f0901cd47e26e3c89a2bcc4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 19 Jan 2022 12:34:51 +0300 Subject: [PATCH 162/249] unittest: add some tests for get_relative_path helper diff --git a/0163-mount-add-mnt_bind_pick-helper-to-pick-the-desired-b.patch b/0163-mount-add-mnt_bind_pick-helper-to-pick-the-desired-b.patch index 805af27..9acf5fe 100644 --- a/0163-mount-add-mnt_bind_pick-helper-to-pick-the-desired-b.patch +++ b/0163-mount-add-mnt_bind_pick-helper-to-pick-the-desired-b.patch @@ -1,4 +1,4 @@ -From 5a8c2335b2f5ede7faa1b7d38a12a4610d0b2374 Mon Sep 17 00:00:00 2001 +From 043054396886bf7c1fc85a4e51bbf35aad6a47fb Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 29 Nov 2021 12:54:51 +0300 Subject: [PATCH 163/249] mount: add mnt_bind_pick helper to pick the desired diff --git a/0164-mount-split-mnt_is_external-_bind-and-can_receive_ma.patch b/0164-mount-split-mnt_is_external-_bind-and-can_receive_ma.patch index 51de7ff..f957c86 100644 --- a/0164-mount-split-mnt_is_external-_bind-and-can_receive_ma.patch +++ b/0164-mount-split-mnt_is_external-_bind-and-can_receive_ma.patch @@ -1,4 +1,4 @@ -From 05b68230b794d7f16453c6241c90b005d0b277aa Mon Sep 17 00:00:00 2001 +From 0279af775209d9c77cac457deaf927e2a14be126 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 18 Dec 2019 13:45:22 +0300 Subject: [PATCH 164/249] mount: split mnt_is_external(_bind) and diff --git a/0165-mount-rework-skipping-external-mounts-in-dump_one_mo.patch b/0165-mount-rework-skipping-external-mounts-in-dump_one_mo.patch index 422f85b..0b6f898 100644 --- a/0165-mount-rework-skipping-external-mounts-in-dump_one_mo.patch +++ b/0165-mount-rework-skipping-external-mounts-in-dump_one_mo.patch @@ -1,4 +1,4 @@ -From 9a5362e9160a14fb35c709f7b1862c27caa9dac2 Mon Sep 17 00:00:00 2001 +From 144368adc5472f96fa8f5e9209e56db23a6f5dc5 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 12 Jan 2022 13:34:39 +0300 Subject: [PATCH 165/249] mount: rework skipping external mounts in diff --git a/0166-mount-show-more-info-about-why-we-can-t-mount.patch b/0166-mount-show-more-info-about-why-we-can-t-mount.patch index 0e672d2..2abffc0 100644 --- a/0166-mount-show-more-info-about-why-we-can-t-mount.patch +++ b/0166-mount-show-more-info-about-why-we-can-t-mount.patch @@ -1,4 +1,4 @@ -From 43ff6e839fd1a7802075193b1534cc4ae1ea96fb Mon Sep 17 00:00:00 2001 +From d97b7cce246e7c5615ffac0f4df6b509f13bf66e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 12 Sep 2019 10:10:37 +0300 Subject: [PATCH 166/249] mount: show more info about why we can't mount diff --git a/0167-mount-mount-external-mount-before-mounting-it-s-bind.patch b/0167-mount-mount-external-mount-before-mounting-it-s-bind.patch index ffbc7b6..79067a3 100644 --- a/0167-mount-mount-external-mount-before-mounting-it-s-bind.patch +++ b/0167-mount-mount-external-mount-before-mounting-it-s-bind.patch @@ -1,4 +1,4 @@ -From f24aa442f004730f4994e667dd0d794a00427c48 Mon Sep 17 00:00:00 2001 +From 69deac23b1eaf0809aed65d991985b06324e0bd1 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 17 Feb 2020 11:58:41 +0300 Subject: [PATCH 167/249] mount: mount external mount before mounting it's diff --git a/0168-zdtm-add-new-mnt_ext_root-test.patch b/0168-zdtm-add-new-mnt_ext_root-test.patch index c4b45c0..e6a6db3 100644 --- a/0168-zdtm-add-new-mnt_ext_root-test.patch +++ b/0168-zdtm-add-new-mnt_ext_root-test.patch @@ -1,4 +1,4 @@ -From f59efe89bcc72c7104e08cad64b47d03e098bcca Mon Sep 17 00:00:00 2001 +From 3568904e11811e3ff8831810e5013fe3e925322e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 18 Feb 2020 13:41:18 +0300 Subject: [PATCH 168/249] zdtm: add new mnt_ext_root test diff --git a/0169-mount-restrict-mp-external-mount-map-to-init-contain.patch b/0169-mount-restrict-mp-external-mount-map-to-init-contain.patch index d54a606..f07e1db 100644 --- a/0169-mount-restrict-mp-external-mount-map-to-init-contain.patch +++ b/0169-mount-restrict-mp-external-mount-map-to-init-contain.patch @@ -1,4 +1,4 @@ -From 0744a30a70c96f6d4de0577c354ec682220ec2e3 Mon Sep 17 00:00:00 2001 +From 23fecb92464ed85436b60fe2fc484bb02d0a7674 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 26 Nov 2021 12:53:41 +0300 Subject: [PATCH 169/249] mount: restrict mp-external mount map to init diff --git a/0170-zdtm-add-mnt_ext_collision-test.patch b/0170-zdtm-add-mnt_ext_collision-test.patch index 994549d..e4ac88f 100644 --- a/0170-zdtm-add-mnt_ext_collision-test.patch +++ b/0170-zdtm-add-mnt_ext_collision-test.patch @@ -1,4 +1,4 @@ -From 0e4b310a3a2af3aa6b33c07f402f5a46aa1e51b5 Mon Sep 17 00:00:00 2001 +From 528a9ee1e4999063f0837f0096dcb22b22e7ad79 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 12 Jan 2022 16:00:56 +0300 Subject: [PATCH 170/249] zdtm: add mnt_ext_collision test diff --git a/0171-mount-add-mnt_is_root_bind-helper.patch b/0171-mount-add-mnt_is_root_bind-helper.patch index b4686eb..11a1f20 100644 --- a/0171-mount-add-mnt_is_root_bind-helper.patch +++ b/0171-mount-add-mnt_is_root_bind-helper.patch @@ -1,4 +1,4 @@ -From 8cf73188d2ce803a13712a10e9894efed7d32123 Mon Sep 17 00:00:00 2001 +From dc0bb734ffe7878140a3ba73aa08c522ec145997 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 8 May 2020 14:33:13 +0300 Subject: [PATCH 171/249] mount: add mnt_is_root_bind helper diff --git a/0172-mount-allow-nested-mount-namespaces-with-different-r.patch b/0172-mount-allow-nested-mount-namespaces-with-different-r.patch index d887842..0bf7085 100644 --- a/0172-mount-allow-nested-mount-namespaces-with-different-r.patch +++ b/0172-mount-allow-nested-mount-namespaces-with-different-r.patch @@ -1,4 +1,4 @@ -From b775febb36915afcd6e6d320a6c30f08c433c4f0 Mon Sep 17 00:00:00 2001 +From 7dcab4878092b309bb3a4447e582be031bc0eedd Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 27 Apr 2020 18:24:54 +0300 Subject: [PATCH 172/249] mount: allow nested mount namespaces with different diff --git a/0173-zdtm-add-mntns_pivot_root-test.patch b/0173-zdtm-add-mntns_pivot_root-test.patch index 4a0ef6d..c56fa1d 100644 --- a/0173-zdtm-add-mntns_pivot_root-test.patch +++ b/0173-zdtm-add-mntns_pivot_root-test.patch @@ -1,4 +1,4 @@ -From bde8ec21a973e0cb129fa9214a17b8ce91cf8a41 Mon Sep 17 00:00:00 2001 +From 7de207a821b7c3e5aec9defb4c912a09557fe499 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 12 Jan 2022 19:30:07 +0300 Subject: [PATCH 173/249] zdtm: add mntns_pivot_root test diff --git a/0174-mount-apply-superblock-flags-to-nested-ns-roots.patch b/0174-mount-apply-superblock-flags-to-nested-ns-roots.patch index cd9c4ee..2b39d6e 100644 --- a/0174-mount-apply-superblock-flags-to-nested-ns-roots.patch +++ b/0174-mount-apply-superblock-flags-to-nested-ns-roots.patch @@ -1,4 +1,4 @@ -From af12f2ef7c38bc06cd9ce43b7feb40bc968ec251 Mon Sep 17 00:00:00 2001 +From 9c142576cc1d3a399696e65ffeac4d89768aea3f Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 27 May 2020 13:43:49 +0300 Subject: [PATCH 174/249] mount: apply superblock flags to nested ns roots diff --git a/0175-zdtm-add-mntns_pivot_root_ro-test.patch b/0175-zdtm-add-mntns_pivot_root_ro-test.patch index 1a5f14d..732db5d 100644 --- a/0175-zdtm-add-mntns_pivot_root_ro-test.patch +++ b/0175-zdtm-add-mntns_pivot_root_ro-test.patch @@ -1,4 +1,4 @@ -From 432f84d74bed3ef0edd2d9271c1b6f3e681fc9ca Mon Sep 17 00:00:00 2001 +From dbf28040db2c4b956bdc5352f8cf62d8d1ddd53d Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 13 Jan 2022 10:46:44 +0300 Subject: [PATCH 175/249] zdtm: add mntns_pivot_root_ro test diff --git a/0176-mount-restore-create-auxiliary-binfmt_misc-mount-in-.patch b/0176-mount-restore-create-auxiliary-binfmt_misc-mount-in-.patch index 3bfa274..e0ee71f 100644 --- a/0176-mount-restore-create-auxiliary-binfmt_misc-mount-in-.patch +++ b/0176-mount-restore-create-auxiliary-binfmt_misc-mount-in-.patch @@ -1,4 +1,4 @@ -From 764cb9f4074b0a4378a80036e7fd8c6a3b0e668c Mon Sep 17 00:00:00 2001 +From c84fda15593f2f7ebb2a2796906e5b4081738b24 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 23 Jul 2019 18:33:59 +0300 Subject: [PATCH 176/249] mount/restore: create auxiliary binfmt_misc mount in diff --git a/0177-mount-restore-leave-ns_mountpoint-NULL-for-aux-binfm.patch b/0177-mount-restore-leave-ns_mountpoint-NULL-for-aux-binfm.patch index 17c45ea..f2526ee 100644 --- a/0177-mount-restore-leave-ns_mountpoint-NULL-for-aux-binfm.patch +++ b/0177-mount-restore-leave-ns_mountpoint-NULL-for-aux-binfm.patch @@ -1,4 +1,4 @@ -From 3d86ba5d0a0d5acdcfcc18ec6e0f9f95f9f934d2 Mon Sep 17 00:00:00 2001 +From 7c0606edbb177b4f704f3abeb03f0de81f4cbbb6 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 13 Jan 2022 17:45:46 +0300 Subject: [PATCH 177/249] mount/restore: leave ns_mountpoint NULL for aux diff --git a/0178-mount-replace-CRTIME_MNT_ID-with-HELPER_MNT_ID.patch b/0178-mount-replace-CRTIME_MNT_ID-with-HELPER_MNT_ID.patch index b100f8e..d06528e 100644 --- a/0178-mount-replace-CRTIME_MNT_ID-with-HELPER_MNT_ID.patch +++ b/0178-mount-replace-CRTIME_MNT_ID-with-HELPER_MNT_ID.patch @@ -1,4 +1,4 @@ -From 63f702594183d1bd5a08cabb0751f63acc94902d Mon Sep 17 00:00:00 2001 +From f19d829e45a67ee5a8a8465ba0e92b291f6059b9 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 7 May 2020 16:13:02 +0300 Subject: [PATCH 178/249] mount: replace CRTIME_MNT_ID with HELPER_MNT_ID diff --git a/0179-mount-add-can_receive_master_from_root-helper.patch b/0179-mount-add-can_receive_master_from_root-helper.patch index c57396f..0ffb625 100644 --- a/0179-mount-add-can_receive_master_from_root-helper.patch +++ b/0179-mount-add-can_receive_master_from_root-helper.patch @@ -1,4 +1,4 @@ -From 46386c3566ad82f17c96048a275b5ba4c2475fa9 Mon Sep 17 00:00:00 2001 +From eb6198c4c7ed22665c0013874fe6b4615f88f3d0 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 30 Dec 2021 15:24:30 +0300 Subject: [PATCH 179/249] mount: add can_receive_master_from_root helper diff --git a/0180-mount-put-external-slavery-mounts-to-separate-mnt_ex.patch b/0180-mount-put-external-slavery-mounts-to-separate-mnt_ex.patch index 2e1bcb8..22ee608 100644 --- a/0180-mount-put-external-slavery-mounts-to-separate-mnt_ex.patch +++ b/0180-mount-put-external-slavery-mounts-to-separate-mnt_ex.patch @@ -1,4 +1,4 @@ -From f08c3b899fbaf2e4b0f496cfdfa1cc5523161c80 Mon Sep 17 00:00:00 2001 +From d797005a68cec3b4a87fc60735441715682a42a4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 20 Feb 2020 10:50:42 +0300 Subject: [PATCH 180/249] mount: put external slavery mounts to separate diff --git a/0181-mount-do-not-override-master_id-to-1-for-root-binds.patch b/0181-mount-do-not-override-master_id-to-1-for-root-binds.patch index ddaf9c6..95e28b6 100644 --- a/0181-mount-do-not-override-master_id-to-1-for-root-binds.patch +++ b/0181-mount-do-not-override-master_id-to-1-for-root-binds.patch @@ -1,4 +1,4 @@ -From 03cb0595a299ffe3e7e55ecb9cc0402277f75e65 Mon Sep 17 00:00:00 2001 +From dc8b6c98040d863aeda2c548ca3991827c341c72 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 14 Jan 2022 14:33:30 +0300 Subject: [PATCH 181/249] mount: do not override master_id to -1 for root binds diff --git a/0182-mount-add-helper-mnt_get_external_bind_nodev.patch b/0182-mount-add-helper-mnt_get_external_bind_nodev.patch index ce5d05a..4ee928b 100644 --- a/0182-mount-add-helper-mnt_get_external_bind_nodev.patch +++ b/0182-mount-add-helper-mnt_get_external_bind_nodev.patch @@ -1,4 +1,4 @@ -From dc2aaeb239af4851d0d157e85d2d2f98bad289d5 Mon Sep 17 00:00:00 2001 +From dd6be1a5f66bd7c605ada4fbd997e36c3cba65e0 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 27 May 2020 11:50:34 +0300 Subject: [PATCH 182/249] mount: add helper mnt_get_external_bind_nodev diff --git a/0183-mount-prepare-is_overmounted-as-early-as-possible.patch b/0183-mount-prepare-is_overmounted-as-early-as-possible.patch index 5d47d03..752f04c 100644 --- a/0183-mount-prepare-is_overmounted-as-early-as-possible.patch +++ b/0183-mount-prepare-is_overmounted-as-early-as-possible.patch @@ -1,4 +1,4 @@ -From 85f9f104c25b032db7f4012e4209d6039ed9042e Mon Sep 17 00:00:00 2001 +From d17e33e918bb9e3fffc18a0b1af532841bdb3d69 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 10:27:05 +0300 Subject: [PATCH 183/249] mount: prepare is_overmounted as early as possible diff --git a/0184-mount-move-root-yard-tree-merge-as-early-as-possible.patch b/0184-mount-move-root-yard-tree-merge-as-early-as-possible.patch index cf719be..c336198 100644 --- a/0184-mount-move-root-yard-tree-merge-as-early-as-possible.patch +++ b/0184-mount-move-root-yard-tree-merge-as-early-as-possible.patch @@ -1,4 +1,4 @@ -From 96d694c36abfb17427e058958ca61865491da160 Mon Sep 17 00:00:00 2001 +From 784d5274c7a09d452c78a771e4a43476dde35dca Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 29 Jun 2020 18:04:41 +0300 Subject: [PATCH 184/249] mount: move root yard tree merge as early as possible diff --git a/0185-mount-fix-broken-remounted_rw-check.patch b/0185-mount-fix-broken-remounted_rw-check.patch index 71ce9cc..adc1673 100644 --- a/0185-mount-fix-broken-remounted_rw-check.patch +++ b/0185-mount-fix-broken-remounted_rw-check.patch @@ -1,4 +1,4 @@ -From 38a7d96e01f897f1da38d1fcbcbc362fc6628052 Mon Sep 17 00:00:00 2001 +From 06d7b3ea53c1896e3bc453ba47b47fd7fb77db97 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 8 Jul 2020 09:57:33 +0300 Subject: [PATCH 185/249] mount: fix broken remounted_rw check diff --git a/0186-mount-make-general-place-for-shared-variables-on-mou.patch b/0186-mount-make-general-place-for-shared-variables-on-mou.patch index f824b9d..6a18781 100644 --- a/0186-mount-make-general-place-for-shared-variables-on-mou.patch +++ b/0186-mount-make-general-place-for-shared-variables-on-mou.patch @@ -1,4 +1,4 @@ -From a554c2d6d9a652ad32f272e7c2a03eec056220e5 Mon Sep 17 00:00:00 2001 +From bcf8e4276323b1e999d355399fc24dc748bdc316 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 16 Jun 2020 16:19:42 +0300 Subject: [PATCH 186/249] mount: make general place for shared variables on diff --git a/0187-autofs-use-ns_mountpoint-in-autofs_create_dentries.patch b/0187-autofs-use-ns_mountpoint-in-autofs_create_dentries.patch index fc6943d..775ed1c 100644 --- a/0187-autofs-use-ns_mountpoint-in-autofs_create_dentries.patch +++ b/0187-autofs-use-ns_mountpoint-in-autofs_create_dentries.patch @@ -1,4 +1,4 @@ -From f84949f68f001a1a06e9c612f34ec573d962e6c4 Mon Sep 17 00:00:00 2001 +From 88e851616d9f576f38630e0725ebc275f12f4ecb Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 26 May 2020 16:40:57 +0300 Subject: [PATCH 187/249] autofs: use ns_mountpoint in autofs_create_dentries diff --git a/0188-mount-use-ns_mountpoint-in-mnt_is_overmounted.patch b/0188-mount-use-ns_mountpoint-in-mnt_is_overmounted.patch index 394ddd2..3de0ec6 100644 --- a/0188-mount-use-ns_mountpoint-in-mnt_is_overmounted.patch +++ b/0188-mount-use-ns_mountpoint-in-mnt_is_overmounted.patch @@ -1,4 +1,4 @@ -From eebae8cb3ef05114fbcce56c37d405c18d640d4a Mon Sep 17 00:00:00 2001 +From 99273ed7906b0e88879166e95538ec9b3358cb8e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 30 Nov 2021 12:11:02 +0300 Subject: [PATCH 188/249] mount: use ns_mountpoint in mnt_is_overmounted diff --git a/0189-mount-skip-root-yard-children-from-mnt_needs_remap-c.patch b/0189-mount-skip-root-yard-children-from-mnt_needs_remap-c.patch index b37ef34..c8f7df1 100644 --- a/0189-mount-skip-root-yard-children-from-mnt_needs_remap-c.patch +++ b/0189-mount-skip-root-yard-children-from-mnt_needs_remap-c.patch @@ -1,4 +1,4 @@ -From 744bd436864bda3bef9d5117c802c6d6355dc568 Mon Sep 17 00:00:00 2001 +From 246f80532a80d73c8bb6fabc58d91549155b53ac Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 12:40:52 +0300 Subject: [PATCH 189/249] mount: skip root yard children from mnt_needs_remap diff --git a/0190-mount-use-ns_mountpoint-in-validate_children_collisi.patch b/0190-mount-use-ns_mountpoint-in-validate_children_collisi.patch index 1757c47..becba86 100644 --- a/0190-mount-use-ns_mountpoint-in-validate_children_collisi.patch +++ b/0190-mount-use-ns_mountpoint-in-validate_children_collisi.patch @@ -1,4 +1,4 @@ -From 1c00cde48a8dd65cd49c253af655eb98aa002967 Mon Sep 17 00:00:00 2001 +From 876abe5b5fd08fb1e23e2f1ae1e157d9ed9ba57e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 13:00:48 +0300 Subject: [PATCH 190/249] mount: use ns_mountpoint in diff --git a/0191-mount-use-ns_mountpoint-in-root_path_from_parent.patch b/0191-mount-use-ns_mountpoint-in-root_path_from_parent.patch index 1e203c3..b9f16aa 100644 --- a/0191-mount-use-ns_mountpoint-in-root_path_from_parent.patch +++ b/0191-mount-use-ns_mountpoint-in-root_path_from_parent.patch @@ -1,4 +1,4 @@ -From 305750f27c8492bd51145ae4a18ff2dd12793d12 Mon Sep 17 00:00:00 2001 +From 042dd19537f68f3412e642858c620a2ccc111337 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 13:39:10 +0300 Subject: [PATCH 191/249] mount: use ns_mountpoint in root_path_from_parent diff --git a/0192-mount-use-ns_mountpoint-for-children-overmount-check.patch b/0192-mount-use-ns_mountpoint-for-children-overmount-check.patch index 94146b4..f05e491 100644 --- a/0192-mount-use-ns_mountpoint-for-children-overmount-check.patch +++ b/0192-mount-use-ns_mountpoint-for-children-overmount-check.patch @@ -1,4 +1,4 @@ -From 16b279a63594bdff1e5376e22794439487d6f0bb Mon Sep 17 00:00:00 2001 +From 103bb35c39c07c01b03a557486b9e550ed80311b Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 13:52:45 +0300 Subject: [PATCH 192/249] mount: use ns_mountpoint for children-overmount check diff --git a/0193-path-simplify-mnt_get_sibling_path-via-get_relative_.patch b/0193-path-simplify-mnt_get_sibling_path-via-get_relative_.patch index eff2caa..1ec16b8 100644 --- a/0193-path-simplify-mnt_get_sibling_path-via-get_relative_.patch +++ b/0193-path-simplify-mnt_get_sibling_path-via-get_relative_.patch @@ -1,4 +1,4 @@ -From bdb7345ebea7034738a391534bd0c77ce144203c Mon Sep 17 00:00:00 2001 +From 21e9d5515d154da3b7a5b9894ce99654d3c74511 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 1 Dec 2021 12:52:27 +0300 Subject: [PATCH 193/249] path: simplify mnt_get_sibling_path via diff --git a/0194-mount-use-ns_mountpoint-in-collect_mntinfo.patch b/0194-mount-use-ns_mountpoint-in-collect_mntinfo.patch index be9dbbb..7657eb0 100644 --- a/0194-mount-use-ns_mountpoint-in-collect_mntinfo.patch +++ b/0194-mount-use-ns_mountpoint-in-collect_mntinfo.patch @@ -1,4 +1,4 @@ -From b37b302d47277d41a3a8287529739805bfa427a4 Mon Sep 17 00:00:00 2001 +From 29899d64c171443c6d456d122bf564e2c259ca20 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 14:34:03 +0300 Subject: [PATCH 194/249] mount: use ns_mountpoint in collect_mntinfo diff --git a/0195-mount-use-ns_mountpoint-in-aufs_parse.patch b/0195-mount-use-ns_mountpoint-in-aufs_parse.patch index b0f8fe7..f07e4a6 100644 --- a/0195-mount-use-ns_mountpoint-in-aufs_parse.patch +++ b/0195-mount-use-ns_mountpoint-in-aufs_parse.patch @@ -1,4 +1,4 @@ -From 8506fbfdc3bcd4983f0808c76540ceba76c1bebb Mon Sep 17 00:00:00 2001 +From 5ffda01cf26e5cd13c33c2c6ea35f6624073a69b Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 14:40:01 +0300 Subject: [PATCH 195/249] mount: use ns_mountpoint in aufs_parse diff --git a/0196-mount-use-ns_mountpoint-in-mnt_depth.patch b/0196-mount-use-ns_mountpoint-in-mnt_depth.patch index 48dfad8..5ffc19c 100644 --- a/0196-mount-use-ns_mountpoint-in-mnt_depth.patch +++ b/0196-mount-use-ns_mountpoint-in-mnt_depth.patch @@ -1,4 +1,4 @@ -From b23ba1e4a50e7b9a1ca3f208983d73c683acbea1 Mon Sep 17 00:00:00 2001 +From 45dba8dd206c5bda0c682de1ee31a99ae5c50f49 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 15:18:10 +0300 Subject: [PATCH 196/249] mount: use ns_mountpoint in mnt_depth diff --git a/0197-mount-use-ns_mountpoint-instead-of-mountpoint-where-.patch b/0197-mount-use-ns_mountpoint-instead-of-mountpoint-where-.patch index b2d8d9f..9c4d221 100644 --- a/0197-mount-use-ns_mountpoint-instead-of-mountpoint-where-.patch +++ b/0197-mount-use-ns_mountpoint-instead-of-mountpoint-where-.patch @@ -1,4 +1,4 @@ -From fec02ce6c42779386cd621030887194aeb7f2aca Mon Sep 17 00:00:00 2001 +From 259b1d228857158dea54ccd36e59c712b87b9bc4 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 29 May 2020 12:02:16 +0300 Subject: [PATCH 197/249] mount: use ns_mountpoint instead of mountpoint where diff --git a/0198-mount-add-service_mountpoint-getter-for-mountpoint.patch b/0198-mount-add-service_mountpoint-getter-for-mountpoint.patch index 4bd9ea0..3b78573 100644 --- a/0198-mount-add-service_mountpoint-getter-for-mountpoint.patch +++ b/0198-mount-add-service_mountpoint-getter-for-mountpoint.patch @@ -1,4 +1,4 @@ -From 569d5e17f39c8c206c4b20386b101b29a8fee188 Mon Sep 17 00:00:00 2001 +From 183c77f7c56eb6bb5f7ac8cedfbef912a2883d5a Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 28 May 2020 11:14:39 +0300 Subject: [PATCH 198/249] mount: add service_mountpoint getter for ->mountpoint diff --git a/0199-files-reg-split-create_ghost_dentry-out-of-create_gh.patch b/0199-files-reg-split-create_ghost_dentry-out-of-create_gh.patch index 1bf2d51..07f8d91 100644 --- a/0199-files-reg-split-create_ghost_dentry-out-of-create_gh.patch +++ b/0199-files-reg-split-create_ghost_dentry-out-of-create_gh.patch @@ -1,4 +1,4 @@ -From e9ff05033bda690539b42e658d110ff3991414b4 Mon Sep 17 00:00:00 2001 +From e0118aee0fdecd9c267c1f23df73ce909827f9bc Mon Sep 17 00:00:00 2001 From: Stanislav Kinsburskiy Date: Mon, 11 Jul 2016 14:14:15 +0300 Subject: [PATCH 199/249] files-reg: split create_ghost_dentry out of diff --git a/0200-files-reg-teach-create_ghost-to-work-with-mount-v2.patch b/0200-files-reg-teach-create_ghost-to-work-with-mount-v2.patch index 69c3469..01b92ab 100644 --- a/0200-files-reg-teach-create_ghost-to-work-with-mount-v2.patch +++ b/0200-files-reg-teach-create_ghost-to-work-with-mount-v2.patch @@ -1,4 +1,4 @@ -From d33eee29e43f5f8a0aa8d4ee9c21006e08685367 Mon Sep 17 00:00:00 2001 +From 45a06d6b9b34f0484ca3dad560e53914db05fff6 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 14 May 2020 14:11:47 +0300 Subject: [PATCH 200/249] files-reg: teach create_ghost to work with mount-v2 diff --git a/0201-files-reg-teach-clean_one_remap-to-work-with-mount-v.patch b/0201-files-reg-teach-clean_one_remap-to-work-with-mount-v.patch index 78d9221..600b589 100644 --- a/0201-files-reg-teach-clean_one_remap-to-work-with-mount-v.patch +++ b/0201-files-reg-teach-clean_one_remap-to-work-with-mount-v.patch @@ -1,4 +1,4 @@ -From 379cfdd821911d475e0c74e36c9d8913a5f9a989 Mon Sep 17 00:00:00 2001 +From bfe17cdd6fda1519870eb89c231d4965f276dc4e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 14 May 2020 16:36:57 +0300 Subject: [PATCH 201/249] files-reg: teach clean_one_remap to work with diff --git a/0202-kerndat-Check-for-MOVE_MOUNT_SET_GROUP-availability.patch b/0202-kerndat-Check-for-MOVE_MOUNT_SET_GROUP-availability.patch index d06987a..ab8c038 100644 --- a/0202-kerndat-Check-for-MOVE_MOUNT_SET_GROUP-availability.patch +++ b/0202-kerndat-Check-for-MOVE_MOUNT_SET_GROUP-availability.patch @@ -1,4 +1,4 @@ -From 44be7557f0477237945e244de6b26a9472a1591b Mon Sep 17 00:00:00 2001 +From 32a5f0844aa34d3d1ea463f634098b6acc64b56b Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 25 Mar 2021 13:37:55 +0300 Subject: [PATCH 202/249] kerndat: Check for MOVE_MOUNT_SET_GROUP availability diff --git a/0203-compel-add-open_tree-syscall.patch b/0203-compel-add-open_tree-syscall.patch index 05d0b8c..21afacf 100644 --- a/0203-compel-add-open_tree-syscall.patch +++ b/0203-compel-add-open_tree-syscall.patch @@ -1,4 +1,4 @@ -From e72cf151b6dfe88f78715fca4dff560350688e66 Mon Sep 17 00:00:00 2001 +From 86215f7cd94cb9d8705527cddebcbb2c13d0588d Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 24 Dec 2021 13:23:29 +0300 Subject: [PATCH 203/249] compel: add open_tree syscall diff --git a/0204-kerndat-check-whether-the-openat2-syscall-is-support.patch b/0204-kerndat-check-whether-the-openat2-syscall-is-support.patch index ae9dd65..e4ac068 100644 --- a/0204-kerndat-check-whether-the-openat2-syscall-is-support.patch +++ b/0204-kerndat-check-whether-the-openat2-syscall-is-support.patch @@ -1,4 +1,4 @@ -From 5bffbff69465054b7e9c879e4a18707df1534fe9 Mon Sep 17 00:00:00 2001 +From ea5a4abe92218cdcd3de77f04f4571585d79167c Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 22 Dec 2021 11:07:24 +0300 Subject: [PATCH 204/249] kerndat: check whether the openat2 syscall is diff --git a/0205-util-add-resolve_mountpoint-helper.patch b/0205-util-add-resolve_mountpoint-helper.patch index c249c42..c071106 100644 --- a/0205-util-add-resolve_mountpoint-helper.patch +++ b/0205-util-add-resolve_mountpoint-helper.patch @@ -1,4 +1,4 @@ -From 7d1f6274209d2991016f1c4c8bd7b46321ca4d88 Mon Sep 17 00:00:00 2001 +From b3fbad7fd38554a9de9f49374847ed8ce8f9415e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 22 Dec 2021 19:26:32 +0300 Subject: [PATCH 205/249] util: add resolve_mountpoint helper diff --git a/0206-crtools-move-check_options-after-kerndat_init-and-lo.patch b/0206-crtools-move-check_options-after-kerndat_init-and-lo.patch index ce43968..2537dde 100644 --- a/0206-crtools-move-check_options-after-kerndat_init-and-lo.patch +++ b/0206-crtools-move-check_options-after-kerndat_init-and-lo.patch @@ -1,4 +1,4 @@ -From dd64b33d47631a47de17e807d7928a345272046c Mon Sep 17 00:00:00 2001 +From c0c592f09b30f2c3cc99aa13ada2cc45dcfb72a1 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 23 Dec 2021 17:19:49 +0300 Subject: [PATCH 206/249] crtools: move check_options after kerndat_init and diff --git a/0207-config-rpc-add-new-option-mntns-compat-mode-for-old-.patch b/0207-config-rpc-add-new-option-mntns-compat-mode-for-old-.patch index 935de6f..c92ad32 100644 --- a/0207-config-rpc-add-new-option-mntns-compat-mode-for-old-.patch +++ b/0207-config-rpc-add-new-option-mntns-compat-mode-for-old-.patch @@ -1,4 +1,4 @@ -From 273d3f4ccc95eb7bd0553de1caa217835525311c Mon Sep 17 00:00:00 2001 +From 34cba22d4eabb34a8f1588d4ce5571492c3f2ef3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 25 May 2020 17:43:48 +0300 Subject: [PATCH 207/249] config/rpc: add new option --mntns-compat-mode for diff --git a/0208-mount-add-plain-mountpoints.patch b/0208-mount-add-plain-mountpoints.patch index 4108ddf..2d8376d 100644 --- a/0208-mount-add-plain-mountpoints.patch +++ b/0208-mount-add-plain-mountpoints.patch @@ -1,4 +1,4 @@ -From db674a523b391ccb8eb65191096931cc2e95b9a5 Mon Sep 17 00:00:00 2001 +From a14336dbfb6efbf81069bd772ef4860970480c8c Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 28 May 2020 11:30:16 +0300 Subject: [PATCH 208/249] mount: add plain mountpoints diff --git a/0209-files-reg-export-parent-dirs-helpers-for-mount-v2.patch b/0209-files-reg-export-parent-dirs-helpers-for-mount-v2.patch index 525b394..68575ed 100644 --- a/0209-files-reg-export-parent-dirs-helpers-for-mount-v2.patch +++ b/0209-files-reg-export-parent-dirs-helpers-for-mount-v2.patch @@ -1,4 +1,4 @@ -From 9191dbc6decd1cf15bcfce5fcb09488f69680c50 Mon Sep 17 00:00:00 2001 +From 247e677678fdc049d6e827315976a04527f5d84d Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 21 Dec 2021 12:14:23 +0300 Subject: [PATCH 209/249] files-reg: export parent dirs helpers for mount-v2 diff --git a/0210-mount-remove-double-ns_id-declaration.patch b/0210-mount-remove-double-ns_id-declaration.patch index 40758c7..737f94e 100644 --- a/0210-mount-remove-double-ns_id-declaration.patch +++ b/0210-mount-remove-double-ns_id-declaration.patch @@ -1,4 +1,4 @@ -From 35f5403cef372bab0f593747c3b0348fc1d10c17 Mon Sep 17 00:00:00 2001 +From b7843ffd30c66d4e375f733b6930bb54d42d77f8 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 21 Dec 2021 12:43:42 +0300 Subject: [PATCH 210/249] mount: remove double ns_id declaration diff --git a/0211-mount-export-common-defines-for-mount-v2.patch b/0211-mount-export-common-defines-for-mount-v2.patch index e350682..68c5de9 100644 --- a/0211-mount-export-common-defines-for-mount-v2.patch +++ b/0211-mount-export-common-defines-for-mount-v2.patch @@ -1,4 +1,4 @@ -From da341d7cd3e0a9ab312ce9ea18755a938d61e1bb Mon Sep 17 00:00:00 2001 +From 294b4e67037e2e49cae1c4b795cfc68256902bbe Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 21 Dec 2021 12:46:57 +0300 Subject: [PATCH 211/249] mount: export common defines for mount-v2 diff --git a/0212-mount-export-several-functions-for-mount-v2.patch b/0212-mount-export-several-functions-for-mount-v2.patch index 775acc1..671f90f 100644 --- a/0212-mount-export-several-functions-for-mount-v2.patch +++ b/0212-mount-export-several-functions-for-mount-v2.patch @@ -1,4 +1,4 @@ -From ee35200cf6627cc0ea2b8067d759c0e4e798d825 Mon Sep 17 00:00:00 2001 +From d88668190e0254e51a4d16a3ae7c1d1ef8baaefe Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 21 Dec 2021 13:29:52 +0300 Subject: [PATCH 212/249] mount: export several functions for mount-v2 diff --git a/0213-mount-export-global-variables-for-mount-v2.patch b/0213-mount-export-global-variables-for-mount-v2.patch index 8d289d0..d61ea43 100644 --- a/0213-mount-export-global-variables-for-mount-v2.patch +++ b/0213-mount-export-global-variables-for-mount-v2.patch @@ -1,4 +1,4 @@ -From 0dfc8717477416fa14d87335f1be5f2e2f89a71e Mon Sep 17 00:00:00 2001 +From 036a0d6bb99929b836323ec59d851cda5a87cd2c Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 21 Dec 2021 14:04:19 +0300 Subject: [PATCH 213/249] mount: export global variables for mount-v2 diff --git a/0214-mount-add-new-mounts-v2-engine.patch b/0214-mount-add-new-mounts-v2-engine.patch index c4b794a..9f5c3ec 100644 --- a/0214-mount-add-new-mounts-v2-engine.patch +++ b/0214-mount-add-new-mounts-v2-engine.patch @@ -1,4 +1,4 @@ -From 14c2dd341a5a3b0a15095ae68047d7c061b53033 Mon Sep 17 00:00:00 2001 +From 8127682e59641682e185e05f17b770fbe05d9087 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 25 May 2020 18:12:49 +0300 Subject: [PATCH 214/249] mount: add new mounts-v2 engine diff --git a/0215-zdtm-enable-mounts-compat-mode-on-restore-with-mntns.patch b/0215-zdtm-enable-mounts-compat-mode-on-restore-with-mntns.patch index 84295ca..82334db 100644 --- a/0215-zdtm-enable-mounts-compat-mode-on-restore-with-mntns.patch +++ b/0215-zdtm-enable-mounts-compat-mode-on-restore-with-mntns.patch @@ -1,4 +1,4 @@ -From 3e814aba5a1ea040b655c5e4102ffaab157a433e Mon Sep 17 00:00:00 2001 +From 7361b54e7aa213e2c9dda84eba39ff934183b759 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 27 May 2020 16:11:20 +0300 Subject: [PATCH 215/249] zdtm: enable mounts compat mode on restore with diff --git a/0216-ci-run-tests-for-old-mount-engine.patch b/0216-ci-run-tests-for-old-mount-engine.patch index 4b628ad..ae01403 100644 --- a/0216-ci-run-tests-for-old-mount-engine.patch +++ b/0216-ci-run-tests-for-old-mount-engine.patch @@ -1,4 +1,4 @@ -From e4823210911c344e668eba7783f170816777f388 Mon Sep 17 00:00:00 2001 +From 555e118d60688230e1eddc5c8e5117c49cdcc3aa Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 14 Jan 2022 12:12:12 +0300 Subject: [PATCH 216/249] ci: run tests for old mount engine diff --git a/0217-zdtm-add-new-mnt_ext_sharing-test-for-mount-v2.patch b/0217-zdtm-add-new-mnt_ext_sharing-test-for-mount-v2.patch index f0d46c2..9bac868 100644 --- a/0217-zdtm-add-new-mnt_ext_sharing-test-for-mount-v2.patch +++ b/0217-zdtm-add-new-mnt_ext_sharing-test-for-mount-v2.patch @@ -1,4 +1,4 @@ -From 289bfe5cb61a964ed022010e765ba2de489c389d Mon Sep 17 00:00:00 2001 +From 8909926e8c1c72a55a18e2e00793069fbe5fe445 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 31 Dec 2019 15:56:44 +0300 Subject: [PATCH 217/249] zdtm: add new mnt_ext_sharing test for mount-v2 diff --git a/0218-zdtm-add-mount_complex_sharing-test.patch b/0218-zdtm-add-mount_complex_sharing-test.patch index 68901e8..34390c6 100644 --- a/0218-zdtm-add-mount_complex_sharing-test.patch +++ b/0218-zdtm-add-mount_complex_sharing-test.patch @@ -1,4 +1,4 @@ -From 659f16d27bb23528229427c61b7591eeb51189a1 Mon Sep 17 00:00:00 2001 +From 3d674889edc31c439a42e5c01226359a56dd533c Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 28 Jul 2020 11:49:45 +0300 Subject: [PATCH 218/249] zdtm: add mount_complex_sharing test diff --git a/0219-zdtm-add-propagation-group-with-mount-flags-to-mount.patch b/0219-zdtm-add-propagation-group-with-mount-flags-to-mount.patch index 75519c7..8d02972 100644 --- a/0219-zdtm-add-propagation-group-with-mount-flags-to-mount.patch +++ b/0219-zdtm-add-propagation-group-with-mount-flags-to-mount.patch @@ -1,4 +1,4 @@ -From b7070dd5675a53b22db912c36242c0dde94d5a3e Mon Sep 17 00:00:00 2001 +From 2a5d445efc68e76fef4f7141c2b07c2f16c7fef3 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Wed, 14 Oct 2020 15:56:52 +0300 Subject: [PATCH 219/249] zdtm: add propagation group with mount flags to diff --git a/0220-zdtm-mount-v2-disable-mnt_tracefs-test.patch b/0220-zdtm-mount-v2-disable-mnt_tracefs-test.patch index 0c0c057..0230977 100644 --- a/0220-zdtm-mount-v2-disable-mnt_tracefs-test.patch +++ b/0220-zdtm-mount-v2-disable-mnt_tracefs-test.patch @@ -1,4 +1,4 @@ -From 5abbefa1f66eaded7f03f1d65a00b6aa8a57ab47 Mon Sep 17 00:00:00 2001 +From 551fe1a3cbf8b5e4b4f34d85c1bb807917e5d8c9 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 1 Dec 2020 16:07:16 +0300 Subject: [PATCH 220/249] zdtm/mount-v2: disable mnt_tracefs test diff --git a/0221-ci-make-others-mnt_ext_dev-also-run-for-old-mount-en.patch b/0221-ci-make-others-mnt_ext_dev-also-run-for-old-mount-en.patch index 74b8d9e..c581116 100644 --- a/0221-ci-make-others-mnt_ext_dev-also-run-for-old-mount-en.patch +++ b/0221-ci-make-others-mnt_ext_dev-also-run-for-old-mount-en.patch @@ -1,4 +1,4 @@ -From c72b743d0ccdfc2af699b87d75af8ddab675fa26 Mon Sep 17 00:00:00 2001 +From ba38f2e6086831518fc3595c4566c0ed9cc736e5 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Fri, 14 Jan 2022 19:29:08 +0300 Subject: [PATCH 221/249] ci: make others/mnt_ext_dev also run for old mount diff --git a/0222-test-jenkins-test-for-old-mount-engine.patch b/0222-test-jenkins-test-for-old-mount-engine.patch index c695058..ae59352 100644 --- a/0222-test-jenkins-test-for-old-mount-engine.patch +++ b/0222-test-jenkins-test-for-old-mount-engine.patch @@ -1,4 +1,4 @@ -From 24dffdc2410627966a82d7cc8b29797cecbab61b Mon Sep 17 00:00:00 2001 +From 2e69fff789bf285853f96ef27f836773a933754b Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 31 Jan 2022 11:02:36 +0300 Subject: [PATCH 222/249] test/jenkins: test for old mount engine diff --git a/0223-zdtm-mount-v2-disable-pty-console-test.patch b/0223-zdtm-mount-v2-disable-pty-console-test.patch index 99f5968..b10fb40 100644 --- a/0223-zdtm-mount-v2-disable-pty-console-test.patch +++ b/0223-zdtm-mount-v2-disable-pty-console-test.patch @@ -1,4 +1,4 @@ -From 16285bfab2f24816554ee6cb70430fcbcae7ac3f Mon Sep 17 00:00:00 2001 +From 03f00584fc3428f2f1fa1485ecead7e74842fb4e Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 14 Mar 2022 12:01:10 +0300 Subject: [PATCH 223/249] zdtm/mount-v2: disable pty-console test diff --git a/0224-mount-v2-make-mount-engine-fallback-messages-logleve.patch b/0224-mount-v2-make-mount-engine-fallback-messages-logleve.patch index 8ffc46f..f533982 100644 --- a/0224-mount-v2-make-mount-engine-fallback-messages-logleve.patch +++ b/0224-mount-v2-make-mount-engine-fallback-messages-logleve.patch @@ -1,4 +1,4 @@ -From 14621c81247af478617ad8295c5819e99ffa188c Mon Sep 17 00:00:00 2001 +From b578f95f21e1cec4961948dddce1fd201907302a Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Sun, 20 Mar 2022 19:38:34 +0300 Subject: [PATCH 224/249] mount-v2: make mount engine fallback messages diff --git a/0225-mount-make-error-messages-differ-in-different-places.patch b/0225-mount-make-error-messages-differ-in-different-places.patch index 7f366c4..369be7f 100644 --- a/0225-mount-make-error-messages-differ-in-different-places.patch +++ b/0225-mount-make-error-messages-differ-in-different-places.patch @@ -1,4 +1,4 @@ -From b2e857c42a8086f735f0018fab556d259adcc71a Mon Sep 17 00:00:00 2001 +From 3ce0742b084ce45cc2170c0f92d24190231f54e1 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Mon, 21 Mar 2022 10:19:29 +0300 Subject: [PATCH 225/249] mount: make error messages differ in different places diff --git a/0226-zdtm-use-unique-holder-for-cgroups.patch b/0226-zdtm-use-unique-holder-for-cgroups.patch index c02e2ef..3f5442c 100644 --- a/0226-zdtm-use-unique-holder-for-cgroups.patch +++ b/0226-zdtm-use-unique-holder-for-cgroups.patch @@ -1,4 +1,4 @@ -From 20f4b7a8a5151dfc49463c01bb7509f6dd74defc Mon Sep 17 00:00:00 2001 +From 019adba82026f710cd776b424468fc635a649d2c Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sun, 20 Mar 2022 22:11:19 -0700 Subject: [PATCH 226/249] zdtm: use unique holder for cgroups diff --git a/0227-scripts-ci-mount-test-cgroups-once.patch b/0227-scripts-ci-mount-test-cgroups-once.patch index eb8e10b..c1bd7bd 100644 --- a/0227-scripts-ci-mount-test-cgroups-once.patch +++ b/0227-scripts-ci-mount-test-cgroups-once.patch @@ -1,4 +1,4 @@ -From c0637fc646ee6f0043dbe0bd741ce311e5f9b5b6 Mon Sep 17 00:00:00 2001 +From becbcd27e09030cc1032e013ff08c726acae79bf Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sun, 20 Mar 2022 22:13:45 -0700 Subject: [PATCH 227/249] scripts/ci: mount test cgroups once diff --git a/0228-criu-ns-add-a-helper-to-hold-a-pid-namespace.patch b/0228-criu-ns-add-a-helper-to-hold-a-pid-namespace.patch index 2258996..dfef187 100644 --- a/0228-criu-ns-add-a-helper-to-hold-a-pid-namespace.patch +++ b/0228-criu-ns-add-a-helper-to-hold-a-pid-namespace.patch @@ -1,4 +1,4 @@ -From e4c1e520e90b40ed639b544322d8700451d3659f Mon Sep 17 00:00:00 2001 +From 3a33f672a6de175d5ff8d5440f44898da6fa08ef Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sun, 20 Mar 2022 00:43:45 -0700 Subject: [PATCH 228/249] criu-ns: add a helper to hold a pid namespace diff --git a/0229-apparmor-Fix-Wfortify-source-for-Clang.patch b/0229-apparmor-Fix-Wfortify-source-for-Clang.patch index 3185b22..db3238f 100644 --- a/0229-apparmor-Fix-Wfortify-source-for-Clang.patch +++ b/0229-apparmor-Fix-Wfortify-source-for-Clang.patch @@ -1,4 +1,4 @@ -From c4d7e86771edcaed33bce40e93f06d1920a40c4d Mon Sep 17 00:00:00 2001 +From 32135702ea15c977485ca66cfedd1410896c895c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 25 Mar 2022 17:18:30 -0700 Subject: [PATCH 229/249] apparmor: Fix -Wfortify-source for Clang diff --git a/0230-style-delete-some-redundant-code.patch b/0230-style-delete-some-redundant-code.patch index f7552a0..0723e1d 100644 --- a/0230-style-delete-some-redundant-code.patch +++ b/0230-style-delete-some-redundant-code.patch @@ -1,4 +1,4 @@ -From 2060c0cd9e1d7184597050ccab4c0d08b36bb2f4 Mon Sep 17 00:00:00 2001 +From e974a40c0a6055d102bad608d8b1364b9a32fcfe Mon Sep 17 00:00:00 2001 From: jiang wei Date: Wed, 23 Mar 2022 21:48:16 +0800 Subject: [PATCH 230/249] style: delete some redundant code diff --git a/0231-mount-fix-Wunused-but-set-variable-for-Clang-15.patch b/0231-mount-fix-Wunused-but-set-variable-for-Clang-15.patch index d5c9d02..9b8d5bf 100644 --- a/0231-mount-fix-Wunused-but-set-variable-for-Clang-15.patch +++ b/0231-mount-fix-Wunused-but-set-variable-for-Clang-15.patch @@ -1,4 +1,4 @@ -From d1fe7612208caa12c03f2e35e91e42a093148bcc Mon Sep 17 00:00:00 2001 +From 1789a6e25730769e1297632e2059c68c40859aec Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 25 Mar 2022 17:27:11 -0700 Subject: [PATCH 231/249] mount: fix -Wunused-but-set-variable for Clang 15 diff --git a/0232-compel-add-rseq-syscall-into-compel-std-plugin-sysca.patch b/0232-compel-add-rseq-syscall-into-compel-std-plugin-sysca.patch index 72e08a0..10e0ff5 100644 --- a/0232-compel-add-rseq-syscall-into-compel-std-plugin-sysca.patch +++ b/0232-compel-add-rseq-syscall-into-compel-std-plugin-sysca.patch @@ -1,4 +1,4 @@ -From 9456e11dbb326e93cdd01456b629230db996c0d4 Mon Sep 17 00:00:00 2001 +From 83d4d8a4f22e7820687439afe7622cb5be7bed67 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 17:38:25 +0300 Subject: [PATCH 232/249] compel: add rseq syscall into compel std plugin diff --git a/0233-kerndat-check-for-rseq-syscall-support.patch b/0233-kerndat-check-for-rseq-syscall-support.patch index a9c79ad..cfda6e6 100644 --- a/0233-kerndat-check-for-rseq-syscall-support.patch +++ b/0233-kerndat-check-for-rseq-syscall-support.patch @@ -1,4 +1,4 @@ -From 79fd6d1c54c7b8b925df11adbce9ef687b0f0f4f Mon Sep 17 00:00:00 2001 +From a01c8c82a0bdb066cdc59f96184740b6bbe366b6 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 18:27:52 +0300 Subject: [PATCH 233/249] kerndat: check for rseq syscall support diff --git a/0234-util-move-fork_and_ptrace_attach-helper-from-cr-chec.patch b/0234-util-move-fork_and_ptrace_attach-helper-from-cr-chec.patch index c831cc7..102239a 100644 --- a/0234-util-move-fork_and_ptrace_attach-helper-from-cr-chec.patch +++ b/0234-util-move-fork_and_ptrace_attach-helper-from-cr-chec.patch @@ -1,4 +1,4 @@ -From 4dcca982579264fbc3fab176f63c7273799f7a9c Mon Sep 17 00:00:00 2001 +From 322699312bc16316473f3760eb1548982412979a Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 21:17:16 +0300 Subject: [PATCH 234/249] util: move fork_and_ptrace_attach helper from diff --git a/0235-cr-check-Add-ptrace-rseq-conf-dump-feature.patch b/0235-cr-check-Add-ptrace-rseq-conf-dump-feature.patch index 941450d..7b17fb3 100644 --- a/0235-cr-check-Add-ptrace-rseq-conf-dump-feature.patch +++ b/0235-cr-check-Add-ptrace-rseq-conf-dump-feature.patch @@ -1,4 +1,4 @@ -From c4399163eb28d0dd1d2f6d7041f361b9516c2911 Mon Sep 17 00:00:00 2001 +From 0c0bc3dedcf68e59baa6544d2e0a9b3275559376 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 18:29:14 +0300 Subject: [PATCH 235/249] cr-check: Add ptrace rseq conf dump feature diff --git a/0236-rseq-initial-support.patch b/0236-rseq-initial-support.patch index 3a69c02..388f442 100644 --- a/0236-rseq-initial-support.patch +++ b/0236-rseq-initial-support.patch @@ -1,4 +1,4 @@ -From 5dd6ace5934f8c95f4ac72e248433081f1be87d1 Mon Sep 17 00:00:00 2001 +From f8b1b85be77e48477e3449a9c2c70080799444b2 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 23:27:26 +0300 Subject: [PATCH 236/249] rseq: initial support @@ -18,18 +18,18 @@ Reported-by: Radostin Stoyanov Suggested-by: Florian Weimer Signed-off-by: Alexander Mikhalitsyn --- - criu/cr-dump.c | 99 ++++++++++++++++++++++++++ + criu/cr-dump.c | 99 +++++++++++++++++++++++++++ criu/cr-restore.c | 22 ++++++ - criu/include/linux/rseq.h | 144 ++++++++++++++++++++++++++++++++++++++ + criu/include/linux/rseq.h | 137 ++++++++++++++++++++++++++++++++++++++ criu/include/parasite.h | 7 ++ criu/include/restorer.h | 7 ++ criu/parasite-syscall.c | 11 +++ - criu/pie/parasite.c | 98 ++++++++++++++++++++++++++ + criu/pie/parasite.c | 100 ++++++++++++++++++++++++++++ criu/pie/restorer.c | 25 +++++++ images/Makefile | 1 + images/core.proto | 2 + images/rseq.proto | 9 +++ - 11 files changed, 425 insertions(+) + 11 files changed, 420 insertions(+) create mode 100644 criu/include/linux/rseq.h create mode 100644 images/rseq.proto @@ -213,10 +213,10 @@ index 9d2d957f8..8bfa3ef8c 100644 thread_args[i].futex_rla = tcore->thread_core->futex_rla; diff --git a/criu/include/linux/rseq.h b/criu/include/linux/rseq.h new file mode 100644 -index 000000000..5c1706a59 +index 000000000..b227aefdf --- /dev/null +++ b/criu/include/linux/rseq.h -@@ -0,0 +1,144 @@ +@@ -0,0 +1,137 @@ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +#ifndef _UAPI_LINUX_RSEQ_H +#define _UAPI_LINUX_RSEQ_H @@ -270,12 +270,17 @@ index 000000000..5c1706a59 +} __attribute__((aligned(4 * sizeof(__u64)))); + +/* ++ * We have to have our own copy of struct rseq definition because ++ * of breaking UAPI change: ++ * https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=bfdf4e6208051ed7165b2e92035b4bf11f43eb63 ++ */ ++/* + * struct rseq is aligned on 4 * 8 bytes to ensure it is always + * contained within a single cache-line. + * + * A single struct rseq per thread is allowed. + */ -+struct rseq { ++struct criu_rseq { + /* + * Restartable sequences cpu_id_start field. Updated by the + * kernel. Read by user-space with single-copy atomicity @@ -321,23 +326,11 @@ index 000000000..5c1706a59 + * Read and set by the kernel. Set by user-space with single-copy + * atomicity semantics. This field should only be updated by the + * thread which registered this data structure. Aligned on 64-bit. ++ * ++ * 32-bit architectures should update the low order bits of the ++ * rseq_cs field, leaving the high order bits initialized to 0. + */ -+ union { -+ __u64 ptr64; -+#ifdef __LP64__ -+ __u64 ptr; -+#else -+ struct { -+#if (defined(__BYTE_ORDER) && (__BYTE_ORDER == __BIG_ENDIAN)) || defined(__BIG_ENDIAN) -+ __u32 padding; /* Initialized to zero. */ -+ __u32 ptr32; -+#else /* LITTLE */ -+ __u32 ptr32; -+ __u32 padding; /* Initialized to zero. */ -+#endif /* ENDIAN */ -+ } ptr; -+#endif -+ } rseq_cs; ++ __u64 rseq_cs; + + /* + * Restartable sequences flags field. @@ -445,7 +438,7 @@ index 7175adee1..ee4fa86f4 100644 if (ret) { pr_err("Can't init thread in parasite %d\n", pid); diff --git a/criu/pie/parasite.c b/criu/pie/parasite.c -index bc0a33cd4..8441ac635 100644 +index bc0a33cd4..a74c7721a 100644 --- a/criu/pie/parasite.c +++ b/criu/pie/parasite.c @@ -8,6 +8,8 @@ @@ -478,7 +471,7 @@ index bc0a33cd4..8441ac635 100644 ret = dump_creds(ti->creds); out: return ret; -@@ -313,6 +322,95 @@ grps_err: +@@ -313,6 +322,97 @@ grps_err: return -1; } @@ -521,17 +514,18 @@ index bc0a33cd4..8441ac635 100644 + * with rseq() initialized. + * -EPERM or -EBUSY: should not happen as we take a fresh memory area for rseq + */ -+ addr = (void *)sys_mmap(NULL, sizeof(struct rseq), PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); ++ addr = (void *)sys_mmap(NULL, sizeof(struct criu_rseq), PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, ++ 0); + if (addr == MAP_FAILED) { + pr_err("mmap() failed for struct rseq ret = %lx\n", (unsigned long)addr); + return -1; + } + -+ memset(addr, 0, sizeof(struct rseq)); ++ memset(addr, 0, sizeof(struct criu_rseq)); + + /* sys_mmap returns page aligned addresses */ + rseq_abi_pointer = (unsigned long)addr; -+ rseq_abi_size = (unsigned long)sizeof(struct rseq); ++ rseq_abi_size = (unsigned long)sizeof(struct criu_rseq); + /* it's not so important to have unique signature for us, + * because rseq_abi_pointer is guaranteed to be unique + */ @@ -552,7 +546,8 @@ index bc0a33cd4..8441ac635 100644 + ret = -1; + } + } else { -+ ret = sys_rseq((void *)rseq_abi_pointer, sizeof(struct rseq), RSEQ_FLAG_UNREGISTER, rseq_signature); ++ ret = sys_rseq((void *)rseq_abi_pointer, sizeof(struct criu_rseq), RSEQ_FLAG_UNREGISTER, ++ rseq_signature); + if (ret) { + pr_err("\tfailed to unregister sys_rseq(%lx, %lx, %x, %x) = %d\n", rseq_abi_pointer, + rseq_abi_size, RSEQ_FLAG_UNREGISTER, rseq_signature, ret); @@ -566,7 +561,7 @@ index bc0a33cd4..8441ac635 100644 + ret = 0; + } + -+ sys_munmap(addr, sizeof(struct rseq)); ++ sys_munmap(addr, sizeof(struct criu_rseq)); +out_nounmap: + return ret; +} diff --git a/0237-zdtm-add-basic-static-rseq00-test-for-rseq-C-R.patch b/0237-zdtm-add-basic-static-rseq00-test-for-rseq-C-R.patch index cd18d2b..1b4c2ad 100644 --- a/0237-zdtm-add-basic-static-rseq00-test-for-rseq-C-R.patch +++ b/0237-zdtm-add-basic-static-rseq00-test-for-rseq-C-R.patch @@ -1,4 +1,4 @@ -From 2eaa9e9fe9e9cda7b5fd72fc2ebc743a05864883 Mon Sep 17 00:00:00 2001 +From 909f410fde00cf70419915344012a8074f59b3ec Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 23:40:01 +0300 Subject: [PATCH 237/249] zdtm: add basic static/rseq00 test for rseq C/R @@ -6,9 +6,9 @@ Subject: [PATCH 237/249] zdtm: add basic static/rseq00 test for rseq C/R Signed-off-by: Alexander Mikhalitsyn --- test/zdtm/static/Makefile | 1 + - test/zdtm/static/rseq00.c | 177 +++++++++++++++++++++++++++++++++++ + test/zdtm/static/rseq00.c | 180 +++++++++++++++++++++++++++++++++++ test/zdtm/static/rseq00.desc | 1 + - 3 files changed, 179 insertions(+) + 3 files changed, 182 insertions(+) create mode 100644 test/zdtm/static/rseq00.c create mode 100644 test/zdtm/static/rseq00.desc @@ -26,10 +26,10 @@ index 717306dbb..568886d60 100644 vdso02 \ diff --git a/test/zdtm/static/rseq00.c b/test/zdtm/static/rseq00.c new file mode 100644 -index 000000000..95e9f40b4 +index 000000000..b1cffb16e --- /dev/null +++ b/test/zdtm/static/rseq00.c -@@ -0,0 +1,177 @@ +@@ -0,0 +1,180 @@ +/* + * test for rseq() syscall + * See also https://www.efficios.com/blog/2019/02/08/linux-restartable-sequences/ @@ -115,6 +115,8 @@ index 000000000..95e9f40b4 + +#define RSEQ_ACCESS_ONCE(x) (*(__volatile__ __typeof__(x) *)&(x)) + ++#define rseq_after_asm_goto() asm volatile("" : : : "memory") ++ +static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +{ + /* clang-format off */ @@ -152,9 +154,10 @@ index 000000000..95e9f40b4 + : abort + ); + /* clang-format on */ -+ ++ rseq_after_asm_goto(); + return 0; +abort: ++ rseq_after_asm_goto(); + return -1; +} + diff --git a/0238-Revert-ci-disable-glibc-rseq-support.patch b/0238-Revert-ci-disable-glibc-rseq-support.patch index 0d3d264..5742963 100644 --- a/0238-Revert-ci-disable-glibc-rseq-support.patch +++ b/0238-Revert-ci-disable-glibc-rseq-support.patch @@ -1,4 +1,4 @@ -From 872ac9f34454fd256af9aae7f72976e355244da2 Mon Sep 17 00:00:00 2001 +From aff15d704012b630b41b4bf6e871a6cf16ab18ec Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 21 Dec 2021 23:42:26 +0300 Subject: [PATCH 238/249] Revert "ci: disable glibc rseq support" diff --git a/0239-ci-add-Fedora-Rawhide-based-test-on-Cirrus.patch b/0239-ci-add-Fedora-Rawhide-based-test-on-Cirrus.patch index 3edb3be..5049dac 100644 --- a/0239-ci-add-Fedora-Rawhide-based-test-on-Cirrus.patch +++ b/0239-ci-add-Fedora-Rawhide-based-test-on-Cirrus.patch @@ -1,4 +1,4 @@ -From e31ca9daf19eefd14fdddf2709e9e734301630e1 Mon Sep 17 00:00:00 2001 +From e1d607f73e2d0b0618bfb3cd35e0633b0ed49222 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Thu, 23 Dec 2021 14:57:43 +0300 Subject: [PATCH 239/249] ci: add Fedora Rawhide based test on Cirrus diff --git a/0240-include-add-thread_pointer.h-from-Glibc.patch b/0240-include-add-thread_pointer.h-from-Glibc.patch index 3c06959..ac36940 100644 --- a/0240-include-add-thread_pointer.h-from-Glibc.patch +++ b/0240-include-add-thread_pointer.h-from-Glibc.patch @@ -1,4 +1,4 @@ -From d49426d3dce173c61ede04cbd7a3caee8cd24a78 Mon Sep 17 00:00:00 2001 +From deb22c02824133457ba84201a2340625352ddf0f Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 22 Feb 2022 14:58:10 +0300 Subject: [PATCH 240/249] include: add thread_pointer.h from Glibc diff --git a/0241-clone-noasan-unregister-rseq-at-the-thread-start-for.patch b/0241-clone-noasan-unregister-rseq-at-the-thread-start-for.patch index dbf2d7f..6f31a24 100644 --- a/0241-clone-noasan-unregister-rseq-at-the-thread-start-for.patch +++ b/0241-clone-noasan-unregister-rseq-at-the-thread-start-for.patch @@ -1,4 +1,4 @@ -From b26dfea16373b8207f432bbebcfc836b09c05751 Mon Sep 17 00:00:00 2001 +From 8444d7085e64d63d0b08b52947affb6361a865a6 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Fri, 24 Dec 2021 18:57:54 +0300 Subject: [PATCH 241/249] clone-noasan: unregister rseq at the thread start for @@ -113,7 +113,7 @@ index aff773296..6d6e51259 100644 int clone3_with_pid_noasan(int (*fn)(void *), void *arg, int flags, int exit_signal, pid_t pid); diff --git a/criu/include/linux/rseq.h b/criu/include/linux/rseq.h -index 5c1706a59..fafa2c1c0 100644 +index b227aefdf..a47876e66 100644 --- a/criu/include/linux/rseq.h +++ b/criu/include/linux/rseq.h @@ -2,6 +2,14 @@ @@ -121,7 +121,7 @@ index 5c1706a59..fafa2c1c0 100644 #define _UAPI_LINUX_RSEQ_H +#ifdef __has_include -+#if __has_include ("sys/rseq.h") ++#if __has_include("sys/rseq.h") +#include +#include "asm/thread_pointer.h" +#endif @@ -131,13 +131,14 @@ index 5c1706a59..fafa2c1c0 100644 /* * linux/rseq.h * -@@ -140,5 +148,6 @@ struct rseq { - */ - __u32 flags; +@@ -49,6 +57,7 @@ struct rseq_cs { + __u64 post_commit_offset; + __u64 abort_ip; } __attribute__((aligned(4 * sizeof(__u64)))); +#endif /* __GLIBC_HAVE_KERNEL_RSEQ */ - #endif /* _UAPI_LINUX_RSEQ_H */ + /* + * We have to have our own copy of struct rseq definition because -- 2.35.1 diff --git a/0242-zdtm-static-rseq00-fix-rseq-test-when-linking-with-a.patch b/0242-zdtm-static-rseq00-fix-rseq-test-when-linking-with-a.patch index c4ed8f6..323bccd 100644 --- a/0242-zdtm-static-rseq00-fix-rseq-test-when-linking-with-a.patch +++ b/0242-zdtm-static-rseq00-fix-rseq-test-when-linking-with-a.patch @@ -1,4 +1,4 @@ -From 5f311e25837fdf75643cba8b3f47920308a1625a Mon Sep 17 00:00:00 2001 +From 1af69a81c53cd23dda7d82ab434c22fbf4ed8959 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Fri, 24 Dec 2021 22:56:56 +0300 Subject: [PATCH 242/249] zdtm/static/rseq00: fix rseq test when linking with a @@ -13,7 +13,7 @@ Signed-off-by: Alexander Mikhalitsyn 1 file changed, 49 insertions(+), 17 deletions(-) diff --git a/test/zdtm/static/rseq00.c b/test/zdtm/static/rseq00.c -index 95e9f40b4..acf790753 100644 +index b1cffb16e..a50c8a48e 100644 --- a/test/zdtm/static/rseq00.c +++ b/test/zdtm/static/rseq00.c @@ -19,13 +19,48 @@ @@ -117,7 +117,7 @@ index 95e9f40b4..acf790753 100644 if (!(rc && errno == EBUSY)) { fail("Failed to check rseq %d", rc); exit(1); -@@ -111,8 +140,8 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +@@ -113,8 +142,8 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) ".popsection\n\t" : /* gcc asm goto does not allow outputs */ : [cpu_id] "r" (cpu), @@ -128,7 +128,7 @@ index 95e9f40b4..acf790753 100644 /* final store input */ [v] "m" (*v), [count] "er" (count) -@@ -132,6 +161,9 @@ int main(int argc, char *argv[]) +@@ -135,6 +164,9 @@ int main(int argc, char *argv[]) intptr_t *cpu_data; long nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); @@ -138,7 +138,7 @@ index 95e9f40b4..acf790753 100644 test_init(argc, argv); cpu_data = calloc(nr_cpus, sizeof(*cpu_data)); -@@ -147,7 +179,7 @@ int main(int argc, char *argv[]) +@@ -150,7 +182,7 @@ int main(int argc, char *argv[]) check_thread(); diff --git a/0243-compel-add-helpers-to-get-set-instruction-pointer.patch b/0243-compel-add-helpers-to-get-set-instruction-pointer.patch index d1e806a..5832781 100644 --- a/0243-compel-add-helpers-to-get-set-instruction-pointer.patch +++ b/0243-compel-add-helpers-to-get-set-instruction-pointer.patch @@ -1,4 +1,4 @@ -From cbbd1f1491be604b501ab93bc51b51853abdb7a8 Mon Sep 17 00:00:00 2001 +From 508e66a3eb46a9cc57a9ea115a0ca85417a9b015 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 21 Feb 2022 15:15:52 +0300 Subject: [PATCH 243/249] compel: add helpers to get/set instruction pointer diff --git a/0244-cr-dump-fixup-thread-IP-when-inside-rseq-cs.patch b/0244-cr-dump-fixup-thread-IP-when-inside-rseq-cs.patch index 321bc24..6330e03 100644 --- a/0244-cr-dump-fixup-thread-IP-when-inside-rseq-cs.patch +++ b/0244-cr-dump-fixup-thread-IP-when-inside-rseq-cs.patch @@ -1,15 +1,14 @@ -From a8d33aa97d51655272bd141fd4fbd6f683a98318 Mon Sep 17 00:00:00 2001 +From dcb3bec96b15682d296387a36350f694ab043e5e Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 21 Feb 2022 15:25:21 +0300 Subject: [PATCH 244/249] cr-dump: fixup thread IP when inside rseq cs Signed-off-by: Alexander Mikhalitsyn --- - criu/cr-dump.c | 156 +++++++++++++++++++++++++++++++++++++- - criu/include/linux/rseq.h | 2 +- - criu/include/parasite.h | 2 + - criu/include/pstree.h | 1 + - 4 files changed, 156 insertions(+), 5 deletions(-) + criu/cr-dump.c | 156 ++++++++++++++++++++++++++++++++++++++-- + criu/include/parasite.h | 2 + + criu/include/pstree.h | 1 + + 3 files changed, 155 insertions(+), 4 deletions(-) diff --git a/criu/cr-dump.c b/criu/cr-dump.c index eb645a597..1992991a2 100644 @@ -220,19 +219,6 @@ index eb645a597..1992991a2 100644 if (fault_injected(FI_DUMP_EARLY)) { pr_info("fault: CRIU sudden detach\n"); kill(getpid(), SIGKILL); -diff --git a/criu/include/linux/rseq.h b/criu/include/linux/rseq.h -index fafa2c1c0..0c826c7f2 100644 ---- a/criu/include/linux/rseq.h -+++ b/criu/include/linux/rseq.h -@@ -3,7 +3,7 @@ - #define _UAPI_LINUX_RSEQ_H - - #ifdef __has_include --#if __has_include ("sys/rseq.h") -+#if __has_include("sys/rseq.h") - #include - #include "asm/thread_pointer.h" - #endif diff --git a/criu/include/parasite.h b/criu/include/parasite.h index 5fde80996..d2a06889f 100644 --- a/criu/include/parasite.h diff --git a/0245-zdtm-add-transition-rseq01-test-for-amd64.patch b/0245-zdtm-add-transition-rseq01-test-for-amd64.patch index b86acce..b51c1ea 100644 --- a/0245-zdtm-add-transition-rseq01-test-for-amd64.patch +++ b/0245-zdtm-add-transition-rseq01-test-for-amd64.patch @@ -1,4 +1,4 @@ -From 7f91af616406a97761d658550fdfcdb38a5e333d Mon Sep 17 00:00:00 2001 +From c4a4013816b036f9fed123d3b51f5e83cfce3469 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Mon, 21 Feb 2022 15:45:40 +0300 Subject: [PATCH 245/249] zdtm: add transition/rseq01 test for amd64 @@ -6,9 +6,9 @@ Subject: [PATCH 245/249] zdtm: add transition/rseq01 test for amd64 Signed-off-by: Alexander Mikhalitsyn --- test/zdtm/transition/Makefile | 1 + - test/zdtm/transition/rseq01.c | 209 +++++++++++++++++++++++++++++++ + test/zdtm/transition/rseq01.c | 212 +++++++++++++++++++++++++++++++ test/zdtm/transition/rseq01.desc | 1 + - 3 files changed, 211 insertions(+) + 3 files changed, 214 insertions(+) create mode 100644 test/zdtm/transition/rseq01.c create mode 100644 test/zdtm/transition/rseq01.desc @@ -26,10 +26,10 @@ index 9388157e8..fae4e27b3 100644 TST_FILE = \ diff --git a/test/zdtm/transition/rseq01.c b/test/zdtm/transition/rseq01.c new file mode 100644 -index 000000000..a0c3dbc82 +index 000000000..cc8ecfdcd --- /dev/null +++ b/test/zdtm/transition/rseq01.c -@@ -0,0 +1,209 @@ +@@ -0,0 +1,212 @@ +#include +#include +#include @@ -132,6 +132,8 @@ index 000000000..a0c3dbc82 + +#define RSEQ_ACCESS_ONCE(x) (*(__volatile__ __typeof__(x) *)&(x)) + ++#define rseq_after_asm_goto() asm volatile("" : : : "memory") ++ +static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +{ + double a = 10000000000000000.0; @@ -183,9 +185,10 @@ index 000000000..a0c3dbc82 + : abort + ); + /* clang-format on */ -+ ++ rseq_after_asm_goto(); + return 0; +abort: ++ rseq_after_asm_goto(); + return -1; +} + diff --git a/0246-Revert-test-disable-rseq-also-on-Archlinux.patch b/0246-Revert-test-disable-rseq-also-on-Archlinux.patch index 0b3e77f..17269e4 100644 --- a/0246-Revert-test-disable-rseq-also-on-Archlinux.patch +++ b/0246-Revert-test-disable-rseq-also-on-Archlinux.patch @@ -1,4 +1,4 @@ -From b4e121a54c83c172d3b78b1d9002f4367a2c1fb8 Mon Sep 17 00:00:00 2001 +From 49ecd6d864df8cf0951d3c5eeea94d30585c0897 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 22 Feb 2022 15:25:37 +0300 Subject: [PATCH 246/249] Revert "test: disable rseq also on Archlinux" diff --git a/0247-cr-dump-handle-rseq-flags-field.patch b/0247-cr-dump-handle-rseq-flags-field.patch index d837bc8..4569751 100644 --- a/0247-cr-dump-handle-rseq-flags-field.patch +++ b/0247-cr-dump-handle-rseq-flags-field.patch @@ -1,4 +1,4 @@ -From 392f1ecdcbd53f558f101b384831876f4b3969f9 Mon Sep 17 00:00:00 2001 +From e07f53a1d700aa2552ac6fb137f45b9a9bce72db Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 22 Feb 2022 18:22:45 +0300 Subject: [PATCH 247/249] cr-dump: handle rseq flags field @@ -7,15 +7,15 @@ Userspace may configure rseq critical section by def Signed-off-by: Alexander Mikhalitsyn --- - criu/cr-dump.c | 87 +++++++++++++++++++++++++---------------- - criu/cr-restore.c | 57 +++++++++++++++++++++++++++ + criu/cr-dump.c | 86 +++++++++++++++++++++++++---------------- + criu/cr-restore.c | 58 +++++++++++++++++++++++++++ criu/include/rst_info.h | 8 ++++ criu/pstree.c | 36 +++++++++++++++++ images/rseq.proto | 1 + 5 files changed, 155 insertions(+), 34 deletions(-) diff --git a/criu/cr-dump.c b/criu/cr-dump.c -index 1992991a2..5f40f2b5b 100644 +index 1992991a2..c708a6599 100644 --- a/criu/cr-dump.c +++ b/criu/cr-dump.c @@ -1034,13 +1034,13 @@ static int dump_task_signals(pid_t pid, struct pstree_item *item) @@ -24,7 +24,7 @@ index 1992991a2..5f40f2b5b 100644 -static int read_rseq_cs(pid_t tid, struct __ptrace_rseq_configuration *rseq, struct rseq_cs *rseq_cs) +static int read_rseq_cs(pid_t tid, struct __ptrace_rseq_configuration *rseqc, struct rseq_cs *rseq_cs, -+ struct rseq *rseq) ++ struct criu_rseq *rseq) { int ret; - uint64_t addr; @@ -35,13 +35,13 @@ index 1992991a2..5f40f2b5b 100644 return 0; /* -@@ -1055,23 +1055,21 @@ static int read_rseq_cs(pid_t tid, struct __ptrace_rseq_configuration *rseq, str +@@ -1055,23 +1055,20 @@ static int read_rseq_cs(pid_t tid, struct __ptrace_rseq_configuration *rseq, str * then rseq_ip_fixup() -> clear_rseq_cs() and user space memory with struct rseq * will be cleared. So, let's use ptrace(PTRACE_PEEKDATA). */ - ret = ptrace_peek_area(tid, &addr, decode_pointer(rseq->rseq_abi_pointer + offsetof(struct rseq, rseq_cs)), - sizeof(uint64_t)); -+ ret = ptrace_peek_area(tid, rseq, decode_pointer(rseqc->rseq_abi_pointer), sizeof(struct rseq)); ++ ret = ptrace_peek_area(tid, rseq, decode_pointer(rseqc->rseq_abi_pointer), sizeof(struct criu_rseq)); if (ret) { - pr_err("ptrace_peek_area(%d, %lx, %lx, %lx): fail to read rseq_cs addr\n", tid, (unsigned long)&addr, - (unsigned long)(rseq->rseq_abi_pointer + offsetof(struct rseq, rseq_cs)), @@ -53,20 +53,19 @@ index 1992991a2..5f40f2b5b 100644 - /* (struct rseq)->rseq_cs is NULL */ - if (!addr) -+ if (!rseq->rseq_cs.ptr64) ++ if (!rseq->rseq_cs) return 0; - ret = ptrace_peek_area(tid, rseq_cs, decode_pointer(addr), sizeof(struct rseq_cs)); -+ ret = ptrace_peek_area(tid, rseq_cs, decode_pointer(rseq->rseq_cs.ptr64), sizeof(struct rseq_cs)); ++ ret = ptrace_peek_area(tid, rseq_cs, decode_pointer(rseq->rseq_cs), sizeof(struct rseq_cs)); if (ret) { pr_err("ptrace_peek_area(%d, %lx, %lx, %lx): fail to read rseq_cs struct\n", tid, - (unsigned long)rseq_cs, (unsigned long)addr, (unsigned long)sizeof(struct rseq_cs)); -+ (unsigned long)rseq_cs, (unsigned long)rseq->rseq_cs.ptr64, -+ (unsigned long)sizeof(struct rseq_cs)); ++ (unsigned long)rseq_cs, (unsigned long)rseq->rseq_cs, (unsigned long)sizeof(struct rseq_cs)); return -1; } -@@ -1080,11 +1078,12 @@ static int read_rseq_cs(pid_t tid, struct __ptrace_rseq_configuration *rseq, str +@@ -1080,11 +1077,12 @@ static int read_rseq_cs(pid_t tid, struct __ptrace_rseq_configuration *rseq, str static int dump_thread_rseq(struct pstree_item *item, int i) { @@ -76,11 +75,11 @@ index 1992991a2..5f40f2b5b 100644 int ret; CoreEntry *core = item->core[i]; RseqEntry **rseqep = &core->thread_core->rseq_entry; -+ struct rseq rseq; ++ struct criu_rseq rseq = {}; struct rseq_cs *rseq_cs = &dmpi(item)->thread_rseq_cs[i]; pid_t tid = item->threads[i].real; -@@ -1099,20 +1098,20 @@ static int dump_thread_rseq(struct pstree_item *item, int i) +@@ -1099,20 +1097,20 @@ static int dump_thread_rseq(struct pstree_item *item, int i) if (!kdat.has_ptrace_get_rseq_conf) return 0; @@ -107,7 +106,7 @@ index 1992991a2..5f40f2b5b 100644 rseqe = xmalloc(sizeof(*rseqe)); if (!rseqe) -@@ -1120,13 +1119,22 @@ static int dump_thread_rseq(struct pstree_item *item, int i) +@@ -1120,13 +1118,22 @@ static int dump_thread_rseq(struct pstree_item *item, int i) rseq_entry__init(rseqe); @@ -123,7 +122,7 @@ index 1992991a2..5f40f2b5b 100644 goto err; + rseqe->has_rseq_cs_pointer = true; -+ rseqe->rseq_cs_pointer = rseq.rseq_cs.ptr64; ++ rseqe->rseq_cs_pointer = rseq.rseq_cs; + + /* we won't save rseq_cs to the image (only pointer), + * so let's combine flags from both struct rseq and struct rseq_cs @@ -134,7 +133,7 @@ index 1992991a2..5f40f2b5b 100644 /* save rseq entry to the image */ *rseqep = rseqe; -@@ -1176,11 +1184,12 @@ static int fixup_thread_rseq(struct pstree_item *item, int i) +@@ -1176,11 +1183,12 @@ static int fixup_thread_rseq(struct pstree_item *item, int i) struct rseq_cs *rseq_cs = &dmpi(item)->thread_rseq_cs[i]; pid_t tid = item->threads[i].real; @@ -149,7 +148,7 @@ index 1992991a2..5f40f2b5b 100644 tid, rseq_cs->start_ip, rseq_cs->abort_ip, rseq_cs->post_commit_offset, rseq_cs->flags, rseq_cs->version, (unsigned long)TI_IP(core)); -@@ -1192,25 +1201,35 @@ static int fixup_thread_rseq(struct pstree_item *item, int i) +@@ -1192,25 +1200,35 @@ static int fixup_thread_rseq(struct pstree_item *item, int i) if (task_in_rseq(rseq_cs, TI_IP(core))) { struct pid *tid = &item->threads[i]; @@ -195,7 +194,7 @@ index 1992991a2..5f40f2b5b 100644 } diff --git a/criu/cr-restore.c b/criu/cr-restore.c -index b2ddc8db0..77b0a8c0f 100644 +index b2ddc8db0..e3770f853 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -23,6 +23,7 @@ @@ -225,7 +224,7 @@ index b2ddc8db0..77b0a8c0f 100644 return 0; err: xfree(cores); -@@ -1966,6 +1979,47 @@ static int attach_to_tasks(bool root_seized) +@@ -1966,6 +1979,48 @@ static int attach_to_tasks(bool root_seized) return 0; } @@ -258,9 +257,10 @@ index b2ddc8db0..77b0a8c0f 100644 + if (!rseqe[i].rseq_cs_pointer || !rseqe[i].rseq_abi_pointer) + continue; + -+ if (ptrace_poke_area(pid, &rseqe[i].rseq_cs_pointer, -+ decode_pointer(rseqe[i].rseq_abi_pointer + offsetof(struct rseq, rseq_cs)), -+ sizeof(uint64_t))) { ++ if (ptrace_poke_area( ++ pid, &rseqe[i].rseq_cs_pointer, ++ decode_pointer(rseqe[i].rseq_abi_pointer + offsetof(struct criu_rseq, rseq_cs)), ++ sizeof(uint64_t))) { + pr_err("Can't restore rseq_cs pointer (pid: %d)\n", pid); + return -1; + } @@ -273,7 +273,7 @@ index b2ddc8db0..77b0a8c0f 100644 static int catch_tasks(bool root_seized, enum trace_flags *flag) { struct pstree_item *item; -@@ -2400,6 +2454,9 @@ skip_ns_bouncing: +@@ -2400,6 +2455,9 @@ skip_ns_bouncing: if (restore_freezer_state()) pr_err("Unable to restore freezer state\n"); diff --git a/0248-zdtm-add-rseq02-transition-test-with-NO_RESTART-CS-f.patch b/0248-zdtm-add-rseq02-transition-test-with-NO_RESTART-CS-f.patch index 0988931..37e3d61 100644 --- a/0248-zdtm-add-rseq02-transition-test-with-NO_RESTART-CS-f.patch +++ b/0248-zdtm-add-rseq02-transition-test-with-NO_RESTART-CS-f.patch @@ -1,4 +1,4 @@ -From ab6d09a8c0303a036b0964c7263075e74b02ce48 Mon Sep 17 00:00:00 2001 +From 354fcbb88018261832360d3d07290c2913021328 Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Wed, 23 Feb 2022 23:20:29 +0300 Subject: [PATCH 248/249] zdtm: add rseq02 transition test with NO_RESTART CS @@ -35,7 +35,7 @@ index fae4e27b3..378a4fc75 100644 %: %.sh cp $< $@ diff --git a/test/zdtm/transition/rseq01.c b/test/zdtm/transition/rseq01.c -index a0c3dbc82..26b8fe335 100644 +index cc8ecfdcd..1356cb5ed 100644 --- a/test/zdtm/transition/rseq01.c +++ b/test/zdtm/transition/rseq01.c @@ -53,6 +53,18 @@ enum rseq_flags { @@ -57,7 +57,7 @@ index a0c3dbc82..26b8fe335 100644 struct rseq { uint32_t cpu_id_start; uint32_t cpu_id; -@@ -104,6 +116,7 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +@@ -106,6 +118,7 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) { double a = 10000000000000000.0; double b = -1; @@ -65,7 +65,7 @@ index a0c3dbc82..26b8fe335 100644 /* clang-format off */ __asm__ __volatile__ goto( -@@ -128,6 +141,9 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +@@ -130,6 +143,9 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) "dec %%rcx\n\t" "jnz 5b\n\t" "fstpl %[y]\n\t" @@ -75,7 +75,7 @@ index a0c3dbc82..26b8fe335 100644 "2:\n\t" ".pushsection __rseq_failure, \"ax\"\n\t" /* Disassembler-friendly signature: nopl (%rip). */ -@@ -142,6 +158,8 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +@@ -144,6 +160,8 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) : [cpu_id] "r" (cpu), [current_cpu_id] "m" (rseq_ptr->cpu_id), [rseq_cs] "m" (rseq_ptr->rseq_cs), @@ -84,10 +84,10 @@ index a0c3dbc82..26b8fe335 100644 /* final store input */ [v] "m" (*v), [count] "er" (count), -@@ -152,8 +170,21 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) +@@ -154,9 +172,22 @@ static int rseq_addv(intptr_t *v, intptr_t count, int cpu) ); /* clang-format on */ - + rseq_after_asm_goto(); + test_msg("exit %lx %lx %f %f\n", rseq_cs1, rseq_cs2, a, b); + if (rseq_cs1 != rseq_cs2) { + /* @@ -102,11 +102,12 @@ index a0c3dbc82..26b8fe335 100644 + return 0; abort: + rseq_after_asm_goto(); + test_msg("abort %lx %lx %f %f\n", rseq_cs1, rseq_cs2, a, b); return -1; } -@@ -175,21 +206,45 @@ int main(int argc, char *argv[]) +@@ -178,21 +209,45 @@ int main(int argc, char *argv[]) fail("calloc"); exit(EXIT_FAILURE); } diff --git a/0249-zdtm-temporary-disable-rseq02-test.patch b/0249-zdtm-temporary-disable-rseq02-test.patch index f07a174..a66f6bb 100644 --- a/0249-zdtm-temporary-disable-rseq02-test.patch +++ b/0249-zdtm-temporary-disable-rseq02-test.patch @@ -1,4 +1,4 @@ -From 149d70490d27bfa302ed977b40f55df4aecd36ea Mon Sep 17 00:00:00 2001 +From dd656e5565b9bb77b5a66d80302301f9dfebfa8a Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 5 Apr 2022 12:27:07 +0300 Subject: [PATCH 249/249] zdtm: temporary disable rseq02 test diff --git a/criu.spec b/criu.spec index c1e1167..8f8eb15 100644 --- a/criu.spec +++ b/criu.spec @@ -17,7 +17,7 @@ Name: criu Version: 3.16.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Tool for Checkpoint/Restore in User-space License: GPLv2 URL: http://criu.org/ @@ -709,6 +709,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libcriu.a %doc %{_mandir}/man1/criu-ns.1* %changelog +* Tue Apr 5 2022 Radostin Stoyanov - 3.16.1-12 +- Update rseq patches + * Tue Apr 5 2022 Radostin Stoyanov - 3.16.1-11 - Update rseq patches