um: Make errors to stop ptraced child fatal during startup
authorBenjamin Berg <benjamin@sipsolutions.net>
Fri, 10 Nov 2023 11:03:40 +0000 (12:03 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 4 Jan 2024 22:33:15 +0000 (23:33 +0100)
commit9e16fb933fd1f2132c0d137f3666ebf20f93e33a
tree47d4af8ce93c3d0da4be9638ff12de384283fa59
parent571353379470f1d0aaad3cce4ad4db4b6c8f9ada
um: Make errors to stop ptraced child fatal during startup

For the detection code to check whether SYSEMU_SINGLESTEP works
correctly we needed some error cases while stopping to be non-fatal.
However, at this point stop_ptraced_child must always succeed, and we
can therefore simplify it slightly to exit immediately on error.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/start_up.c