Daniel P. Berrange
1279b6a5b1
Add helper for running code in separate namespaces
...
Implement virProcessRunInMountNamespace, which runs callback of type
virProcessNamespaceCallback in a container namespace. This uses a
child process to run the callback, since you can't change the mount
namespace of a thread. This implies that callbacks have to be careful
about what code they run due to async safety rules.
Idea by Dan Berrange, based on an initial report by Reco
<recoverym4n@gmail.com> at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732394
Signed-off-by: Daniel Berrange <berrange@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 7c72ef6f555f1f9844d51be2f38f078bc908652c)
2014-02-18 13:18:46 +00:00
..
2013-07-10 11:07:33 +02:00
2013-09-24 10:52:26 +01:00
2013-10-18 15:50:31 +02:00
2013-10-16 12:40:35 +01:00
2013-10-16 12:40:35 +01:00
2013-10-21 14:03:52 +01:00
2013-07-12 09:22:38 +02:00
2013-07-10 11:07:33 +02:00
2013-08-22 11:38:36 +02:00
2013-10-14 13:02:18 -06:00
2013-10-14 13:02:18 -06:00
2013-10-15 12:22:07 +01:00
2013-09-16 11:32:49 +02:00
2013-07-18 14:16:54 +02:00
2013-07-18 14:16:54 +02:00
2013-11-20 09:14:55 -07:00
2013-10-21 14:03:52 +01:00
2013-09-25 18:12:09 +01:00
2013-10-14 10:33:10 +01:00
2013-10-14 10:31:01 +01:00
2013-07-22 13:09:58 +01:00
2013-07-10 17:40:13 +01:00
2013-10-14 13:02:18 -06:00
2013-10-14 13:02:18 -06:00
2013-10-07 19:21:47 +02:00
2013-07-22 13:09:58 +01:00
2013-09-18 13:06:13 -06:00
2013-09-27 11:16:35 -05:00
2014-02-18 13:18:46 +00:00
2014-02-18 13:18:46 +00:00
2013-10-14 11:40:24 -06:00
2013-10-14 11:40:24 -06:00
2013-07-10 17:40:13 +01:00
2013-10-21 14:03:52 +01:00
2013-09-18 15:04:27 +01:00
2013-07-10 11:07:33 +02:00
2013-11-08 12:48:25 +02:00
2013-09-25 08:24:09 -04:00
2013-11-20 12:35:47 +01:00
2013-05-13 15:15:54 -06:00
2013-07-10 17:40:13 +01:00
2013-07-10 11:07:33 +02:00
2013-09-25 18:12:09 +01:00
2013-11-20 09:14:55 -07:00
2013-07-10 17:40:13 +01:00
2013-10-14 13:02:18 -06:00
2013-10-14 13:02:18 -06:00
2013-11-08 14:31:11 +02:00
2013-11-08 14:31:11 +02:00
2013-11-20 09:14:55 -07:00
2013-10-14 13:05:34 -06:00
2013-09-16 09:24:12 -06:00
2013-11-20 09:14:55 -07:00
2013-10-14 13:05:34 -06:00
2013-10-14 13:05:34 -06:00
2013-10-14 13:05:34 -06:00
2013-10-14 13:05:34 -06:00
2013-10-14 13:05:34 -06:00
2013-10-04 12:03:19 +01:00
2013-10-14 13:05:34 -06:00
2013-10-14 13:05:34 -06:00
2013-11-20 09:14:55 -07:00
2013-10-14 13:05:34 -06:00
2013-11-20 09:14:55 -07:00
2013-10-14 13:05:34 -06:00
2013-05-08 10:47:47 +01:00
2013-05-08 10:47:47 +01:00
2013-11-04 10:50:20 +01:00
2013-11-04 10:50:20 +01:00
2013-07-10 11:07:33 +02:00
2013-11-20 09:14:55 -07:00
2013-11-08 14:31:11 +02:00
2013-11-18 12:28:07 +01:00
2013-11-18 12:28:02 +01:00
2014-02-18 13:18:46 +00:00
2014-02-18 13:18:46 +00:00
2013-10-21 14:03:52 +01:00
2013-09-30 15:04:46 +02:00
2013-05-16 23:50:00 +08:00
2013-07-10 11:07:33 +02:00
2013-10-14 13:02:18 -06:00
2013-10-14 13:02:18 -06:00
2013-11-06 17:31:51 -07:00
2013-11-06 17:31:51 -07:00
2013-11-28 11:29:46 +00:00
2013-11-28 11:29:46 +00:00
2013-11-20 09:14:55 -07:00
2013-10-14 10:33:10 +01:00
2013-09-30 16:47:23 +01:00
2014-02-04 15:45:24 +02:00
2013-07-10 11:07:33 +02:00
2014-02-04 15:45:24 +02:00
2014-02-04 15:45:24 +02:00
2014-02-04 15:45:24 +02:00
2014-02-04 15:45:24 +02:00
2013-07-10 11:07:33 +02:00
2013-07-10 11:07:33 +02:00
2013-07-10 17:40:13 +01:00
2013-06-25 00:38:25 +02:00
2013-07-10 17:40:13 +01:00
2013-11-20 09:14:55 -07:00
2013-10-21 14:03:52 +01:00
2013-10-21 14:03:52 +01:00
2013-07-10 17:40:13 +01:00
2013-09-17 09:42:49 +02:00
2013-09-17 09:42:49 +02:00