uti: Call terminate only when exit_group is called
Tracer tells McKernel side to call do_exit() in WIFSIGNALED case. Change-Id: If85c6cbb4856036b406b11335f1384e57f26292d
This commit is contained in:
@@ -3027,8 +3027,9 @@ create_tracer()
|
||||
term_param[1] = uti_desc->tid;
|
||||
term_param[3] = uti_desc->key;
|
||||
code = st;
|
||||
if (exited == 2 || // exit_group
|
||||
WIFSIGNALED(st)) {
|
||||
/* exit_group case. Note that killing-signal kills mcexec and tracer in terminate(),
|
||||
so this won't be reached. */
|
||||
if (exited == 2) {
|
||||
code |= 0x0000000100000000;
|
||||
}
|
||||
term_param[2] = code;
|
||||
|
||||
Reference in New Issue
Block a user