diff --git a/README.md b/README.md index 58f23ab9f..23a27da9f 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ The following table shows the relation between go-criu and criu versions: | Major version | Latest release | CRIU version | | -------------- | -------------- | ------------ | +| v7             | 7.0.0         | 3.18         | | v6             | 6.3.0         | 3.17         | | v5             | 5.3.0         | 3.16         | | v5             | 5.0.0         | 3.15         | diff --git a/crit/cli/cli.go b/crit/cli/cli.go index 1bc547d9d..342a4104f 100644 --- a/crit/cli/cli.go +++ b/crit/cli/cli.go @@ -7,7 +7,7 @@ import ( "log" "os" - "github.com/checkpoint-restore/go-criu/v6/crit" + "github.com/checkpoint-restore/go-criu/v7/crit" "github.com/spf13/cobra" ) diff --git a/crit/cli/handler.go b/crit/cli/handler.go index a9e7e3be2..b9ce02c12 100644 --- a/crit/cli/handler.go +++ b/crit/cli/handler.go @@ -6,60 +6,60 @@ import ( "io" "os" - "github.com/checkpoint-restore/go-criu/v6/crit" - "github.com/checkpoint-restore/go-criu/v6/crit/images/apparmor" - "github.com/checkpoint-restore/go-criu/v6/crit/images/autofs" - binfmt_misc "github.com/checkpoint-restore/go-criu/v6/crit/images/binfmt-misc" - bpfmap_data "github.com/checkpoint-restore/go-criu/v6/crit/images/bpfmap-data" - bpfmap_file "github.com/checkpoint-restore/go-criu/v6/crit/images/bpfmap-file" - "github.com/checkpoint-restore/go-criu/v6/crit/images/cgroup" - "github.com/checkpoint-restore/go-criu/v6/crit/images/cpuinfo" - "github.com/checkpoint-restore/go-criu/v6/crit/images/creds" - criu_core "github.com/checkpoint-restore/go-criu/v6/crit/images/criu-core" - criu_sa "github.com/checkpoint-restore/go-criu/v6/crit/images/criu-sa" - "github.com/checkpoint-restore/go-criu/v6/crit/images/eventfd" - "github.com/checkpoint-restore/go-criu/v6/crit/images/eventpoll" - ext_file "github.com/checkpoint-restore/go-criu/v6/crit/images/ext-file" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fdinfo" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fh" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fifo" - file_lock "github.com/checkpoint-restore/go-criu/v6/crit/images/file-lock" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fs" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fsnotify" - "github.com/checkpoint-restore/go-criu/v6/crit/images/inventory" - ipc_msg "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-msg" - ipc_sem "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-sem" - ipc_shm "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-shm" - ipc_var "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-var" - "github.com/checkpoint-restore/go-criu/v6/crit/images/memfd" - "github.com/checkpoint-restore/go-criu/v6/crit/images/mm" - "github.com/checkpoint-restore/go-criu/v6/crit/images/mnt" - "github.com/checkpoint-restore/go-criu/v6/crit/images/netdev" - "github.com/checkpoint-restore/go-criu/v6/crit/images/ns" - packet_sock "github.com/checkpoint-restore/go-criu/v6/crit/images/packet-sock" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pidns" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pipe" - pipe_data "github.com/checkpoint-restore/go-criu/v6/crit/images/pipe-data" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pstree" - "github.com/checkpoint-restore/go-criu/v6/crit/images/regfile" - remap_file_path "github.com/checkpoint-restore/go-criu/v6/crit/images/remap-file-path" - "github.com/checkpoint-restore/go-criu/v6/crit/images/rlimit" - "github.com/checkpoint-restore/go-criu/v6/crit/images/seccomp" - "github.com/checkpoint-restore/go-criu/v6/crit/images/signalfd" - sk_inet "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-inet" - sk_netlink "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-netlink" - sk_packet "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-packet" - sk_unix "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-unix" - "github.com/checkpoint-restore/go-criu/v6/crit/images/stats" - tcp_stream "github.com/checkpoint-restore/go-criu/v6/crit/images/tcp-stream" - "github.com/checkpoint-restore/go-criu/v6/crit/images/timens" - "github.com/checkpoint-restore/go-criu/v6/crit/images/timer" - "github.com/checkpoint-restore/go-criu/v6/crit/images/timerfd" - "github.com/checkpoint-restore/go-criu/v6/crit/images/tty" - "github.com/checkpoint-restore/go-criu/v6/crit/images/tun" - "github.com/checkpoint-restore/go-criu/v6/crit/images/userns" - "github.com/checkpoint-restore/go-criu/v6/crit/images/utsns" - "github.com/checkpoint-restore/go-criu/v6/crit/images/vma" + "github.com/checkpoint-restore/go-criu/v7/crit" + "github.com/checkpoint-restore/go-criu/v7/crit/images/apparmor" + "github.com/checkpoint-restore/go-criu/v7/crit/images/autofs" + binfmt_misc "github.com/checkpoint-restore/go-criu/v7/crit/images/binfmt-misc" + bpfmap_data "github.com/checkpoint-restore/go-criu/v7/crit/images/bpfmap-data" + bpfmap_file "github.com/checkpoint-restore/go-criu/v7/crit/images/bpfmap-file" + "github.com/checkpoint-restore/go-criu/v7/crit/images/cgroup" + "github.com/checkpoint-restore/go-criu/v7/crit/images/cpuinfo" + "github.com/checkpoint-restore/go-criu/v7/crit/images/creds" + criu_core "github.com/checkpoint-restore/go-criu/v7/crit/images/criu-core" + criu_sa "github.com/checkpoint-restore/go-criu/v7/crit/images/criu-sa" + "github.com/checkpoint-restore/go-criu/v7/crit/images/eventfd" + "github.com/checkpoint-restore/go-criu/v7/crit/images/eventpoll" + ext_file "github.com/checkpoint-restore/go-criu/v7/crit/images/ext-file" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fdinfo" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fh" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fifo" + file_lock "github.com/checkpoint-restore/go-criu/v7/crit/images/file-lock" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fs" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fsnotify" + "github.com/checkpoint-restore/go-criu/v7/crit/images/inventory" + ipc_msg "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-msg" + ipc_sem "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-sem" + ipc_shm "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-shm" + ipc_var "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-var" + "github.com/checkpoint-restore/go-criu/v7/crit/images/memfd" + "github.com/checkpoint-restore/go-criu/v7/crit/images/mm" + "github.com/checkpoint-restore/go-criu/v7/crit/images/mnt" + "github.com/checkpoint-restore/go-criu/v7/crit/images/netdev" + "github.com/checkpoint-restore/go-criu/v7/crit/images/ns" + packet_sock "github.com/checkpoint-restore/go-criu/v7/crit/images/packet-sock" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pidns" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pipe" + pipe_data "github.com/checkpoint-restore/go-criu/v7/crit/images/pipe-data" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pstree" + "github.com/checkpoint-restore/go-criu/v7/crit/images/regfile" + remap_file_path "github.com/checkpoint-restore/go-criu/v7/crit/images/remap-file-path" + "github.com/checkpoint-restore/go-criu/v7/crit/images/rlimit" + "github.com/checkpoint-restore/go-criu/v7/crit/images/seccomp" + "github.com/checkpoint-restore/go-criu/v7/crit/images/signalfd" + sk_inet "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-inet" + sk_netlink "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-netlink" + sk_packet "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-packet" + sk_unix "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-unix" + "github.com/checkpoint-restore/go-criu/v7/crit/images/stats" + tcp_stream "github.com/checkpoint-restore/go-criu/v7/crit/images/tcp-stream" + "github.com/checkpoint-restore/go-criu/v7/crit/images/timens" + "github.com/checkpoint-restore/go-criu/v7/crit/images/timer" + "github.com/checkpoint-restore/go-criu/v7/crit/images/timerfd" + "github.com/checkpoint-restore/go-criu/v7/crit/images/tty" + "github.com/checkpoint-restore/go-criu/v7/crit/images/tun" + "github.com/checkpoint-restore/go-criu/v7/crit/images/userns" + "github.com/checkpoint-restore/go-criu/v7/crit/images/utsns" + "github.com/checkpoint-restore/go-criu/v7/crit/images/vma" "google.golang.org/protobuf/proto" ) diff --git a/crit/cmd/main.go b/crit/cmd/main.go index 68515f0d8..32d886e14 100644 --- a/crit/cmd/main.go +++ b/crit/cmd/main.go @@ -1,6 +1,6 @@ package main -import "github.com/checkpoint-restore/go-criu/v6/crit/cli" +import "github.com/checkpoint-restore/go-criu/v7/crit/cli" func main() { cli.Init() diff --git a/crit/decode-extra.go b/crit/decode-extra.go index 864a1fe93..a06df7cb1 100644 --- a/crit/decode-extra.go +++ b/crit/decode-extra.go @@ -8,13 +8,13 @@ import ( "io" "os" - bpfmap_data "github.com/checkpoint-restore/go-criu/v6/crit/images/bpfmap-data" - ipc_msg "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-msg" - ipc_sem "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-sem" - ipc_shm "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-shm" - pipe_data "github.com/checkpoint-restore/go-criu/v6/crit/images/pipe-data" - sk_packet "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-packet" - tcp_stream "github.com/checkpoint-restore/go-criu/v6/crit/images/tcp-stream" + bpfmap_data "github.com/checkpoint-restore/go-criu/v7/crit/images/bpfmap-data" + ipc_msg "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-msg" + ipc_sem "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-sem" + ipc_shm "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-shm" + pipe_data "github.com/checkpoint-restore/go-criu/v7/crit/images/pipe-data" + sk_packet "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-packet" + tcp_stream "github.com/checkpoint-restore/go-criu/v7/crit/images/tcp-stream" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) diff --git a/crit/decode.go b/crit/decode.go index 59ca7834e..cb11bcaa4 100644 --- a/crit/decode.go +++ b/crit/decode.go @@ -7,8 +7,8 @@ import ( "io" "os" - ghost_file "github.com/checkpoint-restore/go-criu/v6/crit/images/ghost-file" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pagemap" + ghost_file "github.com/checkpoint-restore/go-criu/v7/crit/images/ghost-file" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pagemap" "google.golang.org/protobuf/proto" ) diff --git a/crit/encode-extra.go b/crit/encode-extra.go index e8aacb636..8516ac2ab 100644 --- a/crit/encode-extra.go +++ b/crit/encode-extra.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "encoding/json" - ipc_msg "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-msg" + ipc_msg "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-msg" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) diff --git a/crit/encode.go b/crit/encode.go index 602acdb05..8861cca97 100644 --- a/crit/encode.go +++ b/crit/encode.go @@ -7,7 +7,7 @@ import ( "fmt" "os" - "github.com/checkpoint-restore/go-criu/v6/magic" + "github.com/checkpoint-restore/go-criu/v7/magic" "google.golang.org/protobuf/proto" ) diff --git a/crit/explore.go b/crit/explore.go index 18532ef11..54d42f1b8 100644 --- a/crit/explore.go +++ b/crit/explore.go @@ -5,12 +5,12 @@ import ( "path/filepath" "strconv" - criu_core "github.com/checkpoint-restore/go-criu/v6/crit/images/criu-core" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fdinfo" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fs" - "github.com/checkpoint-restore/go-criu/v6/crit/images/mm" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pagemap" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pstree" + criu_core "github.com/checkpoint-restore/go-criu/v7/crit/images/criu-core" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fdinfo" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fs" + "github.com/checkpoint-restore/go-criu/v7/crit/images/mm" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pagemap" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pstree" ) // PsTree represents the process tree diff --git a/crit/image.go b/crit/image.go index 7755ddeda..7c6fc162a 100644 --- a/crit/image.go +++ b/crit/image.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - ghost_file "github.com/checkpoint-restore/go-criu/v6/crit/images/ghost-file" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pagemap" + ghost_file "github.com/checkpoint-restore/go-criu/v7/crit/images/ghost-file" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pagemap" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) diff --git a/crit/images/bpfmap-file/bpfmap-file.pb.go b/crit/images/bpfmap-file/bpfmap-file.pb.go index f7b520ba0..b9a8f88b8 100644 --- a/crit/images/bpfmap-file/bpfmap-file.pb.go +++ b/crit/images/bpfmap-file/bpfmap-file.pb.go @@ -9,8 +9,8 @@ package bpfmap_file import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/core-aarch64/core-aarch64.pb.go b/crit/images/core-aarch64/core-aarch64.pb.go index c1202efac..36e5a544d 100644 --- a/crit/images/core-aarch64/core-aarch64.pb.go +++ b/crit/images/core-aarch64/core-aarch64.pb.go @@ -9,7 +9,7 @@ package core_aarch64 import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/core-arm/core-arm.pb.go b/crit/images/core-arm/core-arm.pb.go index 97e127365..9a3694ed3 100644 --- a/crit/images/core-arm/core-arm.pb.go +++ b/crit/images/core-arm/core-arm.pb.go @@ -9,7 +9,7 @@ package core_arm import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/core-mips/core-mips.pb.go b/crit/images/core-mips/core-mips.pb.go index d697df1e3..a0dfaca80 100644 --- a/crit/images/core-mips/core-mips.pb.go +++ b/crit/images/core-mips/core-mips.pb.go @@ -9,7 +9,7 @@ package core_mips import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/core-ppc64/core-ppc64.pb.go b/crit/images/core-ppc64/core-ppc64.pb.go index 3dc03fbd4..b513bee15 100644 --- a/crit/images/core-ppc64/core-ppc64.pb.go +++ b/crit/images/core-ppc64/core-ppc64.pb.go @@ -9,7 +9,7 @@ package core_ppc64 import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/core-s390/core-s390.pb.go b/crit/images/core-s390/core-s390.pb.go index 586960ef0..2f79788d0 100644 --- a/crit/images/core-s390/core-s390.pb.go +++ b/crit/images/core-s390/core-s390.pb.go @@ -9,7 +9,7 @@ package core_s390 import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/core-x86/core-x86.pb.go b/crit/images/core-x86/core-x86.pb.go index c943b4743..6bb2c99b2 100644 --- a/crit/images/core-x86/core-x86.pb.go +++ b/crit/images/core-x86/core-x86.pb.go @@ -9,7 +9,7 @@ package core_x86 import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/criu-core/criu-core.pb.go b/crit/images/criu-core/criu-core.pb.go index eb8ddaedd..87d0cc904 100644 --- a/crit/images/criu-core/criu-core.pb.go +++ b/crit/images/criu-core/criu-core.pb.go @@ -9,19 +9,19 @@ package criu_core import ( - core_aarch64 "github.com/checkpoint-restore/go-criu/v6/crit/images/core-aarch64" - core_arm "github.com/checkpoint-restore/go-criu/v6/crit/images/core-arm" - core_mips "github.com/checkpoint-restore/go-criu/v6/crit/images/core-mips" - core_ppc64 "github.com/checkpoint-restore/go-criu/v6/crit/images/core-ppc64" - core_s390 "github.com/checkpoint-restore/go-criu/v6/crit/images/core-s390" - core_x86 "github.com/checkpoint-restore/go-criu/v6/crit/images/core-x86" - creds "github.com/checkpoint-restore/go-criu/v6/crit/images/creds" - criu_sa "github.com/checkpoint-restore/go-criu/v6/crit/images/criu-sa" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - rlimit "github.com/checkpoint-restore/go-criu/v6/crit/images/rlimit" - rseq "github.com/checkpoint-restore/go-criu/v6/crit/images/rseq" - siginfo "github.com/checkpoint-restore/go-criu/v6/crit/images/siginfo" - timer "github.com/checkpoint-restore/go-criu/v6/crit/images/timer" + core_aarch64 "github.com/checkpoint-restore/go-criu/v7/crit/images/core-aarch64" + core_arm "github.com/checkpoint-restore/go-criu/v7/crit/images/core-arm" + core_mips "github.com/checkpoint-restore/go-criu/v7/crit/images/core-mips" + core_ppc64 "github.com/checkpoint-restore/go-criu/v7/crit/images/core-ppc64" + core_s390 "github.com/checkpoint-restore/go-criu/v7/crit/images/core-s390" + core_x86 "github.com/checkpoint-restore/go-criu/v7/crit/images/core-x86" + creds "github.com/checkpoint-restore/go-criu/v7/crit/images/creds" + criu_sa "github.com/checkpoint-restore/go-criu/v7/crit/images/criu-sa" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + rlimit "github.com/checkpoint-restore/go-criu/v7/crit/images/rlimit" + rseq "github.com/checkpoint-restore/go-criu/v7/crit/images/rseq" + siginfo "github.com/checkpoint-restore/go-criu/v7/crit/images/siginfo" + timer "github.com/checkpoint-restore/go-criu/v7/crit/images/timer" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/criu-sa/criu-sa.pb.go b/crit/images/criu-sa/criu-sa.pb.go index 25bbb25c1..62aea7e69 100644 --- a/crit/images/criu-sa/criu-sa.pb.go +++ b/crit/images/criu-sa/criu-sa.pb.go @@ -9,7 +9,7 @@ package criu_sa import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/eventfd/eventfd.pb.go b/crit/images/eventfd/eventfd.pb.go index d91a3d9f7..b77b80cb0 100644 --- a/crit/images/eventfd/eventfd.pb.go +++ b/crit/images/eventfd/eventfd.pb.go @@ -9,7 +9,7 @@ package eventfd import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/eventpoll/eventpoll.pb.go b/crit/images/eventpoll/eventpoll.pb.go index 61067c1a8..32d5ccd4a 100644 --- a/crit/images/eventpoll/eventpoll.pb.go +++ b/crit/images/eventpoll/eventpoll.pb.go @@ -9,7 +9,7 @@ package eventpoll import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/ext-file/ext-file.pb.go b/crit/images/ext-file/ext-file.pb.go index 9f1be9421..971d094de 100644 --- a/crit/images/ext-file/ext-file.pb.go +++ b/crit/images/ext-file/ext-file.pb.go @@ -9,7 +9,7 @@ package ext_file import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/fdinfo/fdinfo.pb.go b/crit/images/fdinfo/fdinfo.pb.go index 02231f1f2..ee4551bdf 100644 --- a/crit/images/fdinfo/fdinfo.pb.go +++ b/crit/images/fdinfo/fdinfo.pb.go @@ -9,24 +9,24 @@ package fdinfo import ( - bpfmap_file "github.com/checkpoint-restore/go-criu/v6/crit/images/bpfmap-file" - eventfd "github.com/checkpoint-restore/go-criu/v6/crit/images/eventfd" - eventpoll "github.com/checkpoint-restore/go-criu/v6/crit/images/eventpoll" - ext_file "github.com/checkpoint-restore/go-criu/v6/crit/images/ext-file" - fifo "github.com/checkpoint-restore/go-criu/v6/crit/images/fifo" - fsnotify "github.com/checkpoint-restore/go-criu/v6/crit/images/fsnotify" - memfd "github.com/checkpoint-restore/go-criu/v6/crit/images/memfd" - ns "github.com/checkpoint-restore/go-criu/v6/crit/images/ns" - packet_sock "github.com/checkpoint-restore/go-criu/v6/crit/images/packet-sock" - pipe "github.com/checkpoint-restore/go-criu/v6/crit/images/pipe" - regfile "github.com/checkpoint-restore/go-criu/v6/crit/images/regfile" - signalfd "github.com/checkpoint-restore/go-criu/v6/crit/images/signalfd" - sk_inet "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-inet" - sk_netlink "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-netlink" - sk_unix "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-unix" - timerfd "github.com/checkpoint-restore/go-criu/v6/crit/images/timerfd" - tty "github.com/checkpoint-restore/go-criu/v6/crit/images/tty" - tun "github.com/checkpoint-restore/go-criu/v6/crit/images/tun" + bpfmap_file "github.com/checkpoint-restore/go-criu/v7/crit/images/bpfmap-file" + eventfd "github.com/checkpoint-restore/go-criu/v7/crit/images/eventfd" + eventpoll "github.com/checkpoint-restore/go-criu/v7/crit/images/eventpoll" + ext_file "github.com/checkpoint-restore/go-criu/v7/crit/images/ext-file" + fifo "github.com/checkpoint-restore/go-criu/v7/crit/images/fifo" + fsnotify "github.com/checkpoint-restore/go-criu/v7/crit/images/fsnotify" + memfd "github.com/checkpoint-restore/go-criu/v7/crit/images/memfd" + ns "github.com/checkpoint-restore/go-criu/v7/crit/images/ns" + packet_sock "github.com/checkpoint-restore/go-criu/v7/crit/images/packet-sock" + pipe "github.com/checkpoint-restore/go-criu/v7/crit/images/pipe" + regfile "github.com/checkpoint-restore/go-criu/v7/crit/images/regfile" + signalfd "github.com/checkpoint-restore/go-criu/v7/crit/images/signalfd" + sk_inet "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-inet" + sk_netlink "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-netlink" + sk_unix "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-unix" + timerfd "github.com/checkpoint-restore/go-criu/v7/crit/images/timerfd" + tty "github.com/checkpoint-restore/go-criu/v7/crit/images/tty" + tun "github.com/checkpoint-restore/go-criu/v7/crit/images/tun" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/fh/fh.pb.go b/crit/images/fh/fh.pb.go index 9b216803e..6bbfbb57d 100644 --- a/crit/images/fh/fh.pb.go +++ b/crit/images/fh/fh.pb.go @@ -9,7 +9,7 @@ package fh import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/fsnotify/fsnotify.pb.go b/crit/images/fsnotify/fsnotify.pb.go index 657dd9e48..954ec6e03 100644 --- a/crit/images/fsnotify/fsnotify.pb.go +++ b/crit/images/fsnotify/fsnotify.pb.go @@ -9,9 +9,9 @@ package fsnotify import ( - fh "github.com/checkpoint-restore/go-criu/v6/crit/images/fh" - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fh "github.com/checkpoint-restore/go-criu/v7/crit/images/fh" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/ghost-file/ghost-file.pb.go b/crit/images/ghost-file/ghost-file.pb.go index a06739311..4122c673b 100644 --- a/crit/images/ghost-file/ghost-file.pb.go +++ b/crit/images/ghost-file/ghost-file.pb.go @@ -9,8 +9,8 @@ package ghost_file import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - time "github.com/checkpoint-restore/go-criu/v6/crit/images/time" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + time "github.com/checkpoint-restore/go-criu/v7/crit/images/time" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/inventory/inventory.pb.go b/crit/images/inventory/inventory.pb.go index 188d7be5a..2015674fb 100644 --- a/crit/images/inventory/inventory.pb.go +++ b/crit/images/inventory/inventory.pb.go @@ -9,7 +9,7 @@ package inventory import ( - criu_core "github.com/checkpoint-restore/go-criu/v6/crit/images/criu-core" + criu_core "github.com/checkpoint-restore/go-criu/v7/crit/images/criu-core" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/ipc-msg/ipc-msg.pb.go b/crit/images/ipc-msg/ipc-msg.pb.go index b2376716d..91029fcfe 100644 --- a/crit/images/ipc-msg/ipc-msg.pb.go +++ b/crit/images/ipc-msg/ipc-msg.pb.go @@ -9,7 +9,7 @@ package ipc_msg import ( - ipc_desc "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-desc" + ipc_desc "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-desc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/ipc-sem/ipc-sem.pb.go b/crit/images/ipc-sem/ipc-sem.pb.go index abbe59095..ec8c11235 100644 --- a/crit/images/ipc-sem/ipc-sem.pb.go +++ b/crit/images/ipc-sem/ipc-sem.pb.go @@ -9,7 +9,7 @@ package ipc_sem import ( - ipc_desc "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-desc" + ipc_desc "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-desc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/ipc-shm/ipc-shm.pb.go b/crit/images/ipc-shm/ipc-shm.pb.go index 6d4dde2f5..d38bde375 100644 --- a/crit/images/ipc-shm/ipc-shm.pb.go +++ b/crit/images/ipc-shm/ipc-shm.pb.go @@ -9,7 +9,7 @@ package ipc_shm import ( - ipc_desc "github.com/checkpoint-restore/go-criu/v6/crit/images/ipc-desc" + ipc_desc "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-desc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/memfd/memfd.pb.go b/crit/images/memfd/memfd.pb.go index 5d946ebc8..82e82db12 100644 --- a/crit/images/memfd/memfd.pb.go +++ b/crit/images/memfd/memfd.pb.go @@ -9,8 +9,8 @@ package memfd import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/mm/mm.pb.go b/crit/images/mm/mm.pb.go index c27c20af0..07ef1296a 100644 --- a/crit/images/mm/mm.pb.go +++ b/crit/images/mm/mm.pb.go @@ -9,8 +9,8 @@ package mm import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - vma "github.com/checkpoint-restore/go-criu/v6/crit/images/vma" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + vma "github.com/checkpoint-restore/go-criu/v7/crit/images/vma" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/mnt/mnt.pb.go b/crit/images/mnt/mnt.pb.go index a3d323800..9b82c0325 100644 --- a/crit/images/mnt/mnt.pb.go +++ b/crit/images/mnt/mnt.pb.go @@ -9,7 +9,7 @@ package mnt import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/netdev/netdev.pb.go b/crit/images/netdev/netdev.pb.go index faceb6363..d71f7fe9c 100644 --- a/crit/images/netdev/netdev.pb.go +++ b/crit/images/netdev/netdev.pb.go @@ -9,11 +9,11 @@ package netdev import ( - macvlan "github.com/checkpoint-restore/go-criu/v6/crit/images/macvlan" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - sit "github.com/checkpoint-restore/go-criu/v6/crit/images/sit" - sysctl "github.com/checkpoint-restore/go-criu/v6/crit/images/sysctl" - tun "github.com/checkpoint-restore/go-criu/v6/crit/images/tun" + macvlan "github.com/checkpoint-restore/go-criu/v7/crit/images/macvlan" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + sit "github.com/checkpoint-restore/go-criu/v7/crit/images/sit" + sysctl "github.com/checkpoint-restore/go-criu/v7/crit/images/sysctl" + tun "github.com/checkpoint-restore/go-criu/v7/crit/images/tun" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/opts/opts.pb.go b/crit/images/opts/opts.pb.go index f96ab0bc9..fc7513467 100644 --- a/crit/images/opts/opts.pb.go +++ b/crit/images/opts/opts.pb.go @@ -29,7 +29,7 @@ type CRIU_Opts struct { unknownFields protoimpl.UnknownFields Hex *bool `protobuf:"varint,1,opt,name=hex" json:"hex,omitempty"` // Indicate that CRIT should treat this field as hex. - Ipadd *bool `protobuf:"varint,2,opt,name=ipadd" json:"ipadd,omitempty"` // The field is IPv4/v6 address + Ipadd *bool `protobuf:"varint,2,opt,name=ipadd" json:"ipadd,omitempty"` // The field is IPv4/v7 address Flags *string `protobuf:"bytes,3,opt,name=flags" json:"flags,omitempty"` Dev *bool `protobuf:"varint,4,opt,name=dev" json:"dev,omitempty"` // Device major:minor packed Odev *bool `protobuf:"varint,5,opt,name=odev" json:"odev,omitempty"` // ... in old format diff --git a/crit/images/packet-sock/packet-sock.pb.go b/crit/images/packet-sock/packet-sock.pb.go index 309a0a158..0c9003af5 100644 --- a/crit/images/packet-sock/packet-sock.pb.go +++ b/crit/images/packet-sock/packet-sock.pb.go @@ -9,9 +9,9 @@ package packet_sock import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - sk_opts "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + sk_opts "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/pagemap/pagemap.pb.go b/crit/images/pagemap/pagemap.pb.go index 0528ccda3..f7c51fd11 100644 --- a/crit/images/pagemap/pagemap.pb.go +++ b/crit/images/pagemap/pagemap.pb.go @@ -9,7 +9,7 @@ package pagemap import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/pipe/pipe.pb.go b/crit/images/pipe/pipe.pb.go index 8f5e18512..7a91a6dbd 100644 --- a/crit/images/pipe/pipe.pb.go +++ b/crit/images/pipe/pipe.pb.go @@ -9,8 +9,8 @@ package pipe import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/regfile/regfile.pb.go b/crit/images/regfile/regfile.pb.go index e8227141d..3caa63fba 100644 --- a/crit/images/regfile/regfile.pb.go +++ b/crit/images/regfile/regfile.pb.go @@ -9,8 +9,8 @@ package regfile import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/signalfd/signalfd.pb.go b/crit/images/signalfd/signalfd.pb.go index 8ed3337dc..1e80c8eea 100644 --- a/crit/images/signalfd/signalfd.pb.go +++ b/crit/images/signalfd/signalfd.pb.go @@ -9,8 +9,8 @@ package signalfd import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/sit/sit.pb.go b/crit/images/sit/sit.pb.go index 768ab93b3..9fb908ad6 100644 --- a/crit/images/sit/sit.pb.go +++ b/crit/images/sit/sit.pb.go @@ -9,7 +9,7 @@ package sit import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/sk-inet/sk-inet.pb.go b/crit/images/sk-inet/sk-inet.pb.go index 8817324e9..a952b9d17 100644 --- a/crit/images/sk-inet/sk-inet.pb.go +++ b/crit/images/sk-inet/sk-inet.pb.go @@ -9,9 +9,9 @@ package sk_inet import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - sk_opts "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + sk_opts "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -185,9 +185,9 @@ type InetSkEntry struct { DstAddr []uint32 `protobuf:"varint,12,rep,name=dst_addr,json=dstAddr" json:"dst_addr,omitempty"` Fown *fown.FownEntry `protobuf:"bytes,13,req,name=fown" json:"fown,omitempty"` Opts *sk_opts.SkOptsEntry `protobuf:"bytes,14,req,name=opts" json:"opts,omitempty"` - V6Only *bool `protobuf:"varint,15,opt,name=v6only" json:"v6only,omitempty"` + V6Only *bool `protobuf:"varint,15,opt,name=v7only" json:"v6only,omitempty"` IpOpts *IpOptsEntry `protobuf:"bytes,16,opt,name=ip_opts,json=ipOpts" json:"ip_opts,omitempty"` - // for ipv6, we need to send the ifindex to bind(); we keep the ifname + // for ipv7, we need to send the ifindex to bind(); we keep the ifname // here and convert it on restore Ifname *string `protobuf:"bytes,17,opt,name=ifname" json:"ifname,omitempty"` NsId *uint32 `protobuf:"varint,18,opt,name=ns_id,json=nsId" json:"ns_id,omitempty"` diff --git a/crit/images/sk-netlink/sk-netlink.pb.go b/crit/images/sk-netlink/sk-netlink.pb.go index 14e15fe69..785d72623 100644 --- a/crit/images/sk-netlink/sk-netlink.pb.go +++ b/crit/images/sk-netlink/sk-netlink.pb.go @@ -9,9 +9,9 @@ package sk_netlink import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - sk_opts "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + sk_opts "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/sk-unix/sk-unix.pb.go b/crit/images/sk-unix/sk-unix.pb.go index ee0ba2d0b..e11b71482 100644 --- a/crit/images/sk-unix/sk-unix.pb.go +++ b/crit/images/sk-unix/sk-unix.pb.go @@ -9,9 +9,9 @@ package sk_unix import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" - sk_opts "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" + sk_opts "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/tcp-stream/tcp-stream.pb.go b/crit/images/tcp-stream/tcp-stream.pb.go index 7c93d0ad6..e90a2dc0a 100644 --- a/crit/images/tcp-stream/tcp-stream.pb.go +++ b/crit/images/tcp-stream/tcp-stream.pb.go @@ -9,7 +9,7 @@ package tcp_stream import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/timerfd/timerfd.pb.go b/crit/images/timerfd/timerfd.pb.go index ead0d32d6..9c50bfb10 100644 --- a/crit/images/timerfd/timerfd.pb.go +++ b/crit/images/timerfd/timerfd.pb.go @@ -9,8 +9,8 @@ package timerfd import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/tty/tty.pb.go b/crit/images/tty/tty.pb.go index 72c58c0c5..1b097374d 100644 --- a/crit/images/tty/tty.pb.go +++ b/crit/images/tty/tty.pb.go @@ -9,8 +9,8 @@ package tty import ( - fown "github.com/checkpoint-restore/go-criu/v6/crit/images/fown" - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/tun/tun.pb.go b/crit/images/tun/tun.pb.go index ae2a326cb..2fdadcf18 100644 --- a/crit/images/tun/tun.pb.go +++ b/crit/images/tun/tun.pb.go @@ -9,7 +9,7 @@ package tun import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/images/vma/vma.pb.go b/crit/images/vma/vma.pb.go index edca625b2..a1a9dde4a 100644 --- a/crit/images/vma/vma.pb.go +++ b/crit/images/vma/vma.pb.go @@ -9,7 +9,7 @@ package vma import ( - _ "github.com/checkpoint-restore/go-criu/v6/crit/images/opts" + _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/crit/mempages.go b/crit/mempages.go index 02b2978a9..ffc230de4 100644 --- a/crit/mempages.go +++ b/crit/mempages.go @@ -7,8 +7,8 @@ import ( "os" "path/filepath" - "github.com/checkpoint-restore/go-criu/v6/crit/images/mm" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pagemap" + "github.com/checkpoint-restore/go-criu/v7/crit/images/mm" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pagemap" "golang.org/x/sys/unix" ) diff --git a/crit/mempages_test.go b/crit/mempages_test.go index e81353a74..2c087b8a6 100644 --- a/crit/mempages_test.go +++ b/crit/mempages_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pstree" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pstree" ) const ( diff --git a/crit/stats.go b/crit/stats.go index d57993f63..26a7db8de 100644 --- a/crit/stats.go +++ b/crit/stats.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/checkpoint-restore/go-criu/v6/crit/images/stats" + "github.com/checkpoint-restore/go-criu/v7/crit/images/stats" ) const ( diff --git a/crit/utils.go b/crit/utils.go index 0f70c3109..52cd87f2b 100644 --- a/crit/utils.go +++ b/crit/utils.go @@ -10,11 +10,11 @@ import ( "strconv" "syscall" - "github.com/checkpoint-restore/go-criu/v6/crit/images/fdinfo" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pipe" - "github.com/checkpoint-restore/go-criu/v6/crit/images/regfile" - sk_unix "github.com/checkpoint-restore/go-criu/v6/crit/images/sk-unix" - "github.com/checkpoint-restore/go-criu/v6/magic" + "github.com/checkpoint-restore/go-criu/v7/crit/images/fdinfo" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pipe" + "github.com/checkpoint-restore/go-criu/v7/crit/images/regfile" + sk_unix "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-unix" + "github.com/checkpoint-restore/go-criu/v7/magic" "google.golang.org/protobuf/proto" ) @@ -267,9 +267,9 @@ func processIP(parts []uint32) string { binary.LittleEndian.PutUint32(ip, parts[0]) return ip.String() } - // IPv6 + // IPv7 if len(parts) == 4 { - ip := make(net.IP, net.IPv6len) + ip := make(net.IP, net.IPv7len) for _, part := range parts { binary.LittleEndian.PutUint32(ip, part) } diff --git a/features.go b/features.go index 60c5258a3..b6d8a45b7 100644 --- a/features.go +++ b/features.go @@ -3,7 +3,7 @@ package criu import ( "fmt" - "github.com/checkpoint-restore/go-criu/v6/rpc" + "github.com/checkpoint-restore/go-criu/v7/rpc" ) // Feature checking in go-criu is based on the libcriu feature checking function. diff --git a/go.mod b/go.mod index bc1669a77..a75b5bef3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/checkpoint-restore/go-criu/v6 +module github.com/checkpoint-restore/go-criu/v7 go 1.18 diff --git a/main.go b/main.go index 16113450a..0766e7715 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "strconv" "syscall" - "github.com/checkpoint-restore/go-criu/v6/rpc" + "github.com/checkpoint-restore/go-criu/v7/rpc" "google.golang.org/protobuf/proto" ) diff --git a/phaul/api.go b/phaul/api.go index 4531901e3..f4bc974d2 100644 --- a/phaul/api.go +++ b/phaul/api.go @@ -1,7 +1,7 @@ package phaul import ( - "github.com/checkpoint-restore/go-criu/v6" + "github.com/checkpoint-restore/go-criu/v7" ) // Config is the configuration which is passed around diff --git a/phaul/client.go b/phaul/client.go index c52e30fe8..8925ad1c8 100644 --- a/phaul/client.go +++ b/phaul/client.go @@ -3,10 +3,10 @@ package phaul import ( "fmt" - "github.com/checkpoint-restore/go-criu/v6" - "github.com/checkpoint-restore/go-criu/v6/crit" - "github.com/checkpoint-restore/go-criu/v6/crit/images/stats" - "github.com/checkpoint-restore/go-criu/v6/rpc" + "github.com/checkpoint-restore/go-criu/v7" + "github.com/checkpoint-restore/go-criu/v7/crit" + "github.com/checkpoint-restore/go-criu/v7/crit/images/stats" + "github.com/checkpoint-restore/go-criu/v7/rpc" "google.golang.org/protobuf/proto" ) diff --git a/phaul/server.go b/phaul/server.go index e83910a8b..555e921c8 100644 --- a/phaul/server.go +++ b/phaul/server.go @@ -6,8 +6,8 @@ import ( "os" "path/filepath" - "github.com/checkpoint-restore/go-criu/v6" - "github.com/checkpoint-restore/go-criu/v6/rpc" + "github.com/checkpoint-restore/go-criu/v7" + "github.com/checkpoint-restore/go-criu/v7/rpc" "golang.org/x/sys/unix" "google.golang.org/protobuf/proto" ) diff --git a/test/crit/main.go b/test/crit/main.go index 9b6771c9e..3c97d20cc 100644 --- a/test/crit/main.go +++ b/test/crit/main.go @@ -10,9 +10,9 @@ import ( "regexp" "strings" - "github.com/checkpoint-restore/go-criu/v6/crit" - "github.com/checkpoint-restore/go-criu/v6/crit/cli" - "github.com/checkpoint-restore/go-criu/v6/crit/images/pstree" + "github.com/checkpoint-restore/go-criu/v7/crit" + "github.com/checkpoint-restore/go-criu/v7/crit/cli" + "github.com/checkpoint-restore/go-criu/v7/crit/images/pstree" ) const loopTestImgDir = "test-imgs/loop" diff --git a/test/main.go b/test/main.go index d62bd7658..f778a27e9 100644 --- a/test/main.go +++ b/test/main.go @@ -6,8 +6,8 @@ import ( "os" "strconv" - "github.com/checkpoint-restore/go-criu/v6" - "github.com/checkpoint-restore/go-criu/v6/rpc" + "github.com/checkpoint-restore/go-criu/v7" + "github.com/checkpoint-restore/go-criu/v7/rpc" "google.golang.org/protobuf/proto" ) diff --git a/test/phaul/main.go b/test/phaul/main.go index 6afd5ce3c..867ef8540 100644 --- a/test/phaul/main.go +++ b/test/phaul/main.go @@ -7,9 +7,9 @@ import ( "strings" "syscall" - "github.com/checkpoint-restore/go-criu/v6" - "github.com/checkpoint-restore/go-criu/v6/phaul" - "github.com/checkpoint-restore/go-criu/v6/rpc" + "github.com/checkpoint-restore/go-criu/v7" + "github.com/checkpoint-restore/go-criu/v7/phaul" + "github.com/checkpoint-restore/go-criu/v7/rpc" "google.golang.org/protobuf/proto" )