2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
criu/images/cgroup.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

44 lines
901 B
Protocol Buffer

// SPDX-License-Identifier: MIT
syntax = "proto2";
message cgroup_perms {
required uint32 mode = 1;
required uint32 uid = 2;
required uint32 gid = 3;
}
message cgroup_prop_entry {
required string name = 1;
required string value = 2;
optional cgroup_perms perms = 3;
}
message cgroup_dir_entry {
required string dir_name = 1;
repeated cgroup_dir_entry children = 2;
repeated cgroup_prop_entry properties = 3;
optional cgroup_perms dir_perms = 4;
}
message cg_controller_entry {
repeated string cnames = 1;
repeated cgroup_dir_entry dirs = 2;
}
message cg_member_entry {
required string name = 1;
required string path = 2;
optional uint32 cgns_prefix = 3;
}
message cg_set_entry {
required uint32 id = 1;
repeated cg_member_entry ctls = 2;
}
message cgroup_entry {
repeated cg_set_entry sets = 1;
repeated cg_controller_entry controllers = 2;
}