blob: dcd2fe81227d37080f520dba980f148b31d1cd11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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;
}
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;
}
|