2020-05-08 11:36:57 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2016-07-01 21:49:54 +02:00
|
|
|
syntax = "proto2";
|
|
|
|
|
2013-01-17 16:56:24 +04:00
|
|
|
import "core.proto";
|
|
|
|
|
2015-05-06 16:18:42 -06:00
|
|
|
enum lsmtype {
|
|
|
|
NO_LSM = 0;
|
|
|
|
SELINUX = 1;
|
|
|
|
APPARMOR = 2;
|
|
|
|
}
|
|
|
|
|
2024-10-04 12:14:29 +01:00
|
|
|
// It is not possible to distinguish between an empty repeated field
|
|
|
|
// and unset repeated field. To solve this problem and provide backwards
|
|
|
|
// compabibility, we use the 'plugins_entry' message.
|
|
|
|
message plugins_entry {
|
|
|
|
repeated string plugins = 12;
|
|
|
|
};
|
|
|
|
|
2012-07-19 17:37:25 +04:00
|
|
|
message inventory_entry {
|
2014-02-01 12:27:00 +04:00
|
|
|
required uint32 img_version = 1;
|
|
|
|
optional bool fdinfo_per_id = 2;
|
|
|
|
optional task_kobj_ids_entry root_ids = 3;
|
|
|
|
optional bool ns_per_id = 4;
|
2014-05-08 16:33:59 +04:00
|
|
|
optional uint32 root_cg_set = 5;
|
2015-05-06 16:18:42 -06:00
|
|
|
optional lsmtype lsmtype = 6;
|
2018-04-06 10:31:28 +03:00
|
|
|
optional uint64 dump_uptime = 8;
|
2019-10-03 19:39:19 +05:30
|
|
|
optional uint32 pre_dump_mode = 9;
|
2020-09-09 19:39:53 +03:00
|
|
|
optional bool tcp_close = 10;
|
2021-08-01 13:03:28 +02:00
|
|
|
optional uint32 network_lock_method = 11;
|
2024-10-04 12:14:29 +01:00
|
|
|
optional plugins_entry plugins_entry = 12;
|
2025-01-23 17:42:45 +00:00
|
|
|
// Remember the criu_run_id when CRIU dumped the process.
|
|
|
|
// This is currently used to delete the correct nftables
|
|
|
|
// network locking rule.
|
|
|
|
optional string dump_criu_run_id = 13;
|
2012-07-19 17:37:25 +04:00
|
|
|
}
|