[CRIU] [PATCH 1/3] socket-ext: provide access to socket for a test user
Andrey Vagin
avagin at openvz.org
Wed Apr 24 02:46:20 EDT 2013
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/zdtm/live/static/socket-ext.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/zdtm/live/static/socket-ext.c b/test/zdtm/live/static/socket-ext.c
index 6153ebd..bcf5d64 100644
--- a/test/zdtm/live/static/socket-ext.c
+++ b/test/zdtm/live/static/socket-ext.c
@@ -56,6 +56,7 @@ int main(int argc, char *argv[])
err("Can't bind socket to %s", path);
return 1;
}
+ chmod(path, 0777);
test_msg("The external socket %s\n", path);
task_waiter_complete(&lock, 1);
task_waiter_fini(&lock);
--
1.8.2
More information about the CRIU
mailing list