Update rseq patches

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2022-04-05 15:09:23 +01:00
parent 84bca7d01e
commit 9b634ab2ed
No known key found for this signature in database
GPG Key ID: 21C246FD7C1157A7
254 changed files with 1783 additions and 1025 deletions

View File

@ -1,7 +1,7 @@
From 8017afbbd530d11b54e8e54ac1bc6a47f9c20ba7 Mon Sep 17 00:00:00 2001
From 0bb7f1fc1ced67396866a913d39bc61a3bedbed5 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Mon, 20 Sep 2021 13:50:08 +0100
Subject: [PATCH 001/245] criu(8): add --external net option
Subject: [PATCH 001/249] criu(8): add --external net option
Support for external net namespaces has been introduced with
commit c2b21fbf (criu: add support for external net namespaces).

View File

@ -1,41 +0,0 @@
From 9036f17569638f038edfb6c30454e2fbe3707d69 Mon Sep 17 00:00:00 2001
From: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Date: Tue, 27 Apr 2021 19:08:57 -0400
Subject: [PATCH 002/245] criu/files: Don't cache fd ids for device files
Restore operation fails when we perform CR operation of multiple
independent proceses that have device files because criu caches
the ids for the device files with same mnt_ids, inode pair. This
change ensures that even in case of a cached id found for a device, a
unique subid is generated and returned which is used for dumping.
Suggested-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
---
criu/file-ids.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/criu/file-ids.c b/criu/file-ids.c
index 1b9d68888..772bd92cf 100644
--- a/criu/file-ids.c
+++ b/criu/file-ids.c
@@ -77,8 +77,14 @@ int fd_id_generate_special(struct fd_parms *p, u32 *id)
fi = fd_id_cache_lookup(p);
if (fi) {
- *id = fi->id;
- return 0;
+ if (p->stat.st_mode & (S_IFCHR | S_IFBLK)) {
+ /* Don't cache the id for mapped devices */
+ *id = fd_tree.subid++;
+ return 1;
+ } else {
+ *id = fi->id;
+ return 0;
+ }
}
}
--
2.35.1

View File

@ -1,7 +1,7 @@
From da9608458d9130e906387f9da8432998e5a503cd Mon Sep 17 00:00:00 2001
From 135c3df15c4b4d968b00ced7cd88133bbdb8962a Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Thu, 12 Aug 2021 11:05:09 +0000
Subject: [PATCH 003/245] tcp: Skip restoring TCP state when dumping with
Subject: [PATCH 002/249] tcp: Skip restoring TCP state when dumping with
--tcp-close
Since commit e42f5e0 ("tcp: allow to specify --tcp-close on dump"),

View File

@ -1,7 +1,7 @@
From 67b6cb52a89947ee3c09f9617b0f303725bfbd8c Mon Sep 17 00:00:00 2001
From acaf5a96370541678c33a91489df069c55084aff Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Mon, 20 Sep 2021 20:57:03 +0700
Subject: [PATCH 004/245] zdtm: Dumping/restoring with --tcp-close on TCP_CLOSE
Subject: [PATCH 003/249] zdtm: Dumping/restoring with --tcp-close on TCP_CLOSE
socket
Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>

View File

@ -1,7 +1,7 @@
From 910f52c00474036412561fb45fc89d2e04e860d0 Mon Sep 17 00:00:00 2001
From 58c3e33e8227bdf2105dcca18a57a7a8bf3ddd1a Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Mon, 4 Oct 2021 20:38:34 +0700
Subject: [PATCH 005/245] criu(8): Add more detailed description about
Subject: [PATCH 004/249] criu(8): Add more detailed description about
--tcp-close dump option
The expected behavior of --tcp-close option when dumpping is to close

View File

@ -1,7 +1,7 @@
From 0246feb3ca20256ca3be8e94ebf8b30f75a26e3e Mon Sep 17 00:00:00 2001
From e37aed0ca94e88f503499ddd828241d5b16122e7 Mon Sep 17 00:00:00 2001
From: Andrey Vyazovtsev <viazovtsev.av@phystech.edu>
Date: Thu, 26 Aug 2021 22:22:33 +0300
Subject: [PATCH 006/245] Add support for python3 in criu-coredump
Subject: [PATCH 005/249] Add support for python3 in criu-coredump
Resolve the following python3 portability issues:

View File

@ -1,7 +1,7 @@
From fe7504f824e0e59f182b3e2eaffa4514c7bdbae1 Mon Sep 17 00:00:00 2001
From 3a7deb046e713421ee302aac9f726aefeecf60a4 Mon Sep 17 00:00:00 2001
From: AndreyVV-100 <viazovtsev.av@phystech.edu>
Date: Fri, 23 Jul 2021 12:48:03 +0300
Subject: [PATCH 007/245] Add new files for running criu-coredump via python 2
Subject: [PATCH 006/249] Add new files for running criu-coredump via python 2
or 3
Previous commit added support for python3 in criu-coredump. For convenience,

View File

@ -1,7 +1,7 @@
From db8634929bdb48268f3744aa2acb19fafec00be3 Mon Sep 17 00:00:00 2001
From 08984ba43fee2b7a872a067cfa7ed9e86059ca9d Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:31:12 +0100
Subject: [PATCH 008/245] coredump: remove unused import
Subject: [PATCH 007/249] coredump: remove unused import
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From df099bc26bf56bca463ec5e914516b17a4426ae9 Mon Sep 17 00:00:00 2001
From 93c8beedcee85b7333a4b9137dad606bec5f3f66 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:32:17 +0100
Subject: [PATCH 009/245] coredump: sort imports
Subject: [PATCH 008/249] coredump: sort imports
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 5ddabab892cf628be052d29d395adc9b597345df Mon Sep 17 00:00:00 2001
From e945c416d6ddba23642defa66c047102c545526b Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:34:00 +0100
Subject: [PATCH 010/245] coredump: convert indentation to spaces
Subject: [PATCH 009/249] coredump: convert indentation to spaces
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From e111b6e6dd9979ae575b97b14080e93643add683 Mon Sep 17 00:00:00 2001
From 162e2c214bb7480f583c202cf2145c65027e4400 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:36:10 +0100
Subject: [PATCH 011/245] python: replace equality with identity test
Subject: [PATCH 010/249] python: replace equality with identity test
PEP8 recommends for comparisons to singletons like None to always be
done with 'is' or 'is not', never the equality operators.

View File

@ -1,7 +1,7 @@
From cf5c2292a240fc36e424fad914e1839d05da5e01 Mon Sep 17 00:00:00 2001
From f9f591b867abc61b414b4bee84ac683860c89ae6 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:38:06 +0100
Subject: [PATCH 012/245] coredump: drop unused variable
Subject: [PATCH 011/249] coredump: drop unused variable
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 0f3b2a370d1180e339575d6b86ef46f0bf93edb4 Mon Sep 17 00:00:00 2001
From dc6d38708b54aafad660c01112a4ea0f301c5c07 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:42:46 +0100
Subject: [PATCH 013/245] coredump: drop exec permission
Subject: [PATCH 012/249] coredump: drop exec permission
The shebang line in this file was removed in a previous commit and the
file should be non-executable.

