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

Eric Anholt eric at anholt.net
Wed Jun 6 17:25:47 UTC 2018

Michel Dänzer <michel at daenzer.net> writes:

> From: Michel Dänzer <michel.daenzer at amd.com>
> 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 <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20180606/57ca23c9/attachment.sig>

More information about the Piglit mailing list