Eddy Wu b4e00444ca fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent
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: Eddy Wu <eddy_wu@trendmicro.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-11-08 11:18:39 -08:00
..
2020-09-11 09:33:54 -07:00
2020-11-01 11:08:17 -08:00
\n
2020-08-06 19:29:51 -07:00
2020-08-26 09:10:39 -04:00
2020-08-04 14:20:26 -07:00
2020-06-03 13:06:42 -07:00
2020-10-18 09:27:10 -07:00
2020-08-12 10:58:02 -07:00
2020-10-22 13:13:57 -07:00
2020-10-22 13:08:57 -07:00
2020-10-16 11:11:22 -07:00
2020-10-18 09:27:10 -07:00
2020-07-01 12:09:13 +03:00
2020-07-27 14:31:12 -04:00
2019-12-18 18:07:31 +01:00
2020-06-04 19:06:24 -07:00
2020-07-07 11:58:59 -05:00
2020-05-09 13:57:12 +02:00