View File

@ -1,7 +1,7 @@
From b593b4cc141c9e7ac104530755d071274f38f1b1 Mon Sep 17 00:00:00 2001
From ccb2c41bbabaeaa0cec6d31bb0a862a8724568f0 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 21:53:06 +0100
Subject: [PATCH 014/245] coredump: lint fix for block comments
Subject: [PATCH 013/249] coredump: lint fix for block comments
Block comment should start with '# '
https://www.flake8rules.com/rules/E265.html

View File

@ -1,7 +1,7 @@
From 1074ea5b55fadc6b189a81c792e1c30bfaa86d8b Mon Sep 17 00:00:00 2001
From dca95ec84857a23e142bbed9016da09c50868014 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 22:37:26 +0100
Subject: [PATCH 015/245] coredump: fix missing whitespace around operator
Subject: [PATCH 014/249] coredump: fix missing whitespace around operator
Missing whitespace around arithmetic operator
https://www.flake8rules.com/rules/E226.html

View File

@ -1,7 +1,7 @@
From b2903a63004600399d5982ce0b36f203702001d7 Mon Sep 17 00:00:00 2001
From 3495005412dcfe1a897bc52d24a299b098a6eac1 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 22:39:50 +0100
Subject: [PATCH 016/245] coredump: fix too many blank lines
Subject: [PATCH 015/249] coredump: fix too many blank lines
https://www.flake8rules.com/rules/E303.html

View File

@ -1,7 +1,7 @@
From b37e0a33b23dbe789f178aca614458637598c506 Mon Sep 17 00:00:00 2001
From da13809e3122ffde0c3657facb978ba7b54bf3a5 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 22:42:19 +0100
Subject: [PATCH 017/245] coredump: fix comparison to true
Subject: [PATCH 016/249] coredump: fix comparison to true
Comparison to true should be 'if cond is true:' or 'if cond:'
https://www.flake8rules.com/rules/E712.html

View File

@ -1,7 +1,7 @@
From e0d45309559dc198619ad8f62d699f601f04dbca Mon Sep 17 00:00:00 2001
From c9c55b3b33dc7e4295e68e816001216b7568c19e Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 22:47:59 +0100
Subject: [PATCH 018/245] coredump: lint fix visually indented line
Subject: [PATCH 017/249] coredump: lint fix visually indented line
Continuation line over-indented for visual indent
https://www.flake8rules.com/rules/E127.html

View File

@ -1,7 +1,7 @@
From 599d77b4650a7ce14370ac69fbc825a71e540da4 Mon Sep 17 00:00:00 2001
From 23644721afc34abb4a2d08c7dd7f83d5780a61ba Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Mon, 6 Sep 2021 00:20:58 +0100
Subject: [PATCH 019/245] test/coredump: fix shellcheck errors
Subject: [PATCH 018/249] test/coredump: fix shellcheck errors
ShellCheck reports the following problems:

View File

@ -1,7 +1,7 @@
From 5dc9cc7abb2ba750dc09af0c9983723ac6c03c8d Mon Sep 17 00:00:00 2001
From 7bf49f15f48be6ae0cc6adddc17322f7d2e94e3b Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 22:55:24 +0100
Subject: [PATCH 020/245] make: enable lint for coredump
Subject: [PATCH 019/249] make: enable lint for coredump
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 37301a8a6ef9ecb1efe3f8086cd1ca6bd7fe4b70 Mon Sep 17 00:00:00 2001
From 50311543e8d3567ebd15085cdb4ea3b149d1e90c Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sun, 5 Sep 2021 23:06:56 +0100
Subject: [PATCH 021/245] ci: enable coredump tests
Subject: [PATCH 020/249] ci: enable coredump tests
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 817bbf40251e54cc1441250a16e192f7f18a80b6 Mon Sep 17 00:00:00 2001
From a8956a7579f094de1401b6486501d6d553754b81 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 21 Oct 2021 11:47:01 +0300
Subject: [PATCH 022/245] pie/restorer: remove excess hash printf specifier
Subject: [PATCH 021/249] pie/restorer: remove excess hash printf specifier
We use here "%#x" printf specifier in pie code, but sbuf_printf core pie
printing function knows nothing about '#' specifier. More over simple

View File

@ -1,7 +1,7 @@
From 47be9b1891006453ad9ae87960677300822be8b0 Mon Sep 17 00:00:00 2001
From add9597c6c6ed74c643e0784c171eb0ca8deab53 Mon Sep 17 00:00:00 2001
From: "fu.lin" <fulin10@huawei.com>
Date: Fri, 17 Sep 2021 17:16:48 +0800
Subject: [PATCH 023/245] tty: fix the null pointer of get_tty_driver
Subject: [PATCH 022/249] tty: fix the null pointer of get_tty_driver
v2: split error checking from index variable initialization
v3: use PRIx64 for printing dev_t

View File

@ -1,7 +1,7 @@
From 10fa87c08c22d7d7ddca1fbd1c2704f96c079639 Mon Sep 17 00:00:00 2001
From 889fde47e57226278767be69768b733eeb84f15c Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 22 Oct 2021 17:56:37 +0300
Subject: [PATCH 024/245] util: use nftw in rmrf helper
Subject: [PATCH 023/249] util: use nftw in rmrf helper
This simplifies the code by removing excess recursion and reusing
standard function to walk over file-tree instead of opencoding it.

View File

@ -1,7 +1,7 @@
From 08baf25effeb30d59f98e2eae07acee71ce22b1c Mon Sep 17 00:00:00 2001
From 06a4400fc7b96e7abbeda7f79ee52daa61fe0223 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Mon, 18 Oct 2021 18:43:14 +0300
Subject: [PATCH 025/245] criu-ns: make pidns init first do setsid
Subject: [PATCH 024/249] criu-ns: make pidns init first do setsid
We see that on criu-ns dump/restore/dump of the process which initially
was not a session leader (with --shell-job option) we see sid == 0 for

View File

@ -1,7 +1,7 @@
From 87d8857fa7fdaed252f52782eb4f65b4ab990536 Mon Sep 17 00:00:00 2001
From 2cdae896f304afae1d2b96dd00f2a599266765be Mon Sep 17 00:00:00 2001
From: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Date: Thu, 28 Oct 2021 21:05:57 +0000
Subject: [PATCH 026/245] net: optimize restore_rule() to not open the
Subject: [PATCH 025/249] net: optimize restore_rule() to not open the
CR_FD_RULE image file twice
Previously, `open_image(CR_FD_RULE, O_RSTR, pid)` was called twice.

View File

