Commit 2341cd1f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

rlimit: protobuf -- Add task_rlimits member to Core

We will carry rlimits inside Core itself instead of separate image.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 16b56920
import "core-x86.proto"; import "core-x86.proto";
import "core-arm.proto"; import "core-arm.proto";
import "rlimit.proto";
message task_core_entry { message task_core_entry {
required uint32 task_state = 1; required uint32 task_state = 1;
required uint32 exit_code = 2; required uint32 exit_code = 2;
...@@ -41,6 +43,10 @@ message thread_core_entry { ...@@ -41,6 +43,10 @@ message thread_core_entry {
optional thread_sas_entry sas = 7; optional thread_sas_entry sas = 7;
} }
message task_rlimits_entry {
repeated rlimit_entry rlimits = 1;
};
message core_entry { message core_entry {
enum march { enum march {
UNKNOWN = 0; UNKNOWN = 0;
...@@ -55,4 +61,6 @@ message core_entry { ...@@ -55,4 +61,6 @@ message core_entry {
optional task_core_entry tc = 3; optional task_core_entry tc = 3;
optional task_kobj_ids_entry ids = 4; optional task_kobj_ids_entry ids = 4;
optional thread_core_entry thread_core = 5; optional thread_core_entry thread_core = 5;
optional task_rlimits_entry rlimits = 7;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment