linux/arch/um/os-Linux
Richard Weinberger 6b1873371c um: Fix waitpid() usage in helper code
If UML is executing a helper program it is using
waitpid() with the __WCLONE flag to wait for the program
as the helper is executed from a clone()'ed thread.
While using __WCLONE is perfectly fine for clone()'ed
childs it won't detect terminated childs if the helper
has issued an execve().

We have to use __WALL to wait for both clone()'ed and
regular childs to detect the termination before and
after an execve().

Reported-and-tested-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-10-19 22:53:37 +02:00
..
drivers Merge branch 'for-linus-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2015-06-28 13:55:08 -07:00
skas um/os-Linux: Use char[] for syscall_stub declarations 2015-05-31 13:14:07 +02:00
Makefile
aio.c
elf_aux.c
execvp.c
file.c um: Include sys/types.h for makedev(), major(), minor() 2015-06-25 22:42:21 +02:00
helper.c um: Fix waitpid() usage in helper code 2015-10-19 22:53:37 +02:00
internal.h
irq.c
main.c
mem.c
process.c
registers.c
sigio.c
signal.c um: Do not use __ptr_t type for stack_t's .ss pointer 2015-06-25 22:42:17 +02:00
start_up.c
time.c
tty.c
umid.c
user_syms.c
util.c