@ -1,7 +1,7 @@
From dfa69352b7115aa65a735a43b5d5cdd95511eed6 Mon Sep 17 00:00:00 2001
From 175fb94e620f9e33358e92bec0262e0586ec554a Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Wed, 27 Oct 2021 07:27:22 +0000
Subject: [PATCH 027/245] ci: replace deprecated codecov bash uploader
Subject: [PATCH 026/249] ci: replace deprecated codecov bash uploader
Replace deprecated codecov bash uploader with new version:

View File

@ -1,7 +1,7 @@
From 5c4c99dc3d477408e5bd249e03254ca4a3bafb87 Mon Sep 17 00:00:00 2001
From a78590464010d9de5c794b4fc12aea8c5a0b46a1 Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Thu, 4 Nov 2021 09:10:38 +0000
Subject: [PATCH 028/245] ci: fix userfaultfd test failures
Subject: [PATCH 027/249] ci: fix userfaultfd test failures
Newer kernels (5.11) require echo 1 > /proc/sys/vm/unprivileged_userfaultfd

View File

@ -1,7 +1,7 @@
From 3bc19101b9458cb920b79492063be1b71312f0a5 Mon Sep 17 00:00:00 2001
From 20c65ae87263315214c48a636dc20b4dbac03215 Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Thu, 4 Nov 2021 09:18:31 +0000
Subject: [PATCH 029/245] ci: use Fedora 34 for lint CI runs
Subject: [PATCH 028/249] ci: use Fedora 34 for lint CI runs
Fedora 35 comes with clang 13 which provides different results for
clang-format than clang 12 in Fedora 34.

View File

@ -1,7 +1,7 @@
From 3b1a22da26051f157aaf3272bb4bb78a545920c2 Mon Sep 17 00:00:00 2001
From ef7f435bccd1a60230a66271723590656e0917b1 Mon Sep 17 00:00:00 2001
From: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Date: Fri, 29 Oct 2021 02:49:31 +0000
Subject: [PATCH 030/245] tests: improve the image streamer process control
Subject: [PATCH 029/249] tests: improve the image streamer process control
When exceptions are raised during testing, the image streamer process
should be terminated as opposed to being left hanging.

View File

@ -1,7 +1,7 @@
From 654c2ee79dae4429287d5ea458952759a7a4632e Mon Sep 17 00:00:00 2001
From 04464397f1d2bf43265ed70bba029bfa57d20092 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 29 Jul 2021 14:21:37 +0300
Subject: [PATCH 031/245] sockets: don't call sk_setbufs asyncronously
Subject: [PATCH 030/249] sockets: don't call sk_setbufs asyncronously
We want to also c/r socket buf locks (SO_BUF_LOCKS) which are also
implicitly set by setsockopt(SO_{SND,RCV}BUF*), so we need to order

View File

@ -1,7 +1,7 @@
From c030e495ed3b5e59acd8c7bdcad8baea1697b909 Mon Sep 17 00:00:00 2001
From 5dc443bcd848877677b858e1aa21e0c929f19541 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 29 Jul 2021 14:57:17 +0300
Subject: [PATCH 032/245] kerndat: check for set/getsockopt SO_BUF_LOCK
Subject: [PATCH 031/249] kerndat: check for set/getsockopt SO_BUF_LOCK
availability
This is a new kernel feature to let criu restore sockets with kernel

View File

@ -1,7 +1,7 @@
From 5aea67fc45f4cf986f396c4f99e5317b9ba08ef6 Mon Sep 17 00:00:00 2001
From ab926314464645eda33d6ccb505e673d9db01296 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 29 Jul 2021 11:27:13 +0300
Subject: [PATCH 033/245] sockets: c/r bufer size locks
Subject: [PATCH 032/249] sockets: c/r bufer size locks
When one sets socket buffer sizes with setsockopt(SO_{SND,RCV}BUF*),
kernel sets coresponding SOCK_SNDBUF_LOCK or SOCK_RCVBUF_LOCK flags on

View File

@ -1,7 +1,7 @@
From 16ba0ca25d5e3ee030c4a78fbacd1ad9e1a8a6e0 Mon Sep 17 00:00:00 2001
From b9ef6d19297e0cea7d697513ee685ae13014cdec Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 29 Jul 2021 16:16:12 +0300
Subject: [PATCH 034/245] zdtm: add test for socket buffer size locks
Subject: [PATCH 033/249] zdtm: add test for socket buffer size locks
Just set all possible values 0-3 and chack if it persists.

View File

@ -1,7 +1,7 @@
From 7168eac9043df54efba6a892ae4e1578ebb9c5c8 Mon Sep 17 00:00:00 2001
From e6d511315f175d80bb6b1adb9bfc68debb46ffc3 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Tue, 3 Aug 2021 13:05:32 +0300
Subject: [PATCH 035/245] zdtm: make sock_opts02 also check lock change by
Subject: [PATCH 034/249] zdtm: make sock_opts02 also check lock change by
SO_*BUF*
Reviewed-by: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>

View File

@ -1,7 +1,7 @@
From 0b5a590b0522207411d0439f958b1a8fcfbd4cba Mon Sep 17 00:00:00 2001
From 8ea9c9fc7360f9c5250632d0818f68af0de73992 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 28 Oct 2021 17:15:52 +0300
Subject: [PATCH 036/245] clang-format: enable AlignTrailingComments
Subject: [PATCH 035/249] clang-format: enable AlignTrailingComments
Code becomes much more human-readable after enabling it.

View File

@ -1,7 +1,7 @@
From ffa271086ac15e18203d64611afff81b4c9d2ab3 Mon Sep 17 00:00:00 2001
From 54b25b72065f17594216642bcf8a3267a0a0a489 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 28 Oct 2021 17:17:44 +0300
Subject: [PATCH 037/245] clang-format: do several manual comment fixups
Subject: [PATCH 036/249] clang-format: do several manual comment fixups
Automatic AlignTrailingComments fails to make those comments look right,
so let's do it manually, so that they both satisfy AlignTrailingComments

View File

@ -1,7 +1,7 @@
From 913b7e1987c76e61c8fa2eda8e37fbf4cac4855e Mon Sep 17 00:00:00 2001
From 901042439368aef3513407abcf2f91780fb609a4 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 28 Oct 2021 18:10:14 +0300
Subject: [PATCH 038/245] clang-format: do automatic comment fixups
Subject: [PATCH 037/249] clang-format: do automatic comment fixups
Result of `make indent` after enabling AlignTrailingComments.

View File

@ -1,7 +1,7 @@
From c26f1f39b4371605ebf0ae5c5dacbdb2ad142ccd Mon Sep 17 00:00:00 2001
From 906549c2de213e25ef6795025604a59609033f9d Mon Sep 17 00:00:00 2001
From: Liu Hua <weldonliu@tencent.com>
Date: Mon, 1 Nov 2021 20:50:58 +0800
Subject: [PATCH 039/245] cr-dump: fail dumping when zombie process with sid 0
Subject: [PATCH 038/249] cr-dump: fail dumping when zombie process with sid 0
A zombie process with 0 sid has a session leader in
outer pidns and has ignored SIGHUP. Criu has no idea

