Skip to content
Snippets Groups Projects
user avatar
Eddy Wu authored
current->group_leader->exit_signal may change during copy_process() if
current->real_parent exits.

Move the assignment inside tasklist_lock to avoid the race.

Signed-off-by: default avatarEddy Wu <eddy_wu@trendmicro.com>
Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
b4e00444
Name Last commit Last update