[Qemu-devel] [PULL 44/65] slirp: simplify fork_exec()

2019-01-14 Thread Samuel Thibault
From: Marc-André Lureau Use g_spawn_async_with_fds() to setup the child. GSpawn handles reaping the child, and closing parent file descriptors. Signed-off-by: Marc-André Lureau Signed-off-by: Samuel Thibault --- slirp/misc.c | 75 +--- 1 file

[Qemu-devel] [PULL 44/65] slirp: simplify fork_exec()

2019-01-13 Thread Samuel Thibault
From: Marc-André Lureau Use g_spawn_async_with_fds() to setup the child. GSpawn handles reaping the child, and closing parent file descriptors. Signed-off-by: Marc-André Lureau Signed-off-by: Samuel Thibault --- slirp/misc.c | 75 +--- 1 file