View File

@ -1,7 +1,7 @@
From baed4b2d5783c9670a29292a228b4b491a20f2f2 Mon Sep 17 00:00:00 2001
From e15962cc0cf487a85c4c30a2df0c4fd6dabe66de Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 29 Oct 2021 10:35:28 +0300
Subject: [PATCH 040/245] clang-format: make x86_ins_capability_mask
Subject: [PATCH 039/249] clang-format: make x86_ins_capability_mask
human-readable
There is no option in clang not to merge as much binary operands as it

View File

@ -1,7 +1,7 @@
From 223d0ca7aa2de6cbde1ffe6b3f453352e2eb7c8c Mon Sep 17 00:00:00 2001
From feb6788016c7de1998d00f54887f00b04fa47830 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 19 Nov 2021 10:08:37 +0300
Subject: [PATCH 041/245] ci: disable socket-raw test on centos8
Subject: [PATCH 040/249] ci: disable socket-raw test on centos8
We see error in centos8 ci on restore of socket-raw test:

View File

@ -1,7 +1,7 @@
From 4210c29859bd25ded46a83e586ae956d98c79971 Mon Sep 17 00:00:00 2001
From e41b2b10e637920665cf590bc170407d414ecf32 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Wed, 3 Nov 2021 18:34:11 +0300
Subject: [PATCH 042/245] zdtm.py: make tests with --link_remap exclusive
Subject: [PATCH 041/249] zdtm.py: make tests with --link_remap exclusive
We see that tests mntns_ghost01 and unlink_fstat03 can run
simultaneousely and thus the former sees leftover link_remap.* files in

View File

@ -1,7 +1,7 @@
From 6e835673838d54caca7fd039598ef3c4afecfbc6 Mon Sep 17 00:00:00 2001
From 038d59609716bac5b343dd03e4361ded84d48519 Mon Sep 17 00:00:00 2001
From: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Date: Fri, 29 Oct 2021 03:01:14 +0000
Subject: [PATCH 043/245] tests: improve the deterministic behavior of the test
Subject: [PATCH 042/249] tests: improve the deterministic behavior of the test
suite
Various I/O objects are unclosed when the object falls out of scope.

View File

@ -1,7 +1,7 @@
From ecbcbce3f0e2fb6af3d33700352eb626edb63783 Mon Sep 17 00:00:00 2001
From 25c642cb7840033673f36a270074d7a47b0bbd76 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Tue, 23 Nov 2021 15:06:03 +0300
Subject: [PATCH 044/245] clang-format/zdtm: fix clang complains about strange
Subject: [PATCH 043/249] clang-format/zdtm: fix clang complains about strange
elseifs
Clang-format v13 on my Fedora 35 complains about these hunks, more over

View File

@ -1,7 +1,7 @@
From b7b727c7a97083f17ee12a5690c60e44b4abb52c Mon Sep 17 00:00:00 2001
From f1115a8e679c56269e363a609e1b86bc3052963a Mon Sep 17 00:00:00 2001
From: Liu Hua <weldonliu@tencent.com>
Date: Fri, 5 Nov 2021 17:08:51 +0800
Subject: [PATCH 045/245] seize: restore cgroup freezer to right state
Subject: [PATCH 044/249] seize: restore cgroup freezer to right state
The new freezer_state is a complete equivalent of old freezer_thawed
except for the initial value. If old freezer_thawed was not initialized

View File

@ -1,7 +1,7 @@
From 985c6c5f10872bade13f7085bd0eaeaef1ea648a Mon Sep 17 00:00:00 2001
From ba0ead357350d413d84fde5d2a35e445aa1aa964 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Wed, 24 Nov 2021 11:37:58 +0300
Subject: [PATCH 046/245] ci: Use latest Fedora for lint ci runs again
Subject: [PATCH 045/249] ci: Use latest Fedora for lint ci runs again
Now when we fixed clang-format complains in zdtm, let's switch to lates
clang-format available. This is effectively a revert of commit 07a2f0265

View File

@ -1,7 +1,7 @@
From 9c9eb25ff627f6a7ec272269983041b0594c2779 Mon Sep 17 00:00:00 2001
From 49e0e77e5ca95fbdc0cd419982c0ef07772db04e Mon Sep 17 00:00:00 2001
From: Liu Hua <weldonliu@tencent.com>
Date: Thu, 4 Nov 2021 10:04:22 +0800
Subject: [PATCH 047/245] crtools: ignore SIGPIPE in swrk mode
Subject: [PATCH 046/249] crtools: ignore SIGPIPE in swrk mode
Criu ignores SIGPIPE in most cases except swrk mode. And in the
following situtation criu get killed by SIGPIPE and have no chance

View File

@ -1,7 +1,7 @@
From c80d6aab7f205be069e2b46dbd8abc3ca910d336 Mon Sep 17 00:00:00 2001
From 17e98a26b7d6b71613b8231d53ef33b61292c143 Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Wed, 24 Nov 2021 16:13:01 +0000
Subject: [PATCH 048/245] ci: switch to centos-stream-8
Subject: [PATCH 047/249] ci: switch to centos-stream-8
CentOS 8 goes EOL at the end of 2021. This switches our CentOS 8 based
tests to CentOS Stream 8 which should be supported until 2024.

View File

@ -1,7 +1,7 @@
From 75efde9dfaace269db69465e838aab58124a66b6 Mon Sep 17 00:00:00 2001
From aa6fb0bacd5cd9599a6e83b9c19cc10c679a03bf Mon Sep 17 00:00:00 2001
From: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Date: Fri, 19 Nov 2021 20:58:13 +0000
Subject: [PATCH 049/245] check: cleanup child processes
Subject: [PATCH 048/249] check: cleanup child processes
Always wait() for forked child processes. It avoid zombie processes in
containers that don't have an init process reaping orphans.

View File

@ -1,7 +1,7 @@
From cfd4d1fb786306658336d98b02d421b2ec925d4c Mon Sep 17 00:00:00 2001
From bbc3f37710c5cf1cac507337a536c5523123b2a9 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 13 Feb 2020 10:43:14 +0300
Subject: [PATCH 050/245] files-reg: fix error handling in open_path
Subject: [PATCH 049/249] files-reg: fix error handling in open_path
1) On error paths need to close fd and unlock mutex.
2) Make rfi_remap return special return code to identify EEXIST from

View File

