summaryrefslogtreecommitdiff
path: root/kernel/Kconfig.freezer
diff options
context:
space:
mode:
authorEddy Wu <itseddy0402@gmail.com>2020-11-07 09:47:22 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-11-08 22:18:39 +0300
commitb4e00444cab4c3f3fec876dc0cccc8cbb0d1a948 (patch)
tree72e12c5023507b955eed888011eca19f579a38ed /kernel/Kconfig.freezer
parent9dbc1c03eeb534b82647cccb059aca0685d449a7 (diff)
downloadlinux-b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948.tar.xz
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>
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions