2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
criu/images/regfile.proto
Adrian Reber eb5726c44a images: re-license as Expat license (so-called MIT)
This changes the license of all files in the images/ directory from
GPLv2 to the Expat license (so-called MIT).

According to git the files have been authored by:

   Abhishek Dubey
   Adrian Reber
   Alexander Mikhalitsyn
   Alice Frosi
   Andrei Vagin (Andrew Vagin, Andrey Vagin)
   Cyrill Gorcunov
   Dengguangxing
   Dmitry Safonov
   Guoyun Sun
   Kirill Tkhai
   Kir Kolyshkin
   Laurent Dufour
   Michael Holzheu
   Michał Cłapiński
   Mike Rapoport
   Nicolas Viennot
   Nikita Spiridonov
   Pavel Emelianov (Pavel Emelyanov)
   Pavel Tikhomirov
   Radostin Stoyanov
   rbruno@gsd.inesc-id.pt
   Sebastian Pipping
   Stanislav Kinsburskiy
   Tycho Andersen
   Valeriy Vdovin

The Expat license (so-called MIT) can be found here:
https://opensource.org/licenses/MIT

According to that link the correct SPDX short identifier is 'MIT'.

https://spdx.org/licenses/MIT.html

Signed-off-by: Adrian Reber <areber@redhat.com>
2021-09-03 10:31:00 -07:00

36 lines
1.0 KiB
Protocol Buffer

// SPDX-License-Identifier: MIT
syntax = "proto2";
import "opts.proto";
import "fown.proto";
message reg_file_entry {
required uint32 id = 1;
required uint32 flags = 2 [(criu).flags = "rfile.flags"];
required uint64 pos = 3;
required fown_entry fown = 5;
required string name = 6;
optional sint32 mnt_id = 7 [default = -1];
optional uint64 size = 8;
optional bool ext = 9;
optional uint32 mode = 10;
/* This field stores the build-ID of the file if it could be obtained. */
repeated uint32 build_id = 11;
/* This field stores the CRC32C checksum of the file if it could be obtained. */
optional uint32 checksum = 12;
/*
* This field stores the configuration of bytes which were used in the
* calculation of the checksum, if it could be obtained.
*/
optional uint32 checksum_config = 13;
/*
* This field stores the checksum parameter if it was used in the calculation
* of the checksum, if it could be obtained.
*/
optional uint32 checksum_parameter = 14;
}