@ -1,7 +1,7 @@
From f9aced49154576d73810a8d12e7847d44e6b63fc Mon Sep 17 00:00:00 2001
From e655a0ac8421325f2de8fbe4f6855b06cd2faace Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 13 Feb 2020 13:03:12 +0300
Subject: [PATCH 051/245] files-reg: fix error handling of rm_parent_dirs
Subject: [PATCH 050/249] files-reg: fix error handling of rm_parent_dirs
If unlinkat fails it means that fs is in "corrupted" state - spoiled
with non-unlinked auxiliary directories.

View File

@ -1,7 +1,7 @@
From 2eac9738a4244c007252d0537a46e9443e957210 Mon Sep 17 00:00:00 2001
From 67b257d852572d38375453671ae038312ed94cba Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 13 Feb 2020 18:28:15 +0300
Subject: [PATCH 052/245] ghost/mount: allocate remounted_rw in shmem to get
Subject: [PATCH 051/249] ghost/mount: allocate remounted_rw in shmem to get
info from other processes
Previousely remounted_rw was not shared between all processes on

View File

@ -1,7 +1,7 @@
From e7f694d31fe3f94398d62c786c87391f1ff59a11 Mon Sep 17 00:00:00 2001
From 44aa8a5a75529bb4b256bcbdf490da5b730c5c5f Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 13 Feb 2020 18:26:52 +0300
Subject: [PATCH 053/245] files-reg: temporary remount writable the mount we do
Subject: [PATCH 052/249] files-reg: temporary remount writable the mount we do
unlink on
Previousely I din't mention this case because we had bad error handling

View File

@ -1,7 +1,7 @@
From 5e50667eaef07435f731861e701edb41e7f4b3b3 Mon Sep 17 00:00:00 2001
From 0fc0b2d996e0cba450155727239df8aaf31c26f1 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Tue, 30 Nov 2021 19:03:29 +0300
Subject: [PATCH 054/245] zdtm: add ro-mount check after c/r to mntns_ghost01
Subject: [PATCH 053/249] zdtm: add ro-mount check after c/r to mntns_ghost01
This is a test for "ghost/mount: allocate remounted_rw in shmem to get
info from other processes" patch, without the patch test fails with:

View File

@ -1,7 +1,7 @@
From 6f4ddeb5201f7e0f6c330ed56e221c3c51627c19 Mon Sep 17 00:00:00 2001
From 4e24f113c007f81904d6f46b336ed94634555657 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 25 Nov 2021 16:51:55 +0300
Subject: [PATCH 055/245] clang-format: disable wrong struct pointer
Subject: [PATCH 054/249] clang-format: disable wrong struct pointer
declaration format
When we declare struct and at the same time declare variable pointer of

View File

@ -1,7 +1,7 @@
From ac3cebb2f0164a56f6e3941b82570ceb7f18985c Mon Sep 17 00:00:00 2001
From 3dd5cec57d2835e00e69a69f24fa60303216dbda Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sat, 4 Dec 2021 16:18:26 +0000
Subject: [PATCH 056/245] ci: Run cross compile on debian stable
Subject: [PATCH 055/249] ci: Run cross compile on debian stable
The current debian stable release is Bullseye, not Buster. However, we
can use the 'stable' release instead. This would allow the CI to

View File

@ -1,7 +1,7 @@
From 1f497887c18e123925a759cc4079009c5a0224da Mon Sep 17 00:00:00 2001
From 28936552df6c83266aa9e8900b5cd92f0aa3a1f7 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Sat, 4 Dec 2021 16:31:34 +0000
Subject: [PATCH 057/245] ci: Run cross compile with debian testing
Subject: [PATCH 056/249] ci: Run cross compile with debian testing
Debian testing has newer compiler version and running
cross compilation tests would allow us to catch any compilation

View File

@ -1,7 +1,7 @@
From 0e25a6d2bb43abb2cab4716169dfa34a0c005f4c Mon Sep 17 00:00:00 2001
From 205ba95597c1f538776e4ed6838f7e082178f5fe Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso <carnil@debian.org>
Date: Sat, 4 Dec 2021 16:59:51 +0000
Subject: [PATCH 058/245] make: Explicitly enable FPU on ARMv7 builds
Subject: [PATCH 057/249] make: Explicitly enable FPU on ARMv7 builds
Starting with gcc-11, Debian's armhf compiler no longer builds with
a default -mfpu= option. Instead it enables the FPU via an extension

View File

@ -1,7 +1,7 @@
From b7c9aa86039a8179e956de31965a3ffd468135da Mon Sep 17 00:00:00 2001
From d3a8330e09361582888d72a082d5e6fa02f4b9cc Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Fri, 3 Dec 2021 16:48:36 +0000
Subject: [PATCH 059/245] ci: disable broken tests until fixed
Subject: [PATCH 058/249] ci: disable broken tests until fixed
Broken tests are being tracked at

View File

@ -1,7 +1,7 @@
From f64eb15e2380185fcf3c01dc6630acbe6c3053f6 Mon Sep 17 00:00:00 2001
From 448c0bdf19285cb7a7fad2872e3f5462ffdeb996 Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Sun, 5 Dec 2021 16:45:20 +0000
Subject: [PATCH 060/245] test: do not use --keep-going for single zdtm tests
Subject: [PATCH 059/249] test: do not use --keep-going for single zdtm tests
Looking at CI logs there are often messages like:

View File

@ -1,7 +1,7 @@
From 3cf39aafb1dcdbcd3c39411a2c6834858860716c Mon Sep 17 00:00:00 2001
From 6e5fd46d6a30b488ab7f17f0069c598e1f59cdbb Mon Sep 17 00:00:00 2001
From: ianlang <ianlang@tencent.com>
Date: Fri, 3 Dec 2021 15:15:30 +0800
Subject: [PATCH 061/245] files-reg: try dump_ghost_remap if link-remap failed
Subject: [PATCH 060/249] files-reg: try dump_ghost_remap if link-remap failed
with error ENOENT
An issue with dumping deleted reg files in overlayfs:

View File

@ -1,7 +1,7 @@
From 047d277ff49bfbe3ff7baaedb9b7e37faadd6341 Mon Sep 17 00:00:00 2001
From a006788dfab8a971218450923a59209c52f4eb88 Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Tue, 7 Dec 2021 09:10:14 +0000
Subject: [PATCH 062/245] util: make page-server IPv6 safe
Subject: [PATCH 061/249] util: make page-server IPv6 safe
The function run_tcp_server() was the last place CRIU was still using
the IPv4 only function inet_ntoa(). It was only used during a print, so

View File

