-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tty: Only store the stdin fd when it corresponds to a tty #1455
base: criu-dev
Are you sure you want to change the base?
Commits on Jun 12, 2023
-
Change made through this commit: - Include copy of flog as a seperate tree. - Modify the makefile to add and compile flog code. Signed-off-by: prakritigoyal19 <prakritigoyal19@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 823db1b - Browse repository at this point
Copy the full SHA 823db1bView commit details -
flog: Missing varargs init or cleanup (VARARGS)
CID 302713 (checkpoint-restore#1 of 1): Missing varargs init or cleanup (VARARGS) va_end was not called for argptr. Signed-off-by: Adrian Reber <areber@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 1444b72 - Browse repository at this point
Copy the full SHA 1444b72View commit details -
Separate commit for easier criu-dev <-> master transfer. Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Adrian Reber <areber@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for cc193dc - Browse repository at this point
Copy the full SHA cc193dcView commit details -
It is mapped, not maped. Same applies for mmap I guess. Found by codespell, except it wants to change it to mapped, which will make it less specific. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1fa21a0 - Browse repository at this point
Copy the full SHA 1fa21a0View commit details -
flog: fix some codespell warnings
Brought to you by codespell -w (using codespell v2.1.0). [v2: use "make indent" on the result] Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7eaf7a3 - Browse repository at this point
Copy the full SHA 7eaf7a3View commit details -
limit the field width of 'scanf'
Fixes: checkpoint-restore#2121 Signed-off-by: Pengda Yang <daz-3ux@proton.me>
Configuration menu - View commit details
-
Copy full SHA for aed3f34 - Browse repository at this point
Copy the full SHA aed3f34View commit details -
sk-inet: Add IP TOS socket option
The TOS(type of service) field in the ip header allows you specify the priority of the socket data. Signed-off-by: Suraj Shirvankar <surajshirvankar@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d6860d0 - Browse repository at this point
Copy the full SHA d6860d0View commit details -
zdtm: Add tests for ip tos restore
Signed-off-by: Suraj Shirvankar <surajshirvankar@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0dd4668 - Browse repository at this point
Copy the full SHA 0dd4668View commit details -
dump: increase fcntl call failure judgment
The pipe_size type is unsigned int, when the fcntl call fails and return -1, it will cause a negative rollover problem. Signed-off-by: zhoujie <zhoujie133@huawei.com>
Configuration menu - View commit details
-
Copy full SHA for 13eb876 - Browse repository at this point
Copy the full SHA 13eb876View commit details -
compel: support XSAVE on newer Intel CPUs
Newer Intel CPUs (Sapphire Rapids) have a much larger xsave area than before. Looking at older CPUs I see 2440 bytes. # cpuid -1 -l 0xd -s 0 ... bytes required by XSAVE/XRSTOR area = 0x00000988 (2440) On newer CPUs (Sapphire Rapids) it grows to 11008 bytes. # cpuid -1 -l 0xd -s 0 ... bytes required by XSAVE/XRSTOR area = 0x00002b00 (11008) This increase the xsave area from one page to four pages. Without this patch the fpu03 test fails, with this patch it works again. Signed-off-by: Adrian Reber <areber@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 970c4ab - Browse repository at this point
Copy the full SHA 970c4abView commit details -
Signed-off-by: Adrian Reber <areber@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 1d4c5ed - Browse repository at this point
Copy the full SHA 1d4c5edView commit details -
scripts: make newer versions of shellcheck happy
Signed-off-by: Adrian Reber <areber@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for d98c533 - Browse repository at this point
Copy the full SHA d98c533View commit details -
criu-ns: make --pidfile option show pid in caller pidns
Using the fact that we know criu_pid and criu is a parent of restored process we can create pidfile with pid on caller pidns level. We need to move mount namespace creation to child so that criu-ns can see caller pidns proc. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Configuration menu - View commit details
-
Copy full SHA for 8e0697d - Browse repository at this point
Copy the full SHA 8e0697dView commit details -
docs: rename amdgpu_plugin.txt to criu-amdgpu-plugin.txt
By default, the file name 'amdgpu_plugin.txt' is used also as the name for the corresponding man page (`man amdgpu_plugin`). However, when this man page is installed system-wide it would be more appropriate to have a prefix 'criu-' (e.g., `man criu-amdgpu-plugin`). Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 806ee35 - Browse repository at this point
Copy the full SHA 806ee35View commit details -
lib/c: add empty_ns interfaces to libcriu
crun wants to set empty_ns and this interface is missing from the library. This adds it to libcriu. Signed-off-by: Adrian Reber <areber@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for f57bda4 - Browse repository at this point
Copy the full SHA f57bda4View commit details -
criu-ns: Add --criu-binary argument to run_criu()
--criu-binary argument provides a way to supply the CRIU binary location to run_criu(). Related to: checkpoint-restore#1909 Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Configuration menu - View commit details
-
Copy full SHA for f308272 - Browse repository at this point
Copy the full SHA f308272View commit details -
criu-ns: Add support for older Python version in CI
These changes remove and update the changes introduced in 7177938 in favor of the Python version in CI. os.waitstatus_to_exitcode() function appeared in Python 3.9 Related to: checkpoint-restore#1909 Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Configuration menu - View commit details
-
Copy full SHA for 38db5e1 - Browse repository at this point
Copy the full SHA 38db5e1View commit details -
criu-ns: Add tests for criu-ns script
These changes add test implementations for criu-ns script. Fixes: checkpoint-restore#1909 Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Configuration menu - View commit details
-
Copy full SHA for 8094df8 - Browse repository at this point
Copy the full SHA 8094df8View commit details -
criu-ns: Install Python pathlib module in CentOS 7
These changes fix the `ImportError: No module named pathlib` error when executing criu-ns tests located at criu/test/others/criu-ns Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Configuration menu - View commit details
-
Copy full SHA for f0e9358 - Browse repository at this point
Copy the full SHA f0e9358View commit details -
criu-ns: Update shebang line to python
CentOS 7 CI environment uses Python 2. To execute criu-ns script in CentOS 7 changing the current shebang line to python is required. This reverse the changes made in a15a63f Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Configuration menu - View commit details
-
Copy full SHA for 9130fef - Browse repository at this point
Copy the full SHA 9130fefView commit details -
timers: improve and fix posix timer id sequence checks
This is a patch proposed by Thomas here: https://lore.kernel.org/all/87ilczc7d9.ffs@tglx/ It removes (created id > desired id) "sanity" check and adds proper checking that ids start at zero and increment by one each time when we create/delete a posix timer. First purpose of it is to fix infinite looping in create_posix_timers on old pre 3.11 kernels. Second purpose is to allow kernel interface of creating posix timers with desired id change from iterating with predictable next id to just setting next id directly. And at the same time removing predictable next id so that criu with this patch would not get to infinite loop in create_posix_timers if this happens. Thanks a lot to Thomas! Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Configuration menu - View commit details
-
Copy full SHA for 358f09c - Browse repository at this point
Copy the full SHA 358f09cView commit details -
action-scripts: Add pre-stream hook
This hook allows to start image streamer process from an action script. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 104a828 - Browse repository at this point
Copy the full SHA 104a828View commit details -
cgroup/restore: split prepare_task_cgroup code into two separate func…
…tions This does cgroup namespace creation separately from joining task cgroups. This makes the code more logical, because creating cgroup namespace also involves joining cgroups but these cgroups can be different to task's cgroups as they are cgroup namespace roots (cgns_prefix), and mixing all of them together may lead to misunderstanding. Another positive thing is that we consolidate !item->parent checks in one place in restore_task_with_children. Signed-off-by: Valeriy Vdovin <valeriy.vdovin@virtuozzo.com> Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Configuration menu - View commit details
-
Copy full SHA for 4d137b8 - Browse repository at this point
Copy the full SHA 4d137b8View commit details
Commits on Jun 15, 2023
-
Fix dumping hugetlb-based memfd on kernels < 4.16.
4.15-based kernels don't allow F_*SEAL for memfds created with MFD_HUGETLB. Since seals are not possible in this case, fake F_GETSEALS result as if it was queried for a non-sealing-enabled memfd. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for af0e413 - Browse repository at this point
Copy the full SHA af0e413View commit details -
Fix mount(cgroup2) for older kernels.
Linux 4.15 doesn't like empty string for cgroup2 mount options. Pass NULL then to satisfy the kernel check. Log the options for easier debugging. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 11288c9 - Browse repository at this point
Copy the full SHA 11288c9View commit details -
The original commit added saving THP_DISABLED flag value, but missed restoring it. There is restoring code, but used only when --lazy_pages mode is enabled. Restore the prctl flag always. While at it, rename the `has_thp_enabled` -> `!thp_disabled` for consistency. Fixes: bbbd597 (2017-06-28 "mem: add dump state of THP_DISABLED prctl") Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9e6454f - Browse repository at this point
Copy the full SHA 9e6454fView commit details -
Log if prctl(SET_THP_DISABLE) doesn't work as expected.
If prctl(SET_THP_DISABLE) is not used due to bad semantics, log it for easier debugging. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 7ca6856 - Browse repository at this point
Copy the full SHA 7ca6856View commit details -
zdtm: thp_disable: Output a single failure message
While at it, don't carry over stale errno to the fail() message. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for d3a33ca - Browse repository at this point
Copy the full SHA d3a33caView commit details -
zdtm: thp_disable: Verify prctl(THP_DISABLE) migration
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6006cb6 - Browse repository at this point
Copy the full SHA 6006cb6View commit details -
zdtm: thp_disable: Verify MADV_NOHUGEPAGE before migration
Add a sanity check for THP_DISABLE. This discovered a broken commit in Google's kernel tree. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for c75c017 - Browse repository at this point
Copy the full SHA c75c017View commit details
Commits on Jun 16, 2023
-
Fill FPU init state if it's not provided by kernel.
Apparently Skylake uses init-optimization when saving FPU state, and ptrace() returns XSTATE_BV[0] = 0 meaning FPU was not used by a task (in init state). Since CRIU restore uses sigreturn to restore registers, FPU state is always restored. Fill the state with default values on dump to make restore happy. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for c6ee1ba - Browse repository at this point
Copy the full SHA c6ee1baView commit details
Commits on Jun 17, 2023
-
compel/test: Return 0 in case of error in fdspy
This commit revises the error handling in the fdspy test. Previously, a failure case could have been incorrectly reported as successful because of a specific check `pass != 0`, leading to potential false positives when `check_pipe_ends()` returned `-1` due to a read/write pipe error. To improve this, we've adjusted the error handling to return `0` in case of any error. As such, the final success condition remains unchanged. This approach will help accurately differentiate between successful and failed cases, ensuring the output "All OK" is printed for success, and "Something went WRONG" for any failure. Fixes: 5364ca3 ("compel/test: Fix warn_unused_result") Signed-off-by: Haorong Lu <ancientmodern4@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9e2e560 - Browse repository at this point
Copy the full SHA 9e2e560View commit details -
Allow passing --leave_stopped by RPC.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 3d4d943 - Browse repository at this point
Copy the full SHA 3d4d943View commit details -
Allow passing --display_stats via RPC.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 161a5ff - Browse repository at this point
Copy the full SHA 161a5ffView commit details -
Allow passing --log_to_stderr via RPC.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 7f7b553 - Browse repository at this point
Copy the full SHA 7f7b553View commit details -
Use $TMPDIR for tests_root as the host's /tmp might not have enough features or space. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for e55e168 - Browse repository at this point
Copy the full SHA e55e168View commit details -
zdtm: Add timeouts for test commands.
Extend ability to limit time taken to all CRIU invocations. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0bd5abe - Browse repository at this point
Copy the full SHA 0bd5abeView commit details -
zdtm: Allow --keep-going for single test.
We don't want test framework to change its behaviour on whether we run a single or multiple tests in a run. When we shard the test suite it can result in some shards having a single test to run and unexpectedly change the test output format. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 05f2319 - Browse repository at this point
Copy the full SHA 05f2319View commit details -
zdtm: Implement test sharding.
Allow to split test suite into predictable sets to parallelize runs on multiple machines or VMs. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for e595787 - Browse repository at this point
Copy the full SHA e595787View commit details -
zdtm: sock_opts00: Improve error messages.
Make it clear that the option numbers are indexes not the option identifiers ("names"). Also show the value change that prompted test failure. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9301aba - Browse repository at this point
Copy the full SHA 9301abaView commit details
Commits on Jun 19, 2023
-
Allow skipping iptables/nftables invocation.
Make it possible to skip network lock to enable uses that break connections anyway to work without iptables/nftables being present. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for a2c4dd2 - Browse repository at this point
Copy the full SHA a2c4dd2View commit details -
The fail() macro provides a new line character at the end of the message. This patch fixes the following lint check that currently fails in CI: $ git --no-pager grep -E '^\s*\<(pr_perror|fail)\>.*\\n"' test/zdtm/static/thp_disable.c: fail("prctl(GET_THP_DISABLE) returned unexpected value: %d != 1\n", ret); test/zdtm/static/thp_disable.c: fail("Flags changed %lx -> %lx\n", orig_flags, new_flags); test/zdtm/static/thp_disable.c: fail("Madvs changed %lx -> %lx\n", orig_madv, new_madv); test/zdtm/static/thp_disable.c: fail("post-migration prctl(GET_THP_DISABLE) returned unexpected value: %d != 1\n", ret); test/zdtm/static/thp_disable.c: fail("Flags changed %lx -> %lx\n", orig_flags, new_flags); test/zdtm/static/thp_disable.c: fail("Madvs changed %lx -> %lx\n", orig_madv, new_madv); Fixes: checkpoint-restore#2193 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for f018893 - Browse repository at this point
Copy the full SHA f018893View commit details
Commits on Jun 22, 2023
-
sockets: Increase the size of sockets hashmap to 16K.
During dump, CRIU stores the structs representing sockets in a statically sized hashmap of size 32. We have some (admittedly crazy) tasks that use tens of thousands of sockets, and seem to spend most of the dump time iterating over the linked lists of the map. 16K is chosen arbitrarily, so that it reduces the lengths of the chains to few elements on average, while not introducing significant memory overhead. From: Radosław Burny <rburny@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for e6427c5 - Browse repository at this point
Copy the full SHA e6427c5View commit details -
pipes: Plug pipe fd leak in "Unable to set a pipe size" error case.
From: Piotr Figiel <figiel@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 12290f4 - Browse repository at this point
Copy the full SHA 12290f4View commit details -
kerndat: Make socket feature probing work on IPv6-only host.
Try IPv6 if IPv4 sockets are not supported. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for f5cd44f - Browse repository at this point
Copy the full SHA f5cd44fView commit details
Commits on Jun 26, 2023
-
restore: remove unused
secbits
field.Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1e90fc8 - Browse repository at this point
Copy the full SHA 1e90fc8View commit details
Commits on Jun 28, 2023
-
The test for HAS_MEMFD is empty and noit used. Remove it. Fixes: 5ee1ac1 ("criu: remove FEATURE_TEST_MEMFD") Change-Id: I43b8f0cfd50ce9bdf93dafb647377318df1deae8 Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for aa6b633 - Browse repository at this point
Copy the full SHA aa6b633View commit details -
build: Debug system feature tests.
`make` without `-s` option will normally show the commands executed. In the case of detecting build environment features current makefile will cause detected features to be seen as 'echo #define' commands, but not detected ones will be silent. Change it so that all tried features can be seen (outside of make's silent mode) regardless of detection result. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 2d76e4b - Browse repository at this point
Copy the full SHA 2d76e4bView commit details -
build: Fix LIBS vs LDFLAGS order.
$LDFLAGS can contain `-Ldir`s that are required by '-lib's in $LIBS. Reverse the order so that `-L` options make effect. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 722a90c - Browse repository at this point
Copy the full SHA 722a90cView commit details -
build: Use make-provided AR for building libzdtmtst.
Make $(AR) used also for libzdtmtst build. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 85f53bd - Browse repository at this point
Copy the full SHA 85f53bdView commit details -
build: Guard against libbsd's version of
__aligned
.When trying to build CRIU with libbsd enabled the compilation fails due to duplicate definition of __aligned macro. Other such definitions are already wrapped with #ifndef make __aligned definition consistent and make it easier in the future to use the libbsd features if needed. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for eece28d - Browse repository at this point
Copy the full SHA eece28dView commit details -
build: libnfnetlink: Remove nla_get_s32().
nla_get_s32() was added to libnl 3.2.7 in 2015. Remove CRIU's definition as it breaks build when statically linking the binary. From: Uros Prestor <urosp@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0588c3b - Browse repository at this point
Copy the full SHA 0588c3bView commit details
Commits on Jun 30, 2023
-
action-scripts: allow shell scripts in rpc mode
Container runtimes commonly use CRIU with RPC. However, this prevents the use of action-scripts set in a CRIU configuration file due to the explicit scripts mode introduced with the following commit: ac78f13 actions: Introduce explicit scripts mode This patch enables container checkpoint/restore with action-scripts specified via configuration file. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for b02d53a - Browse repository at this point
Copy the full SHA b02d53aView commit details -
docker/podman: test c/r with action-script
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for cde9bcf - Browse repository at this point
Copy the full SHA cde9bcfView commit details -
rpc: Support gathering external file list after freezing process tree.
New 'query-ext-files' action for `criu dump` is sent after freezing the process tree. This allows to defer gathering the external file list when the process tree is in a stable state and avoids race with the process creating and deleting files. Change-Id: Iae32149dc3992dea086f513ada52cf6863beaa1f Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 8ba6efb - Browse repository at this point
Copy the full SHA 8ba6efbView commit details -
rpc: Support setting images_dir by path.
Google's RPC client process is in a different pidns and has more privileges -- CRIU can't open its /proc/<pid>/fd/<fd>. For images_dir_fd to be useful here it would need to refer to a passed or CRIU's fd. From: Michał Cłapiński <mclapinski@google.com> Change-Id: Icbfb5af6844b21939a15f6fbb5b02264c12341b1 Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6cfe7aa - Browse repository at this point
Copy the full SHA 6cfe7aaView commit details
Commits on Jul 5, 2023
-
util: Downgrade ignored errors to warnings.
If the error is ignored it is not important enough - make it a warning instead. From: Mian Luo <mianl@google.com> Change-Id: If2641c3d4e0a4d57fdf04e4570c49be55f526535 Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for fb8ca64 - Browse repository at this point
Copy the full SHA fb8ca64View commit details -
kerndat: unexport kerndat_nsid()
kerndat_nsid() is not used outside kerndat.c. Make it static. Change-Id: I52e518ecb7c627cc1866e373411b2be3f71a2c9d Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for f0d1b89 - Browse repository at this point
Copy the full SHA f0d1b89View commit details -
kerndat: Don't fail on NETLINK/nsid support missing.
If not dumping netns nor connections, nsid support is not used. Don't fail the run as if the support is needed, the dumping process will fail later. Change-Id: I39a086756f6d520c73bb6b21eaf6d9fb49a18879 Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for a5939b0 - Browse repository at this point
Copy the full SHA a5939b0View commit details -
util: Make CRIU run_id machine-level unique.
Instead of relying on chance of CLOCK_MONOTONIC reading being unique, use pid namespace ID that combined with the process ID will make it unique on the machine level. If pidns is not enabled on a kernel we'll get ENOENT, but then CRIU's pid will already be unique. If there is some other error, log it but continue, as the socket clash (if it happens) will result in a failed run anyway. Fixes: 45e048d (2022-03-31 "criu: generate unique socket names") Fixes: 408a7d8 (2022-02-12 "util: add an unique ID of the current criu run") Change-Id: I111c006e1b5b1db8932232684c976a84f4256e49 Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for ba11426 - Browse repository at this point
Copy the full SHA ba11426View commit details -
zdtm: Update netns purpose comment in zdtm_ct.
With the parasite socket clash now guaranteed not to happen, the comment becomes obsolete. netns is steel needed though, so update the comment to point at the requirement. Change-Id: I3cfb253cd5c53b91b955fcb001530b4aee5129f4 Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4c2b71c - Browse repository at this point
Copy the full SHA 4c2b71cView commit details
Commits on Jul 7, 2023
-
readme: refactor asciinema link for video playback
Instead of opening the image directly, the commit refactors the asciinema image embedded link to redirect users to the corresponding video. Signed-off-by: Abhishek Guleri <abhishekguleri24@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a932e9 - Browse repository at this point
Copy the full SHA 3a932e9View commit details -
ci: disable CentOS 7 test in Cirrus CI
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 42a5b64 - Browse repository at this point
Copy the full SHA 42a5b64View commit details -
ci: clean up CentOS 7 related tweaks
We have disabled CentOS 7 tests in CI. This patch reverts the changes introduced in the following commit: 24bc083 ci: disable some tests on CentOS 7 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for f8466ca - Browse repository at this point
Copy the full SHA f8466caView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9901cd - Browse repository at this point
Copy the full SHA e9901cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91edb5f - Browse repository at this point
Copy the full SHA 91edb5fView commit details -
crit: add requirements.txt for pip>=20.1
When building with pip version 20.0.2 or older, the pip install command creates a temporary directory and copies all files from ./crit. This results in the following error message: ModuleNotFoundError: No module named 'pycriu' This error appears because the symlink 'pycriu' uses a relative path that becomes invalid '../lib/py/'. The '--no-build-isolation' option for pip install is needed to enable the use of pre-installed dependencies (e.g., protobuf) during build. The '--ignore-installed' option for pip is needed to avoid an error when crit is already installed. For example, crit is installed in the GitHub CI environment as part of the criu OBS package as a dependency for podman. Distributions such as Arch Linux have adopted an externally managed python installation in compliance with PEP 668 [1] that prevents pip from breaking the system by either installing packages to the system or locally in the home folder. The '--break-system-packages' [2] option allows pip to modify an externally managed Python installation. [1] https://peps.python.org/pep-0668/ [2] https://pip.pypa.io/en/stable/cli/pip_uninstall/ Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 02bd1bc - Browse repository at this point
Copy the full SHA 02bd1bcView commit details -
remove python-future dependency
This commit removes the dependency on the __future__ module, which was used to enable Python 3 features in Python 2 code. With support for Python 2 being dropped, it is no longer necessary to maintain backward compatibility. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for c794f39 - Browse repository at this point
Copy the full SHA c794f39View commit details -
make: remove checks for python 2 binary
This commit removes the checks for the Python 2 binary in the makefile and makes sure that ZDTM tests always use python3. Since support for Python 2 has been dropped, these checks are no longer needed. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 5f4d92f - Browse repository at this point
Copy the full SHA 5f4d92fView commit details -
test/criu-ns: drop python 2 compatibility
This patch is replacing the set_blocking() function with os.set_blocking(). This function was introduced for compatibility with Python 2 in commit 8094df8di (criu-ns: Add tests for criu-ns script). Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for cc5742d - Browse repository at this point
Copy the full SHA cc5742dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8cfec9 - Browse repository at this point
Copy the full SHA a8cfec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460c4d2 - Browse repository at this point
Copy the full SHA 460c4d2View commit details -
zdtm: drop python 2 compatibility
This patch removes the code for Python 2 compatibility introduced with commit e65c7b5 (zdtm: Replace imp module with importlib). Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 75d9d68 - Browse repository at this point
Copy the full SHA 75d9d68View commit details -
cgroup: Propagate error on cgroup mount failure.
This makes the error to mount cgroup hierarchy a bit less noisy: Error (criu/cgroup.c:623): cg: Unable to mount cgroup2 : Invalid argument' Instead of Error (criu/cgroup.c:623): cg: Unable to mount cgroup2 : Invalid argument' Error (criu/cgroup.c:715): cg: failed walking /proc/self/fd/-1/zdtmtst for empty cgroups: No such file or directory' Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for b759678 - Browse repository at this point
Copy the full SHA b759678View commit details -
files-reg: Debug "open file on overmounted mount" error.
Log the mount and file that were the cause of failing a dump. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for ce33c49 - Browse repository at this point
Copy the full SHA ce33c49View commit details -
compel: Log the status word with "Task is still running" errors.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for b42e7af - Browse repository at this point
Copy the full SHA b42e7afView commit details -
sk-unix: Log both peer names when failing on an external stream unix …
…socket. Make debugging dump failures resulting in "sk unix: Can't dump half of stream unix connection" errors easier. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for cf01c32 - Browse repository at this point
Copy the full SHA cf01c32View commit details -
soccr: Log offset when failed to restore socket's queued data.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 13c08b8 - Browse repository at this point
Copy the full SHA 13c08b8View commit details -
soccr: Log name of socket queue that failed to restore.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for dc3f4b5 - Browse repository at this point
Copy the full SHA dc3f4b5View commit details -
log: Remove error logs for ignored or otherwise logged subprocess exits.
Errors in early restore.log for status=1 from a subprocess are confusing, esp. that they don't show what command failed. Since the result is either ignored or logged anyway, mark the calls as "can fail". Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4d67f67 - Browse repository at this point
Copy the full SHA 4d67f67View commit details -
mount: Demote fsnotify logs for ignored failures.
Make logs about inaccessible mounts warnings, as the failures are normally harmless (e.g. failure to read /dev/cgroup) and don't make the CRIU run fail. (If it happens that the fsnotify can't find a file, then to debug, full CRIU logs will be necessary anyway.) Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for fb149f7 - Browse repository at this point
Copy the full SHA fb149f7View commit details -
irmap: Reduce error log severity to warning.
These errors originate from the filesystem scanning in irmap.c and are mostly benign. Nevertheless, if they do result in a failed irmap lookup, that failed lookup is more interesting from an application perspective. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for cf4b225 - Browse repository at this point
Copy the full SHA cf4b225View commit details -
kerndat: bind ipv6-socket only if ipv6 is enabled
Fixes: checkpoint-restore#2222 Fixes: f1c8d38 ("kerndat: check if setsockopt IPV6_FREEBIND is supported") Signed-off-by: Yan Evzman <yevzman@gmail.com> Signed-off-by: Andrei Vagin <avagin@google.com>
Configuration menu - View commit details
-
Copy full SHA for a4bb3f9 - Browse repository at this point
Copy the full SHA a4bb3f9View commit details
Commits on Jul 10, 2023
-
zdtm: replace NR_fstat with NR_statx
NR_fstat is a deprecated syscall, some modern architectures such as riscv and loongarch64 no longer support this syscall. It is usually replaced by NR_statx. NR_statx is supported since linux 4.10. Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for a96aa58 - Browse repository at this point
Copy the full SHA a96aa58View commit details -
kerndat: don't leak a socket file descriptor
kerndat_has_ipv6_freebind creates a socket but doesn't close it. Signed-off-by: Andrei Vagin <avagin@google.com>
Configuration menu - View commit details
-
Copy full SHA for 935e60d - Browse repository at this point
Copy the full SHA 935e60dView commit details -
ci: add workflow to ensure self-contained commits
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2d6f04c - Browse repository at this point
Copy the full SHA 2d6f04cView commit details
Commits on Jul 19, 2023
-
include: add common header files for loongarch64
Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for f684719 - Browse repository at this point
Copy the full SHA f684719View commit details -
compel: add loongarch64 support
Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for 52630db - Browse repository at this point
Copy the full SHA 52630dbView commit details -
images: add loongarch64 core image
Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for 521383d - Browse repository at this point
Copy the full SHA 521383dView commit details -
criu: add loongarch64 support to parasite and restorer
Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for 95fbd7e - Browse repository at this point
Copy the full SHA 95fbd7eView commit details -
Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for c941282 - Browse repository at this point
Copy the full SHA c941282View commit details -
ci: add workflow for loongarch64
Signed-off-by: znley <shanjiantao@loongson.cn>
Configuration menu - View commit details
-
Copy full SHA for f70c782 - Browse repository at this point
Copy the full SHA f70c782View commit details
Commits on Jul 22, 2023
-
util: Implement fchown() and fchmod() wrappers.
Add generic wrappers for fchown() and fchmod() that skip the calls if no changes are needed. This will allow to unify places where we can avoid errors when no-op requests are not permitted. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 9f69484 - Browse repository at this point
Copy the full SHA 9f69484View commit details -
sk-unix: Avoid restore_file_perms() EPERM error for no-op changes.
Note: This removes the difference in calling convention of restore_file_perms() returning -errno that was the only call that did this in the caller. From: Radosław Burny <rburny@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 923e66b - Browse repository at this point
Copy the full SHA 923e66bView commit details -
files-reg: Avoid EPERM in ghost_apply_metadata() for no-op changes.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 5f214bc - Browse repository at this point
Copy the full SHA 5f214bcView commit details -
cgroup: Replace restore_perms() with cr_fchperm().
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6e23125 - Browse repository at this point
Copy the full SHA 6e23125View commit details -
memfd: Avoid EPERM for no-op chown().
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 00d061b - Browse repository at this point
Copy the full SHA 00d061bView commit details -
tty: Avoid EPERM for no-op chown().
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for e90fbd7 - Browse repository at this point
Copy the full SHA e90fbd7View commit details -
restore: Avoid need for CAP_SETPCAP if not changing uids.
When CRIU is run with the task's credentials on restore, don't set uids and gids. This avoids the need to modify the SECURE_NO_SETUID_FIXUP flag which requires CAP_SETPCAP. From: Andy Tucker <agtucker@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for b9f360b - Browse repository at this point
Copy the full SHA b9f360bView commit details -
restore: Skip setgroups() when already correct.
Skip calling setgroups() when the list of auxiliary groups already has the values we want. This allows restoring into an unprivileged user namespace where setgroups() is disabled. From: Ambrose Feinstein <ambrose@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 53dd6ba - Browse repository at this point
Copy the full SHA 53dd6baView commit details
Commits on Jul 26, 2023
-
restore: Fix capability migration requirements between different kern…
…els. When restoring on a kernel that has different number of supported capabilities than checkpoint one, check that the extra caps are unset. There are two directions to consider: 1) dump.cap_last_cap > restore.cap_last_cap - restoring might reduce the processes' capabilities if restored kernel doesn't support checkpointed caps. Warn. 2) dump.cap_last_cap < restore.cap_last_cap - restoring will fill the extra caps with zeroes. No changes. Note: `last_cap` might change without affecting `n_words`. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for ff67ad8 - Browse repository at this point
Copy the full SHA ff67ad8View commit details
Commits on Jul 27, 2023
-
prctl: Migrate prctl(NO_NEW_PRIVS) setting.
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6bad5d2 - Browse repository at this point
Copy the full SHA 6bad5d2View commit details -
prctl: test prctl(NO_NEW_PRIVS) setting
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for d490218 - Browse repository at this point
Copy the full SHA d490218View commit details -
restore: Skip dropping BSET capability if irrelevant.
prctl(NO_NEW_PRIVS) when set prevents child processes gaining capabilities not in permitted set. In this case, inability to clear capability from BSET that is not in the permitted set is harmless. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 988a5f4 - Browse repository at this point
Copy the full SHA 988a5f4View commit details
Commits on Aug 1, 2023
-
sk-inet: Extend 'TCP repair off' failure log.
Include the file descriptor and error code in the debug message to make it more useful. Fixes: e7ba909 (2016-03-14 "cr-check: Inspect errno on syscall failures") Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for cc500d9 - Browse repository at this point
Copy the full SHA cc500d9View commit details -
memfd: dump and restore permissions.
memfd is created by default with +x permissions set. This can be changed by a process using fchmod() and expected to prevent using this fd for exec(). Migrate the permissions. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for f2d9672 - Browse repository at this point
Copy the full SHA f2d9672View commit details -
zdtm/memfd00: test memfd file mode
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 88249fe - Browse repository at this point
Copy the full SHA 88249feView commit details
Commits on Aug 3, 2023
-
apparmor: fix incorrect usage of sizeof on char ptr
In criu/apparmor.c: write_aa_policy(), the arg path is passed as a char pointer. The original code used sizeof(path) to get the size of it, which is incorrect as it always return the size of the char pointer (typically 8 or 4), not the actual capacity of the char array. Given that this function is only invoked with path declared as `char path[PATH_MAX]`, replacing sizeof(path) with PATH_MAX should correctly represent the maximum size of it. Fixes: 8723e3f ("check: add a feature test for apparmor_stacking") Signed-off-by: Haorong Lu <ancientmodern4@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9118601 - Browse repository at this point
Copy the full SHA 9118601View commit details
Commits on Aug 4, 2023
-
page-xfer: Pull tcp_cork,nodelay().
Move tcp_cork() and tcp_nodelay() to the only user: page-xfer.c. While at it, fix error messages (as they do not refer to restoring the sockopt values) and demote them as they are not fatal to the page transfer. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 1db922f - Browse repository at this point
Copy the full SHA 1db922fView commit details -
irmap: scan user-provided paths in order
Make the scan use the order of paths that came from the user. Fixes: 4f2e4ab ("irmap: add --irmap-scan-path option"; 2015-09-16) Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 72494ed - Browse repository at this point
Copy the full SHA 72494edView commit details
Commits on Aug 7, 2023
-
amdgpu_plugin: remove duplicated log prefix
The log prefix "amdgpu_plugin:" is defined with `LOG_PREFIX` in `amdgpu_plugin.c`. However, the prefix is also included in each log message. As a result it appears duplicated in the log messages: (00.044324) amdgpu_plugin: amdgpu_plugin: devices:1 bos:58 objects:148 priv_data:45696 (00.045376) amdgpu_plugin: amdgpu_plugin: Thread[0x5589] started (00.167172) amdgpu_plugin: amdgpu_plugin: img_path = amdgpu-kfd-62.img (00.083739) amdgpu_plugin: amdgpu_plugin : amdgpu_plugin_dump_file() called for fd = 235 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 242de4e - Browse repository at this point
Copy the full SHA 242de4eView commit details
Commits on Aug 8, 2023
-
scripts/apt: don't hide apt output
It is required to investigate issues. Signed-off-by: Andrei Vagin <avagin@google.com>
Configuration menu - View commit details
-
Copy full SHA for 6fc5bc6 - Browse repository at this point
Copy the full SHA 6fc5bc6View commit details -
ci/docker: install all required packages
This change fixes the issue: ``` The following packages have unmet dependencies: docker-ce : Depends: containerd.io (>= 1.6.4) E: Unable to correct problems, you have held broken packages. ``` Signed-off-by: Andrei Vagin <avagin@google.com>
Configuration menu - View commit details
-
Copy full SHA for 2199220 - Browse repository at this point
Copy the full SHA 2199220View commit details
Commits on Aug 18, 2023
-
lib/py: add VMA_AREA_MEMFD constant
The VMA_AREA_MEMFD constant was introduced with commit 29a1a88 memfd: add memory mapping support This patch extends the status map used in CRIT and coredump with the value of this constant to recognize it. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for e1cda9f - Browse repository at this point
Copy the full SHA e1cda9fView commit details
Commits on Aug 21, 2023
-
loongarch64: reformat syscall_64.tbl for 8-wide tabs
Signed-off-by: Andrei Vagin <avagin@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 288d6a6 - Browse repository at this point
Copy the full SHA 288d6a6View commit details -
dump+restore: Implement membarrier() registration c/r.
Note: Silently drops MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED as it's not currently detectable. This is still better than silently dropping all membarrier() registrations. Signed-off-by: Michał Mirosław <emmir@google.com>
1Configuration menu - View commit details
-
Copy full SHA for 2f50da4 - Browse repository at this point
Copy the full SHA 2f50da4View commit details -
zdtm: membarrier: test migration of membarrier() registration
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for b5c3ccc - Browse repository at this point
Copy the full SHA b5c3cccView commit details -
Put a cap on the size of single preadv in restore operation.
While each preadv() is followed by a fallocate() that removes the data range from image files on tmpfs, temporarily (between preadv() and fallocate()) the same data is in two places; this increases the memory overhead of restore operation by the size of a single preadv. Uncapped preadv() would read up to 2 GiB of data, thus we limit that to a smaller block size (128 MiB). Based-on-work-by: Paweł Stradomski <pstradomski@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 5fedcaa - Browse repository at this point
Copy the full SHA 5fedcaaView commit details
Commits on Aug 24, 2023
-
github: auto-remove
changes requested
andawaiting reply
labelsLabels are removed when new comments are posted. Signed-off-by: Andrei Vagin <avagin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 649292c - Browse repository at this point
Copy the full SHA 649292cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 942b5fd - Browse repository at this point
Copy the full SHA 942b5fdView commit details -
memfd: don't set fd attributes not needed for vma mapping
There is only one user of memfd_open() outside of memfd.c: open_filemap(). It is restoring a file-backed mapping and doesn't need nor expect to update F_SETOWN nor the fd's position. Check the inherited_fd() handling in the callers to simplify the code. Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 359b257 - Browse repository at this point
Copy the full SHA 359b257View commit details
Commits on Aug 25, 2023
-
ci/loongarch64: compile tests before running zdtm.py
Otherwise tests fail by timeout. Signed-off-by: Andrei Vagin <avagin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 675c5e4 - Browse repository at this point
Copy the full SHA 675c5e4View commit details -
kerndat: Make pagemap check more robust against swapped out pages.
Fix test of whether the kernel exposes page frame numbers to cope with the possibility that the top of the stack is swapped out, which was happening in about one 1 out of 3 million runs. This lead to a later failure when trying to read the PFN of the zero page, after which criu would exit with no error message. Original-From: Ambrose Feinstein <ambrose@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for af31e8e - Browse repository at this point
Copy the full SHA af31e8eView commit details -
compel/infect: include the relevant pid in "no-breakpoints restore" d…
…ebug message Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for 38baf73 - Browse repository at this point
Copy the full SHA 38baf73View commit details -
proc_parse: remove trivial goto from vma_get_mapfile_user()
Signed-off-by: Michał Mirosław <emmir@google.com>
Configuration menu - View commit details
-
Copy full SHA for ba27d27 - Browse repository at this point
Copy the full SHA ba27d27View commit details -
test/other: add test for action-script
This commit is introducing a test for the action-script functionality of CRIU to verify that pre-dump, post-dump, pre-restore, pre-resume, post-restore, post-resume hooks are executed during dump/restore. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Configuration menu - View commit details
-
Copy full SHA for 2df6ec5 - Browse repository at this point
Copy the full SHA 2df6ec5View commit details
Commits on Aug 28, 2023
-
tty: Only store the stdin fd when it corresponds to a tty
Let's save some place in fdstore by not adding fd when it is unused. Also let's remove now excess stdin_isatty. Co-authored-by: Nicolas Viennot <Nicolas.Viennot@twosigma.com> Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Configuration menu - View commit details
-
Copy full SHA for 8488934 - Browse repository at this point
Copy the full SHA 8488934View commit details -
files: prohibit --inherit-fd via std fds
Else inherit_fd_move_to_fdstore will close std fds and options like --shell-job will be broken. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Configuration menu - View commit details
-
Copy full SHA for 1ed709c - Browse repository at this point
Copy the full SHA 1ed709cView commit details