Re: [Piglit] [PATCH] Use _exit() instead of exit() in child processes

2018-06-06 Thread Ian Romanick
On 06/06/2018 02:43 AM, Michel Dänzer wrote: > From: Michel Dänzer > > A child process which doesn't call exec() shouldn't use exit(), as that > will attempt to run any atexit handlers of the parent, which may break. I did not know that. The manual page for exit does say, "All functions registe

Re: [Piglit] [PATCH] Use _exit() instead of exit() in child processes

2018-06-06 Thread Eric Anholt
Michel Dänzer writes: > From: Michel Dänzer > > A child process which doesn't call exec() shouldn't use exit(), as that > will attempt to run any atexit handlers of the parent, which may break. > It actually results in crashing with the Mesa radeonsi driver. Reviewed-by: Eric Anholt signatur