@ -1,7 +1,7 @@
From 1470c8037319d2a59eb557ed55175df6abe23eaa Mon Sep 17 00:00:00 2001
From b6f9c443a78efb50225c2fabd224cea6c71d1c49 Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Thu, 2 Dec 2021 23:01:33 +0700
Subject: [PATCH 063/245] sk-unix: Fix TCP_ESTABLISHED checks in unix sockets
Subject: [PATCH 062/249] sk-unix: Fix TCP_ESTABLISHED checks in unix sockets
Since commit 83301b5367a98 ("af_unix: Set TCP_ESTABLISHED for datagram sockets
too") in Linux kernel, SOCK_DGRAM unix sockets can have TCP_ESTABLISHED state

View File

@ -1,7 +1,7 @@
From 677a6adba8234c5626fb9595fd32de61ae2b71bc Mon Sep 17 00:00:00 2001
From c3e4e68b3cab075415f5e500cb884a2e25a434b9 Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Tue, 7 Dec 2021 23:40:12 +0700
Subject: [PATCH 064/245] ci: Enable disabled unix socket related tests
Subject: [PATCH 063/249] ci: Enable disabled unix socket related tests
As the unix socket broken tests have been fixed in the pull request

View File

@ -1,7 +1,7 @@
From 1ec95e91a54670cb30308700bd29085e86668eb0 Mon Sep 17 00:00:00 2001
From a352d973e7901db8d46322e1cb7fdae5bf920967 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Fri, 10 Dec 2021 15:35:29 +0000
Subject: [PATCH 065/245] ci: install procps in Alpine
Subject: [PATCH 064/249] ci: install procps in Alpine
The version of ps in Alpine image by default is very limited.
It is based on the one from busybox and doesn't support options

View File

@ -1,7 +1,7 @@
From 3b2d70bd75dbd2de8887b00d5e6e4e5a5bbda850 Mon Sep 17 00:00:00 2001
From 564eaa77e6c780f7dd8195f053a1928447e87b9c Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Fri, 3 Dec 2021 16:59:56 +0000
Subject: [PATCH 066/245] test: another try to correctly fix the kernel version
Subject: [PATCH 065/249] test: another try to correctly fix the kernel version
We try to disable time namespace based testing for kernels older than
5.11. But we fail to come up with the correct if condition.

View File

@ -1,7 +1,7 @@
From 648babc34a25899a0d29f989d1cdcfb2191a872a Mon Sep 17 00:00:00 2001
From 41bf30f94b72172e807e4b1ebdc6e7df076b3e75 Mon Sep 17 00:00:00 2001
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Date: Mon, 13 Dec 2021 15:19:50 +0300
Subject: [PATCH 067/245] x86/compel/fault-inject: bound xsave features set
Subject: [PATCH 066/249] x86/compel/fault-inject: bound xsave features set
Since
e2e8be37 ("x86/compel/fault-inject: Add a fault-injection for corrupting extended regset")

View File

@ -1,7 +1,7 @@
From 2d5a6e074dd245c44e7bcea37d43f69eddbf4c02 Mon Sep 17 00:00:00 2001
From eb100eb39cb32d7a559168267a11f5ac9db9c154 Mon Sep 17 00:00:00 2001
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Date: Mon, 13 Dec 2021 15:32:00 +0300
Subject: [PATCH 068/245] x86/compel/fault-inject: print the initial seed
Subject: [PATCH 067/249] x86/compel/fault-inject: print the initial seed
Fixes: e2e8be37 ("x86/compel/fault-inject: Add a fault-injection for corrupting extended regset")

View File

@ -1,7 +1,7 @@
From 6b22a374016fa980d088e1d93f6330bdfa689433 Mon Sep 17 00:00:00 2001
From 52cd18643245eb0dfe4cc9d8b21f89e1c8f30d35 Mon Sep 17 00:00:00 2001
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Date: Mon, 13 Dec 2021 15:46:47 +0300
Subject: [PATCH 069/245] ci: enable x86 xsave fault injection tests back
Subject: [PATCH 068/249] ci: enable x86 xsave fault injection tests back
Signed-off-by: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
---

View File

@ -1,7 +1,7 @@
From 11c6077ebb5e57569844818f104514fa1ba60af1 Mon Sep 17 00:00:00 2001
From ce3e913a89f979e7d3787dff58351b7ba915bc01 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Tue, 14 Dec 2021 12:54:19 +0000
Subject: [PATCH 070/245] Add documentation for --timeout option
Subject: [PATCH 069/249] Add documentation for --timeout option
The --timeout option was introduced in [1] to prevent criu dump from
being able to hang indefinitely and allow users to adjust the time limit

View File

@ -1,7 +1,7 @@
From 0c452fee7e3abb8e117bd390610f39b95069dc1b Mon Sep 17 00:00:00 2001
From d83fe7440c3bce204018bf9167f67bac48118c2a Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@google.com>
Date: Tue, 14 Dec 2021 08:19:16 -0800
Subject: [PATCH 071/245] usernsd: UNS_FDOUT should not require an input
Subject: [PATCH 070/249] usernsd: UNS_FDOUT should not require an input
descriptor
UNS_FDOUT means only that a userns call will return a file descriptor.

View File

@ -1,7 +1,7 @@
From b38e38b2872fcf3d00d3861d0f04a55b28c01ac4 Mon Sep 17 00:00:00 2001
From bee106f22237800350009d4875be5361c02108c0 Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Wed, 1 Dec 2021 11:08:53 +0000
Subject: [PATCH 072/245] libcriu: add setting lsm-mount-context to libcriu
Subject: [PATCH 071/249] libcriu: add setting lsm-mount-context to libcriu
Signed-off-by: Adrian Reber <areber@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 031db58a9e9439c49d93f8424b361f3618fb688d Mon Sep 17 00:00:00 2001
From 564f6313cb85a64460a30123b07197dd98224c32 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Date: Sat, 18 Dec 2021 17:25:17 +0000
Subject: [PATCH 073/245] ci: use unstable release for cross-compile
Subject: [PATCH 072/249] ci: use unstable release for cross-compile
We added cross-compile tests with testing debian release to be able to
replicate the error reported in #1653, however, installing build

View File

@ -1,7 +1,7 @@
From 595b1caf66a8fb61488c98fad4952fbfb3c12aba Mon Sep 17 00:00:00 2001
From 95e6bc3e53bec3c4f00b7e4ddfab5cf904780dbc Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Date: Fri, 17 Dec 2021 03:01:49 +0000
Subject: [PATCH 074/245] ci: disable glibc rseq support
Subject: [PATCH 073/249] ci: disable glibc rseq support
This patch sets the glibc.pthread.rseq tunable [1] to disable rseq
support in glibc as a temporary solution for the problem described in

View File

@ -1,7 +1,7 @@
From 9edcc3be3052028de05221edfd18d4b9fb245761 Mon Sep 17 00:00:00 2001
From 7728a658b207bfa2b4910de7d9781bca993be8dd Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Fri, 3 Dec 2021 14:32:33 +0000
Subject: [PATCH 075/245] libcriu: add single pre-dump support
Subject: [PATCH 074/249] libcriu: add single pre-dump support
In contrast to the CLI it is not possible to do a single pre-dump via
RPC and thus libcriu. In cr-service.c pre-dump always goes into a

View File

@ -1,7 +1,7 @@
From 0f5b3f1a3e005e50a294bd0601a6e3c99539a1cf Mon Sep 17 00:00:00 2001
From e9452713606cfdbc9e41c28cde674dcaeaded23a Mon Sep 17 00:00:00 2001
From: Adrian Reber <areber@redhat.com>
Date: Tue, 14 Dec 2021 13:09:19 +0000
Subject: [PATCH 076/245] tests: added test for single pre-dump support
Subject: [PATCH 075/249] tests: added test for single pre-dump support
Signed-off-by: Adrian Reber <areber@redhat.com>
---

View File

@ -1,7 +1,7 @@
From bfd24ce3b3f0c1e86001b55492a487db2f75b72d Mon Sep 17 00:00:00 2001
From f495ba8e621ca3e4875c81f7b4dca0f3e9b79912 Mon Sep 17 00:00:00 2001
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Date: Sat, 18 Dec 2021 10:40:11 +0300
Subject: [PATCH 077/245] zdtm.py: clean up MAKEFLAGS env variable before
Subject: [PATCH 076/249] zdtm.py: clean up MAKEFLAGS env variable before
running make instance
In most cases we run tests as:

View File

@ -1,7 +1,7 @@
From cf3e1067f3639426defccf7b322da1eb7a05ca21 Mon Sep 17 00:00:00 2001
From d1c2c801af398dbf95fc693cf3baa3f24a8741ec Mon Sep 17 00:00:00 2001
From: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Date: Sat, 18 Dec 2021 11:03:53 +0300
Subject: [PATCH 078/245] zdtm: zdtm_ct fix compilation error with
Subject: [PATCH 077/249] zdtm: zdtm_ct fix compilation error with
strict-prototypes on
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

View File

@ -1,7 +1,7 @@
From 077c823160b35e94fd6e68d993c4abefecbb2083 Mon Sep 17 00:00:00 2001
From cbc53fdb2d10f56c74abeff6b1ecb8374b38b84b Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 17 Dec 2021 15:33:55 +0300
Subject: [PATCH 079/245] zdtm: remove mntns-deleted-dst test leftover from git
Subject: [PATCH 078/249] zdtm: remove mntns-deleted-dst test leftover from git
Looks like in commit [1] we've non-intentionally added this tmp file to
git, let's remove it.

View File

@ -1,7 +1,7 @@
From 3f3cad68232130c52c528b6eb977fdd379fcded6 Mon Sep 17 00:00:00 2001
From cf7485318cdcdb47e912ca7d53ab8965d5518b63 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 10 Dec 2021 15:34:19 +0300
Subject: [PATCH 080/245] crtools: remove excess always true condition
Subject: [PATCH 079/249] crtools: remove excess always true condition
Several lines above if (optind >= argc) we go to usage label and fail,
thus we don't need to check (optind < argc) here as it is always true.

View File

@ -1,7 +1,7 @@
From fe0929766ede95a4f5cc07ec28c288f2d2699448 Mon Sep 17 00:00:00 2001
From 3adaf3c4434995ce81530a336469ec792c62cc1b Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 10 Dec 2021 12:13:06 +0300
Subject: [PATCH 081/245] crtools/rpc: export current criu mode to opts.mode
Subject: [PATCH 080/249] crtools/rpc: export current criu mode to opts.mode
We have multiple options which are valid only on restore or only on dump
or in any other specific criu mode, so it would be useful to have info

View File

@ -1,7 +1,7 @@
From bec81335ad40077e8194c3bf7b9c9fa31098046f Mon Sep 17 00:00:00 2001
From 02e3280066d2d44a520d1ef4dd7128e80182c66b Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Wed, 15 Dec 2021 10:49:42 +0300
Subject: [PATCH 082/245] crtools: use new opts.mode in image_dir_mode
Subject: [PATCH 081/249] crtools: use new opts.mode in image_dir_mode
Also while on it there is no "cpuinfo restore", let's remove it.

View File

@ -1,7 +1,7 @@
From ab85c0944536729aa49b27ca80d14fe9eb5ce66e Mon Sep 17 00:00:00 2001
From 37b42d0edbba16460c6190f7e7dd42f6fef7e299 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 16 Dec 2021 18:05:01 +0300
Subject: [PATCH 083/245] crtools: check that cpuinfo command has sub-command
Subject: [PATCH 082/249] crtools: check that cpuinfo command has sub-command
This fixes segfault on empty sub-command for cpuinfo.

View File

@ -1,7 +1,7 @@
From 96bc16b15d06d6176fc8bc95cd4db815cd9ad536 Mon Sep 17 00:00:00 2001
From 858aac29618d89b898af87d9e05169361453beba Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Tue, 14 Dec 2021 22:28:27 +0700
Subject: [PATCH 084/245] sk-unix: Add support for SOCK_SEQPACKET unix sockets
Subject: [PATCH 083/249] sk-unix: Add support for SOCK_SEQPACKET unix sockets
Adjust some SOCK_STREAM cases to handle SOCK_SEQPACKET too.

View File

@ -1,7 +1,7 @@
From 315619c91047dce2fc11e4dbb074d31fcd409327 Mon Sep 17 00:00:00 2001
From 2d459717d161abb3330133a8f00ac7b4b9672c42 Mon Sep 17 00:00:00 2001
From: Bui Quang Minh <minhquangbui99@gmail.com>
Date: Thu, 16 Dec 2021 09:35:25 +0700
Subject: [PATCH 085/245] zdtm: Add SOCK_SEQPACKET variants to unix socket
Subject: [PATCH 084/249] zdtm: Add SOCK_SEQPACKET variants to unix socket
tests
This commit simply makes copies of SOCK_STREAM unix socket tests and uses

View File

@ -1,7 +1,7 @@
From 64178a1c7fa4ce1107074520392b98906672317f Mon Sep 17 00:00:00 2001
From 8bbfee99809952bf6eadd5e0142fe8b2e97cf6f6 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Tue, 7 Dec 2021 21:29:44 +0000
Subject: [PATCH 086/245] tls: fix typo
Subject: [PATCH 085/249] tls: fix typo
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 71221e60aa8465e6794d749ef8d5dd404416a17d Mon Sep 17 00:00:00 2001
From 311328d1c2a5715bd091ec6cad7cb0d32af99b26 Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Tue, 7 Dec 2021 22:32:54 +0000
Subject: [PATCH 087/245] tls: use ssize_t for return value
Subject: [PATCH 086/249] tls: use ssize_t for return value
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 7451db84fbabc4efa4eec9eb1f0302af11c5ccd1 Mon Sep 17 00:00:00 2001
From 5e48487aaf227c1e3be2b742956579c177e8b5bd Mon Sep 17 00:00:00 2001
From: Radostin Stoyanov <radostin@redhat.com>
Date: Thu, 16 Dec 2021 14:26:53 +0000
Subject: [PATCH 088/245] tls: add more comments
Subject: [PATCH 087/249] tls: add more comments
Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
---

View File

@ -1,7 +1,7 @@
From 58b97c0ae5bbeeac50dc83fb79a7b55bf2b8e683 Mon Sep 17 00:00:00 2001
From 00f2efee03869d2494ed10333372eb401ab27546 Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Tue, 21 Dec 2021 21:59:13 -0800
Subject: [PATCH 089/245] uffd: call disconnect_from_page_server to shutdown a
Subject: [PATCH 088/249] uffd: call disconnect_from_page_server to shutdown a
page-server connection
We need to be sure that page-server doesn't wait for a new command when we

View File

@ -1,7 +1,7 @@
From 6e2b052636e3f57b22302db21bd5c6d8eba9ba8b Mon Sep 17 00:00:00 2001
From 89c24a1324e6d77f064465bbd2b45d717b07d252 Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Wed, 22 Dec 2021 09:36:09 -0800
Subject: [PATCH 090/245] tls: allow to terminate connections synchronously
Subject: [PATCH 089/249] tls: allow to terminate connections synchronously
GNUTLS_SHUT_RDWR sends an alert containing a close request and waits for
the peer to reply with the same message.

View File

@ -1,7 +1,7 @@
From 80aff4e7b4c7331bd7724939389539c2eb6e8e85 Mon Sep 17 00:00:00 2001
From 02d8540a973ca5a045eac67c95cd3667ccb12579 Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Wed, 22 Dec 2021 09:59:11 -0800
Subject: [PATCH 091/245] page-xfer: stop waiting for a new command after a
Subject: [PATCH 090/249] page-xfer: stop waiting for a new command after a
close command
There is no reason to do that and in case of tls, __recv returns EAGAIN

View File

@ -1,7 +1,7 @@
From 0c7a9e1c464ac6b1c497b27fc5989ece8e286771 Mon Sep 17 00:00:00 2001
From 5132edbd018755985e664b8a4ee230265ac8c1eb Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Wed, 22 Dec 2021 17:03:04 -0800
Subject: [PATCH 092/245] ci: reenable the lazy-thp test in the lazy-remote
Subject: [PATCH 091/249] ci: reenable the lazy-thp test in the lazy-remote
mode
Signed-off-by: Andrei Vagin <avagin@gmail.com>

View File

@ -1,7 +1,7 @@
From 5f907445551685bd30af7567c08662f7100a0d70 Mon Sep 17 00:00:00 2001
From e826db402697888e3cf4910fc9de6138c7e1dcf0 Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Wed, 22 Dec 2021 17:06:21 -0800
Subject: [PATCH 093/245] test: log testname.out.inprogress if a test has
Subject: [PATCH 092/249] test: log testname.out.inprogress if a test has
failed
This is required if the test failed by timeout.

View File

@ -1,7 +1,7 @@
From cb604bacff3e469d53fd39e63d13e98cd460b9cb Mon Sep 17 00:00:00 2001
From e7296cd2c631aec1b34b1411bd01b38b4a251b2b Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Wed, 22 Dec 2021 17:08:16 -0800
Subject: [PATCH 094/245] zdtm: print tails of all logs if a test has failed
Subject: [PATCH 093/249] zdtm: print tails of all logs if a test has failed
Signed-off-by: Andrei Vagin <avagin@gmail.com>
---

View File

@ -1,7 +1,7 @@
From c36dbb082e60a4a267502cf73661eec78eb8d034 Mon Sep 17 00:00:00 2001
From 32375bb1e4dd58c630f0e15e83c6056fffab7176 Mon Sep 17 00:00:00 2001
From: Andrei Vagin <avagin@gmail.com>
Date: Wed, 22 Dec 2021 17:08:42 -0800
Subject: [PATCH 095/245] zdtm/static/uffd-events: add more log messages
Subject: [PATCH 094/249] zdtm/static/uffd-events: add more log messages
Signed-off-by: Andrei Vagin <avagin@gmail.com>
---

View File

@ -1,7 +1,7 @@
From 3e716ab20a6de56bce5ac7d66d67e7c3507facae Mon Sep 17 00:00:00 2001
From 609533a1d54d27fe96e4adad569716e70c38efa2 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 17 Dec 2021 14:58:47 +0300
Subject: [PATCH 096/245] mount: split check_mountpoint_fd from
Subject: [PATCH 095/249] mount: split check_mountpoint_fd from
__open_mountpoint
Now we can reuse "check" part separately in other places.

View File

@ -1,7 +1,7 @@
From e1d20922e907d173d7f3308c00440d93e21bb568 Mon Sep 17 00:00:00 2001
From 518f18aa83523d218073d100c4aa0f482ec60b53 Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Fri, 17 Dec 2021 15:13:35 +0300
Subject: [PATCH 097/245] mount: remove mnt_fd argument of __open_mountpoint
Subject: [PATCH 096/249] mount: remove mnt_fd argument of __open_mountpoint
Only place where we used __open_mountpoint with non -1 mnt_fd is
open_mountpoint. Let's use check_mountpoint_fd for this case, so that we

View File

@ -1,7 +1,7 @@
From 7b3b76f8d1650e3f208bfd85583755376b30b93a Mon Sep 17 00:00:00 2001
From c573260ced3929d3c84d51e7073f3636d44ba69f Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 16 Dec 2021 16:14:41 +0300
Subject: [PATCH 098/245] proc_parse: add helper to resolve sdev from fd
Subject: [PATCH 097/249] proc_parse: add helper to resolve sdev from fd
New get_sdev_from_fd helper first gets mnt_id from fd using fdinfo and
then converts mnt_id to sdev using mountinfo.

View File

@ -1,7 +1,7 @@
From ce0be851f296738bb10043477a52250502394182 Mon Sep 17 00:00:00 2001
From 84b0b31a06a51f5620f53395c8496108879010af Mon Sep 17 00:00:00 2001
From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Date: Thu, 16 Dec 2021 12:57:23 +0300
Subject: [PATCH 099/245] mount/btrfs: make check_mountpoint_fd fallback to
Subject: [PATCH 098/249] mount/btrfs: make check_mountpoint_fd fallback to
get_sdev_from_fd
We face that btrfs returns anonymous device in stat instead of real

View File

@ -1,7 +1,7 @@
From b003ce7cb55f656c3c29fee5cb3021213463910f Mon Sep 17 00:00:00 2001
From b635de93ce372b8e3bea213ecd743e26251d7a9a Mon Sep 17 00:00:00 2001
From: Nicolas Viennot <Nicolas.Viennot@twosigma.com>
Date: Tue, 28 Dec 2021 19:30:09 +0000
Subject: [PATCH 100/245] ci: test criu-image-streamer with all tests
Subject: [PATCH 099/249] ci: test criu-image-streamer with all tests
All the bugs that were in the way got fixed. We can enable all tests.

Some files were not shown because too many files have changed in this diff Show More