criu/criu
Bui Quang Minh f5ad26cf7d cgroup-v2: Checkpoint and restore some global properties
This commit supports checkpoint/restore some new global properties in cgroup-v2

	cgroup.subtree_control
	cgroup.max.descendants
	cgroup.max.depth
	cgroup.freeze
	cgroup.type

Only cgroup.subtree_control, cgroup.type need some more code to handle.
cgroup.subtree_control value needs to be set with "+", "-" prefix and
cgroup.type can only be written with value "threaded" if we want to make this
controller threaded. cgroup.type is a special property because this property
must be restored before any processes can move into this controller.

Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
2022-11-01 21:35:04 -07:00
..
arch ci: Fix code indent 2022-06-22 08:45:45 +02:00
include cgroup-v2: Checkpoint and restore some global properties 2022-11-01 21:35:04 -07:00
pie non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
unittest ci: Fix code indent 2022-06-22 08:45:45 +02:00
action-scripts.c configs: fix used after free cases 2021-09-03 10:31:00 -07:00
aio.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
apparmor.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
autofs.c mount: add service_mountpoint getter for ->mountpoint 2022-04-28 17:53:52 -07:00
bfd.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
bitmap.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
bpfmap.c bpf: update deprecated API 2022-04-28 17:53:52 -07:00
cgroup-props.c cgroup-v2: Checkpoint and restore some global properties 2022-11-01 21:35:04 -07:00
cgroup.c cgroup-v2: Checkpoint and restore some global properties 2022-11-01 21:35:04 -07:00
clone-noasan.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
config.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
cr-check.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
cr-dedup.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
cr-dump.c rseq: fix headers conflict on Mariner GNU/Linux 2022-07-19 12:51:35 -07:00
cr-errno.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
cr-restore.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
cr-service.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
crtools.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
eventfd.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
eventpoll.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
external.c configs: fix used after free cases 2021-09-03 10:31:00 -07:00
fault-injection.c Add error logging to config + crtools init 2020-10-20 00:18:24 -07:00
fdstore.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
fifo.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
file-ids.c criu/files: Don't cache fd ids for device files 2022-04-28 17:53:52 -07:00
file-lock.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
files-ext.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
files-reg.c files-reg: skip failed mount lookup for shell-job's tty 2022-08-30 15:11:33 -07:00
files.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
filesystems.c mount: add service_mountpoint getter for ->mountpoint 2022-04-28 17:53:52 -07:00
fsnotify.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
hugetlb.c hugetlb: don't dump anonymous private hugetlb mapping using memfd approach 2022-06-14 08:36:18 -07:00
image-desc.c lsm: support checkpoint/restore of stacked apparmor profiles 2021-09-03 10:31:00 -07:00
image.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
img-streamer.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
ipc_ns.c ipc_sysctl: Prioritize restoring IPC variables using non usernsd approach 2022-11-01 21:31:58 -07:00
irmap.c clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
kcmp-ids.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
kerndat.c non-root: Introduce unprivileged mode to kerndat 2022-10-25 07:26:42 -07:00
libnetlink.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
log.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
lsm.c lsm: do not print a warning if no LSM has been detected 2021-09-03 10:31:00 -07:00
Makefile unittest: add some tests for get_relative_path helper 2022-04-28 17:53:52 -07:00
Makefile.crtools config/rpc: add new option --mntns-compat-mode for old mount engine 2022-04-28 17:53:52 -07:00
Makefile.packages Switch to python 3 variants of dependencies on debian-based builds 2020-10-20 00:18:24 -07:00
mem.c mem: Skip pre-dumping on hugetlb mappings 2022-05-12 17:55:46 -07:00
memfd.c Typo: mmaped -> mmapped 2022-04-28 17:53:52 -07:00
mount-v2.c mount-v2: workaround for multiple external bindmounts with no common root 2022-06-12 23:11:04 -07:00
mount.c criu/mount.c: separate \t 2022-04-28 17:53:52 -07:00
namespaces.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
net.c Fix remaining codespell warnings 2022-04-28 17:53:52 -07:00
netfilter.c criu: use unique table names for nftables based locking 2021-09-03 10:31:00 -07:00
page-pipe.c page-pipe: fix limiting a pipe size 2022-05-12 23:07:35 -07:00
page-xfer.c page-xfer: refactoring analyze_iov and fill_userbuf 2022-05-12 23:07:35 -07:00
pagemap-cache.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
pagemap.c pagemap: tiny fix on truncating memory image 2022-04-28 17:53:52 -07:00
parasite-syscall.c rseq: fail dump if rseq is used but host doesn't support get_rseq_conf feature 2022-04-28 17:53:52 -07:00
path.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
pidfd-store.c criu: generate unique socket names 2022-04-28 17:53:52 -07:00
pie-util-vdso-elf32.c vdso: fill compat symtab in CRIU 2017-03-15 00:09:52 +03:00
pie-util-vdso.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
pie-util.c build: Move everything criu related into criu directory 2016-02-15 15:32:45 +03:00
pipes.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
plugin.c criu: Introduce new device file plugin hooks 2022-04-28 17:53:52 -07:00
proc_parse.c infect: add SIGTSTP support 2022-07-02 09:06:30 -07:00
protobuf-desc.c lsm: support checkpoint/restore of stacked apparmor profiles 2021-09-03 10:31:00 -07:00
protobuf.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
pstree.c infect: add SIGTSTP support 2022-07-02 09:06:30 -07:00
rbtree.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
rst-malloc.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
seccomp.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
seize.c seize: do not overwrite exit code from failpath 2022-09-14 16:43:35 -07:00
servicefd.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
shmem.c memfd, shmem: Add support for checkpoint/restore memfd and anon shared memory 2022-04-28 17:53:52 -07:00
sigframe.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
signalfd.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
sk-inet.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
sk-netlink.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
sk-packet.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
sk-queue.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
sk-tcp.c tcp: Skip restoring TCP state when dumping with --tcp-close 2022-04-28 17:53:52 -07:00
sk-unix.c criu: fail migration if data was sent to an in-flight socket 2022-08-22 17:05:34 -07:00
sockets.c sockets: c/r bufer size locks 2022-04-28 17:53:52 -07:00
stats.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
string.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
sysctl.c ipc_sysctl: Prioritize restoring IPC variables using non usernsd approach 2022-11-01 21:31:58 -07:00
sysfs_parse.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
timens.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
timerfd.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
tls.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tty.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tun.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
uffd.c Fix some codespell warnings 2022-04-28 17:53:52 -07:00
util.c non-root: enable non-root checkpoint/restore 2022-10-25 07:26:42 -07:00
uts_ns.c util: Include int.h (compilation fix) 2016-10-24 16:00:16 +03:00
vdso-compat.c Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
vdso.c vdso-compat: Increase the reserved buffer for compat vdso 2022-07-25 18:22:14 -07:00