Comment 1 for bug 1777564

Revision history for this message
Colin Ian King (colin-king) wrote :

Issue was introduced with child exit sanity checking http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=dce3ab05c8cad93872995387c55dcf7ae31e7ca3

Fix committed: http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=b72beabf372d27afc1356517e4c5fd998ef14ee1

author Colin Ian King <email address hidden> 2018-06-19 06:40:27 (GMT)
committer Colin Ian King <email address hidden> 2018-06-19 06:40:27 (GMT)
commit b72beabf372d27afc1356517e4c5fd998ef14ee1 (patch)
tree c7a268df07acb02ebd2beef7a18b755d9f884469
parent b580ecec2dbd75d4b65e98d8b6151459b4270e9c (diff)
Don't exit child sub-processes with exit() (LP: #1777564)HEADmaster
When a child sub-process in any stressor exits with exit()
then the new atexit handler traps this as an illegal return
from the stressor and throws an error report. Avoid this
by exiting all stressor child sub-processes with _exit()
to skip the atexit handler.

Also fix up some exits that should be returns in stressors.

Signed-off-by: Colin Ian King <email address hidden>