[CRIU] [PATCH 3/6] crtools: add opts.uid set
Ruslan Kuprieiev
kupruser at gmail.com
Tue Oct 1 11:08:36 PDT 2013
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
-------------- next part --------------
---
diff --git a/crtools.c b/crtools.c
index ebab052..a87c5ee 100644
--- a/crtools.c
+++ b/crtools.c
@@ -76,6 +76,8 @@ int main(int argc, char *argv[])
if (argc < 2)
goto usage;
+ opts.uid = getuid();
+
/* Default options */
opts.final_state = TASK_DEAD;
INIT_LIST_HEAD(&opts.veth_pairs);
More information about the CRIU
mailing list