mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
Here is nothing interecting. If a file can't be dumped by criu, plugins are called. If one of plugins knows how to dump the file, the file entry is marked as need_callback. On restore if we see this mark, we execute plugins for restoring the file. v2: Callbacks are called for all files, which are not supported by CRIU. v3: Call plugins for a file instead of file descriptor. A few file descriptors can be associated with one file. v4: A file descriptor is opened in a callback. It's required for restoring anon vmas. v5: Add a separate type for unsupported files v6: define FD_TYPES__UNSUPP v7: s/unsupp/ext (external) Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
77 lines
1.5 KiB
Makefile
77 lines
1.5 KiB
Makefile
obj-y += parasite-syscall.o
|
|
obj-y += mem.o
|
|
obj-y += rst-malloc.o
|
|
obj-y += cr-restore.o
|
|
obj-y += crtools.o
|
|
obj-y += security.o
|
|
obj-y += image.o
|
|
obj-y += image-desc.o
|
|
obj-y += net.o
|
|
obj-y += tun.o
|
|
obj-y += proc_parse.o
|
|
obj-y += cr-dump.o
|
|
obj-y += cr-show.o
|
|
obj-y += cr-check.o
|
|
obj-y += cr-dedup.o
|
|
obj-y += util.o
|
|
obj-y += sysctl.o
|
|
obj-y += ptrace.o
|
|
obj-y += kcmp-ids.o
|
|
obj-y += rbtree.o
|
|
obj-y += log.o
|
|
obj-y += libnetlink.o
|
|
obj-y += sockets.o
|
|
obj-y += sk-inet.o
|
|
obj-y += sk-tcp.o
|
|
obj-y += sk-unix.o
|
|
obj-y += sk-packet.o
|
|
obj-y += sk-netlink.o
|
|
obj-y += sk-queue.o
|
|
obj-y += files.o
|
|
obj-y += files-reg.o
|
|
obj-y += files-ext.o
|
|
obj-y += pipes.o
|
|
obj-y += fifo.o
|
|
obj-y += file-ids.o
|
|
obj-y += namespaces.o
|
|
obj-y += uts_ns.o
|
|
obj-y += ipc_ns.o
|
|
obj-y += netfilter.o
|
|
obj-y += shmem.o
|
|
obj-y += eventfd.o
|
|
obj-y += eventpoll.o
|
|
obj-y += mount.o
|
|
obj-y += fsnotify.o
|
|
obj-y += signalfd.o
|
|
obj-y += pstree.o
|
|
obj-y += protobuf.o
|
|
obj-y += protobuf-desc.o
|
|
obj-y += tty.o
|
|
obj-y += cr-exec.o
|
|
obj-y += file-lock.o
|
|
obj-y += page-pipe.o
|
|
obj-y += page-xfer.o
|
|
obj-y += page-read.o
|
|
obj-y += kerndat.o
|
|
obj-y += stats.o
|
|
obj-y += string.o
|
|
obj-y += sigframe.o
|
|
obj-y += arch/$(ARCH)/vdso.o
|
|
obj-y += cr-service.o
|
|
obj-y += sd-daemon.o
|
|
obj-y += plugin.o
|
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
incdeps := y
|
|
endif
|
|
|
|
PROTOBUF_GEN := scripts/protobuf-gen.sh
|
|
|
|
protobuf-desc.c: protobuf-desc-gen.h
|
|
|
|
protobuf-desc-gen.h: $(PROTOBUF_GEN) include/protobuf-desc.h
|
|
$(E) " GEN " $@
|
|
$(Q) $(SH) $(obj)/$(PROTOBUF_GEN) > $@
|
|
|
|
cleanup-y += protobuf-desc-gen.h
|