mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
This release of CRIU (4.1.1) addresses a critical compatibility issue introduced in the Linux kernel and back-ported to all stable releases. The kernel commit (12f147ddd6de "do_change_type(): refuse to operate on unmounted/not ours mounts") addressed the security issue introduced almost 20 years ago. Unfortunately, this change inadvertently broke the restore functionality of mount namespaces within CRIU. Users attempting to restore a container on updated kernels would encounter the error: "mnt-v2: Failed to make mount 476 slave: Invalid argument." This release contains the necessary adjustments to CRIU, allowing it to work seamlessly with kernels incorporating this security change. Signed-off-by: Andrei Vagin <avagin@gmail.com>
31 lines
898 B
Text
31 lines
898 B
Text
#
|
|
# CRIU version.
|
|
CRIU_VERSION_MAJOR := 4
|
|
CRIU_VERSION_MINOR := 1
|
|
CRIU_VERSION_SUBLEVEL := 1
|
|
CRIU_VERSION_EXTRA :=
|
|
CRIU_VERSION_NAME := CRISCV
|
|
CRIU_VERSION := $(CRIU_VERSION_MAJOR)$(if $(CRIU_VERSION_MINOR),.$(CRIU_VERSION_MINOR))$(if $(CRIU_VERSION_SUBLEVEL),.$(CRIU_VERSION_SUBLEVEL))$(if $(CRIU_VERSION_EXTRA),.$(CRIU_VERSION_EXTRA))
|
|
|
|
export CRIU_VERSION_MAJOR CRIU_VERSION_MINOR CRIU_VERSION_SUBLEVEL
|
|
export CRIU_VERSION_EXTRA CRIU_VERSION_NAME CRIU_VERSION
|
|
|
|
#
|
|
# C library for CRIU.
|
|
CRIU_SO_VERSION_MAJOR := 2
|
|
CRIU_SO_VERSION_MINOR := 0
|
|
|
|
export CRIU_SO_VERSION_MAJOR CRIU_SO_VERSION_MINOR
|
|
|
|
#
|
|
# SOCCR library.
|
|
SOCCR_SO_VERSION_MAJOR := 1
|
|
SOCCR_SO_VERSION_MINOR := 0
|
|
|
|
export SOCCR_SO_VERSION_MAJOR SOCCR_SO_VERSION_MINOR
|
|
|
|
COMPEL_SO_VERSION_MAJOR := 1
|
|
COMPEL_SO_VERSION_MINOR := 0
|
|
COMPEL_SO_VERSION_SUBLEVEL := 0
|
|
|
|
export COMPEL_SO_VERSION_MAJOR COMPEL_SO_VERSION_MINOR COMPEL_SO_VERSION_SUBLEVEL
|