Eric Blake
2b4f162eb4
util: make it easier to reflect child exit status
...
Thanks to namespaces, we have a couple of places in the code
base that want to reflect a child exit status, including the
ability to detect death by a signal, back to a grandparent.
Best to make it a reusable function.
* src/util/virprocess.h (virProcessExitWithStatus): New prototype.
* src/libvirt_private.syms (util/virprocess.h): Export it.
* src/util/virprocess.c (virProcessExitWithStatus): New function.
* tests/commandtest.c (test23): Test it.
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-03-03 12:40:31 -07: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
2014-02-19 09:16:31 +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
2014-02-25 17:38:46 -07:00
2014-02-24 15:35:47 +00:00
2013-07-18 14:16:54 +02:00
2013-07-18 14:16:54 +02:00
2014-03-03 12:40:31 -07:00
2014-01-29 18:01:36 +01:00
2014-02-12 17:52:46 +00:00
2014-02-12 17:52:46 +00:00
2014-02-12 06:36:17 -07: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
2014-02-28 17:38:46 +00:00
2014-01-06 08:29:29 -07:00
2014-01-02 07:29:54 -07:00
2013-09-27 11:16:35 -05:00
2014-02-18 12:39:06 +00:00
2014-02-18 12:39:06 +00:00
2013-10-14 11:40:24 -06:00
2013-10-14 11:40:24 -06:00
2014-02-18 14:46:49 +01:00
2014-02-18 14:46:49 +01:00
2013-10-21 14:03:52 +01:00
2013-09-18 15:04:27 +01:00
2014-02-18 15:05:06 +01:00
2014-02-18 12:59:02 +00:00
2014-01-07 18:18:29 +01:00
2014-01-07 18:18:29 +01:00
2013-11-20 12:35:47 +01:00
2013-12-24 17:36:47 +01:00
2013-12-24 17:36:47 +01:00
2013-07-10 11:07:33 +02:00
2014-02-04 08:52:27 -05:00
2014-02-04 08:52:27 -05:00
2013-09-25 18:12:09 +01:00
2014-02-28 17:37:38 +00:00
2014-02-28 17:38:46 +00:00
2013-10-14 13:02:18 -06:00
2013-10-14 13:02:18 -06:00
2014-02-11 01:43:38 +02:00
2013-11-08 14:31:11 +02:00
2014-01-29 19:01:19 +01:00
2014-01-29 19:01:19 +01: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
2014-02-26 08:50:47 +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
2014-01-23 13:19:56 +08:00
2013-11-04 10:50:20 +01:00
2013-12-13 05:59:38 -07:00
2013-12-13 05:59:38 -07:00
2014-02-07 10:58:24 -05:00
2014-02-07 10:58:24 -05:00
2014-02-20 10:16:07 +01:00
2013-11-18 12:28:02 +01:00
2014-03-03 12:40:31 -07:00
2014-03-03 12:40:31 -07:00
2013-10-21 14:03:52 +01:00
2014-02-26 11:41:40 +01:00
2014-01-30 15:48:28 +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
2014-02-24 10:51:22 +00:00
2014-02-24 10:51:22 +00:00
2014-01-20 09:34:53 -07:00
2014-02-24 10:54:48 +01:00
2014-02-24 10:54:48 +01:00
2014-01-30 18:00:20 +00:00
2014-01-30 18:00:20 +00:00
2013-12-05 15:52:23 +01:00
2013-07-10 11:07:33 +02:00
2013-07-10 11:07:33 +02:00
2013-04-12 16:55:45 -04:00
2014-01-04 07:13:09 -07:00
2013-06-25 00:38:25 +02:00
2013-07-10 17:40:13 +01:00
2014-01-08 23:00:34 +08:00
2014-01-08 23:00:34 +08:00
2014-01-23 21:39:05 +08:00
2014-01-13 09:14:11 -07:00
2013-07-10 17:40:13 +01:00
2014-01-02 22:17:11 -07:00
2014-01-15 11:11:34 +01:00
2013-09-17 09:42:49 +02:00