diff options
73 files changed, 164 insertions, 0 deletions
@@ -65,3 +65,6 @@ itself, and we have it available as the [libsoccr library](https://criu.org/Libs ## Licence The project is licensed under GPLv2 (though files sitting in the lib/ directory are LGPLv2.1). + +All files in the images/ directory are licensed under the Expat license (so-called MIT). +See the images/LICENSE file. diff --git a/images/LICENSE b/images/LICENSE new file mode 100644 index 000000000..3c6395a10 --- /dev/null +++ b/images/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2020 The CRIU developers + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/images/autofs.proto b/images/autofs.proto index 2146ca89f..5c8c216c8 100644 --- a/images/autofs.proto +++ b/images/autofs.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message autofs_entry { diff --git a/images/binfmt-misc.proto b/images/binfmt-misc.proto index 82a86c8c9..a48d8724c 100644 --- a/images/binfmt-misc.proto +++ b/images/binfmt-misc.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message binfmt_misc_entry { diff --git a/images/bpfmap-data.proto b/images/bpfmap-data.proto index dc3b0db01..b9502bb45 100644 --- a/images/bpfmap-data.proto +++ b/images/bpfmap-data.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message bpfmap_data_entry { diff --git a/images/bpfmap-file.proto b/images/bpfmap-file.proto index 6560bb646..34a6c1dd2 100644 --- a/images/bpfmap-file.proto +++ b/images/bpfmap-file.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/cgroup.proto b/images/cgroup.proto index b8a545e3c..ee0354124 100644 --- a/images/cgroup.proto +++ b/images/cgroup.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message cgroup_perms { diff --git a/images/core-aarch64.proto b/images/core-aarch64.proto index 83fdd6437..3356e6b75 100644 --- a/images/core-aarch64.proto +++ b/images/core-aarch64.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/core-arm.proto b/images/core-arm.proto index 3004346bb..f9c9e80cb 100644 --- a/images/core-arm.proto +++ b/images/core-arm.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/core-mips.proto b/images/core-mips.proto index 6391b1e86..ec06d6951 100755 --- a/images/core-mips.proto +++ b/images/core-mips.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/core-ppc64.proto b/images/core-ppc64.proto index aca1c2fae..6a27f9012 100644 --- a/images/core-ppc64.proto +++ b/images/core-ppc64.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/core-s390.proto b/images/core-s390.proto index 497c73b20..44130f206 100644 --- a/images/core-s390.proto +++ b/images/core-s390.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/core-x86.proto b/images/core-x86.proto index 2ed2ad35d..ee7be8ff1 100644 --- a/images/core-x86.proto +++ b/images/core-x86.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/core.proto b/images/core.proto index 9e9e39388..b713119f2 100644 --- a/images/core.proto +++ b/images/core.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "core-x86.proto"; diff --git a/images/cpuinfo.proto b/images/cpuinfo.proto index 8ee629c2c..15860a90c 100644 --- a/images/cpuinfo.proto +++ b/images/cpuinfo.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message cpuinfo_x86_entry { diff --git a/images/creds.proto b/images/creds.proto index 23b84c7e5..0007fb46d 100644 --- a/images/creds.proto +++ b/images/creds.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message creds_entry { diff --git a/images/eventfd.proto b/images/eventfd.proto index ff9ced393..225462f76 100644 --- a/images/eventfd.proto +++ b/images/eventfd.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "fown.proto"; diff --git a/images/eventpoll.proto b/images/eventpoll.proto index 4a8d1b834..0f3e8a870 100644 --- a/images/eventpoll.proto +++ b/images/eventpoll.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "fown.proto"; diff --git a/images/ext-file.proto b/images/ext-file.proto index f820ffb07..8b4f82568 100644 --- a/images/ext-file.proto +++ b/images/ext-file.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "fown.proto"; diff --git a/images/fdinfo.proto b/images/fdinfo.proto index f5e18954b..88f1c1186 100644 --- a/images/fdinfo.proto +++ b/images/fdinfo.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "regfile.proto"; diff --git a/images/fh.proto b/images/fh.proto index 2da7e9deb..7a2ce484b 100644 --- a/images/fh.proto +++ b/images/fh.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/fifo.proto b/images/fifo.proto index f5b3283ff..ae6f48162 100644 --- a/images/fifo.proto +++ b/images/fifo.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message fifo_entry { diff --git a/images/file-lock.proto b/images/file-lock.proto index 5dd8847cc..dcf3d871c 100644 --- a/images/file-lock.proto +++ b/images/file-lock.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message file_lock_entry { diff --git a/images/fown.proto b/images/fown.proto index 9956b9865..b2e20b657 100644 --- a/images/fown.proto +++ b/images/fown.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message fown_entry { diff --git a/images/fs.proto b/images/fs.proto index 5b940a1c1..158501ac9 100644 --- a/images/fs.proto +++ b/images/fs.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message fs_entry { diff --git a/images/fsnotify.proto b/images/fsnotify.proto index 399a449a0..df6a667f8 100644 --- a/images/fsnotify.proto +++ b/images/fsnotify.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/ghost-file.proto b/images/ghost-file.proto index 0576089fd..9ecee41d2 100644 --- a/images/ghost-file.proto +++ b/images/ghost-file.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/img-streamer.proto b/images/img-streamer.proto index d1bd4cc19..48a3a93b0 100644 --- a/images/img-streamer.proto +++ b/images/img-streamer.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; // This message is sent from CRIU to the streamer. diff --git a/images/inventory.proto b/images/inventory.proto index d7d0622c4..56e85a80a 100644 --- a/images/inventory.proto +++ b/images/inventory.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "core.proto"; diff --git a/images/ipc-desc.proto b/images/ipc-desc.proto index b400bd7d2..8b4c7f5ba 100644 --- a/images/ipc-desc.proto +++ b/images/ipc-desc.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message ipc_desc_entry { diff --git a/images/ipc-msg.proto b/images/ipc-msg.proto index 5260ea862..5b3103182 100644 --- a/images/ipc-msg.proto +++ b/images/ipc-msg.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "ipc-desc.proto"; diff --git a/images/ipc-sem.proto b/images/ipc-sem.proto index bffb581ae..71a2beb94 100644 --- a/images/ipc-sem.proto +++ b/images/ipc-sem.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "ipc-desc.proto"; diff --git a/images/ipc-shm.proto b/images/ipc-shm.proto index 31e172eb8..7865dad8d 100644 --- a/images/ipc-shm.proto +++ b/images/ipc-shm.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "ipc-desc.proto"; diff --git a/images/ipc-var.proto b/images/ipc-var.proto index f46fcdeeb..a5e2df9de 100644 --- a/images/ipc-var.proto +++ b/images/ipc-var.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message ipc_var_entry { diff --git a/images/macvlan.proto b/images/macvlan.proto index 0ca2652f0..6f78076d8 100644 --- a/images/macvlan.proto +++ b/images/macvlan.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message macvlan_link_entry { diff --git a/images/memfd.proto b/images/memfd.proto index ad5373d10..a944f145d 100644 --- a/images/memfd.proto +++ b/images/memfd.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/mm.proto b/images/mm.proto index e0f14c62f..b37668c4b 100644 --- a/images/mm.proto +++ b/images/mm.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/mnt.proto b/images/mnt.proto index 8983395ae..4abb7d1a9 100644 --- a/images/mnt.proto +++ b/images/mnt.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/netdev.proto b/images/netdev.proto index ae9c99531..748fd0200 100644 --- a/images/netdev.proto +++ b/images/netdev.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "macvlan.proto"; diff --git a/images/ns.proto b/images/ns.proto index 5ff000165..19ec641f6 100644 --- a/images/ns.proto +++ b/images/ns.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message ns_file_entry { diff --git a/images/opts.proto b/images/opts.proto index 70c7fd481..95304a8c6 100644 --- a/images/opts.proto +++ b/images/opts.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "google/protobuf/descriptor.proto"; diff --git a/images/packet-sock.proto b/images/packet-sock.proto index 25875b470..d4b38cf15 100644 --- a/images/packet-sock.proto +++ b/images/packet-sock.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/pagemap.proto b/images/pagemap.proto index 42ed5ebb9..e6d341b0f 100644 --- a/images/pagemap.proto +++ b/images/pagemap.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/pidns.proto b/images/pidns.proto index 7ff049749..f7e92e3ec 100644 --- a/images/pidns.proto +++ b/images/pidns.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message pidns_entry { diff --git a/images/pipe-data.proto b/images/pipe-data.proto index 78d53a890..040479e7c 100644 --- a/images/pipe-data.proto +++ b/images/pipe-data.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message pipe_data_entry { diff --git a/images/pipe.proto b/images/pipe.proto index a9a213b90..2c0360e85 100644 --- a/images/pipe.proto +++ b/images/pipe.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/pstree.proto b/images/pstree.proto index 23e88aa74..fca284cb7 100644 --- a/images/pstree.proto +++ b/images/pstree.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message pstree_entry { diff --git a/images/regfile.proto b/images/regfile.proto index 49884ddc9..bf22d2026 100644 --- a/images/regfile.proto +++ b/images/regfile.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/remap-file-path.proto b/images/remap-file-path.proto index 3cc78a25e..8635370c0 100644 --- a/images/remap-file-path.proto +++ b/images/remap-file-path.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; enum remap_type { diff --git a/images/rlimit.proto b/images/rlimit.proto index 773a8df9c..3a3aeda30 100644 --- a/images/rlimit.proto +++ b/images/rlimit.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message rlimit_entry { diff --git a/images/rpc.proto b/images/rpc.proto index df1b5aed2..c968cc991 100644 --- a/images/rpc.proto +++ b/images/rpc.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message criu_page_server_info { diff --git a/images/sa.proto b/images/sa.proto index 07fd4ffd3..07f71c3a0 100644 --- a/images/sa.proto +++ b/images/sa.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/seccomp.proto b/images/seccomp.proto index 177e5fd4a..e56cea3a1 100644 --- a/images/seccomp.proto +++ b/images/seccomp.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message seccomp_filter { diff --git a/images/siginfo.proto b/images/siginfo.proto index e0d141e6c..6e696c7fd 100644 --- a/images/siginfo.proto +++ b/images/siginfo.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message siginfo_entry { diff --git a/images/signalfd.proto b/images/signalfd.proto index 31d0d9f00..83546ae21 100644 --- a/images/signalfd.proto +++ b/images/signalfd.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/sit.proto b/images/sit.proto index 7ca91ccd0..539645858 100644 --- a/images/sit.proto +++ b/images/sit.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/sk-inet.proto b/images/sk-inet.proto index 75d565dcd..594e29c66 100644 --- a/images/sk-inet.proto +++ b/images/sk-inet.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/sk-netlink.proto b/images/sk-netlink.proto index 97fa44586..cfcc88daa 100644 --- a/images/sk-netlink.proto +++ b/images/sk-netlink.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/sk-opts.proto b/images/sk-opts.proto index 5bdc5063f..2377f6b62 100644 --- a/images/sk-opts.proto +++ b/images/sk-opts.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message sk_opts_entry { diff --git a/images/sk-packet.proto b/images/sk-packet.proto index e15dd382a..b60a8870a 100644 --- a/images/sk-packet.proto +++ b/images/sk-packet.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message scm_entry { diff --git a/images/sk-unix.proto b/images/sk-unix.proto index 2a3a7cc32..8ddbccde0 100644 --- a/images/sk-unix.proto +++ b/images/sk-unix.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/stats.proto b/images/stats.proto index 68d2f1bbb..64e46181d 100644 --- a/images/stats.proto +++ b/images/stats.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; // This one contains statistics about dump/restore process diff --git a/images/sysctl.proto b/images/sysctl.proto index 4ecdf2701..0922b87ab 100644 --- a/images/sysctl.proto +++ b/images/sysctl.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; enum SysctlType { diff --git a/images/tcp-stream.proto b/images/tcp-stream.proto index 174078305..c2244ba3b 100644 --- a/images/tcp-stream.proto +++ b/images/tcp-stream.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/time.proto b/images/time.proto index 4bb2b9459..5e5e7eee4 100644 --- a/images/time.proto +++ b/images/time.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message timeval { diff --git a/images/timens.proto b/images/timens.proto index a8272609b..79097a18d 100644 --- a/images/timens.proto +++ b/images/timens.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message timespec { diff --git a/images/timer.proto b/images/timer.proto index a254a6f80..4eb5452b3 100644 --- a/images/timer.proto +++ b/images/timer.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message itimer_entry { diff --git a/images/timerfd.proto b/images/timerfd.proto index 243281549..0bdf12538 100644 --- a/images/timerfd.proto +++ b/images/timerfd.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/tty.proto b/images/tty.proto index ed664ef51..14bc543ec 100644 --- a/images/tty.proto +++ b/images/tty.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/tun.proto b/images/tun.proto index b70c9ed67..ad61037db 100644 --- a/images/tun.proto +++ b/images/tun.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; diff --git a/images/userns.proto b/images/userns.proto index 16be6b161..3a23cbbf8 100644 --- a/images/userns.proto +++ b/images/userns.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message uid_gid_extent { diff --git a/images/utsns.proto b/images/utsns.proto index a29aea1c2..efc689fa5 100644 --- a/images/utsns.proto +++ b/images/utsns.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; message utsns_entry { diff --git a/images/vma.proto b/images/vma.proto index 7085f4237..0c07d51c6 100644 --- a/images/vma.proto +++ b/images/vma.proto @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + syntax = "proto2"; import "opts.proto"; |