[CRIU] [PATCH 2/2] image: sk-packet -- Reserve fields

Cyrill Gorcunov gorcunov at gmail.com
Fri Aug 31 13:17:13 MSK 2018


To handle message addresses and ucreds.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 images/sk-packet.proto | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/images/sk-packet.proto b/images/sk-packet.proto
index dcda280f6d00..e15dd382a5b9 100644
--- a/images/sk-packet.proto
+++ b/images/sk-packet.proto
@@ -8,5 +8,9 @@ message scm_entry {
 message sk_packet_entry {
 	required uint32		id_for		= 1;
 	required uint32		length		= 2;
+	// Reserved for message address
+	// optional bytes		addr	= 3;
 	repeated scm_entry	scm		= 4;
+	// Reserved for ucred restore
+	// optional sk_ucred_entry	ucred	= 128;
 }
-- 
2.17.1



More information about the CRIU mailing list