Skip to content

Commit

Permalink
Merge pull request #149 from snprajwal/release-v7.0.0
Browse files Browse the repository at this point in the history
release: v7.0.0
  • Loading branch information
snprajwal authored Sep 8, 2023
2 parents 633daee + cf2b713 commit 7a6111f
Show file tree
Hide file tree
Showing 62 changed files with 195 additions and 194 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The following example would print the version of CRIU:
import (
"log"

"github.com/checkpoint-restore/go-criu/v6"
"github.com/checkpoint-restore/go-criu/v7"
)

func main() {
Expand Down Expand Up @@ -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         |
Expand Down
2 changes: 1 addition & 1 deletion crit/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
108 changes: 54 additions & 54 deletions crit/cli/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion crit/cmd/main.go
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
14 changes: 7 additions & 7 deletions crit/decode-extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions crit/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion crit/encode-extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion crit/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
12 changes: 6 additions & 6 deletions crit/explore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions crit/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions crit/images/bpfmap-file/bpfmap-file.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/core-aarch64/core-aarch64.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/core-arm/core-arm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/core-mips/core-mips.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/core-ppc64/core-ppc64.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/core-s390/core-s390.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/core-x86/core-x86.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions crit/images/criu-core/criu-core.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/criu-sa/criu-sa.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/eventfd/eventfd.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/eventpoll/eventpoll.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crit/images/ext-file/ext-file.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7a6111f

Please sign in to comment.