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-10-21 14:03:52 +01:00
2014-02-25 17:38:46 -07:00
2014-02-12 06:36:17 -07:00
2014-01-02 07:29:54 -07:00
2014-02-18 14:46:49 +01:00
2014-02-18 14:46:49 +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
2014-02-28 17:37:38 +00:00
2014-02-07 10:58:24 -05:00
2014-02-07 10:58:24 -05:00
2013-10-21 14:03:52 +01:00
2013-04-12 16:55:45 -04: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