[CRIU] [PATCH 2/6] crtools: add uid field to opts.

Ruslan Kuprieiev kupruser at gmail.com
Tue Oct 1 11:08:29 PDT 2013


This variable will be set by getuid() in crtools.c right after run crtools.

Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
-------------- next part --------------
---
diff --git a/include/crtools.h b/include/crtools.h
index 149525e..42bcb7d 100644
--- a/include/crtools.h
+++ b/include/crtools.h
@@ -44,6 +44,7 @@ struct cr_options {
 	char			*addr;
 	bool			track_mem;
 	char			*img_parent;
+	int			uid;
 };
 
 extern struct cr_options opts;


More information about the CRIU mailing list