summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0224-ptrace-fix-ptrace_unfreeze_traced-race-with-rt-lock.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches-rt/0224-ptrace-fix-ptrace_unfreeze_traced-race-with-rt-lock.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/0224-ptrace-fix-ptrace_unfreeze_traced-race-with-rt-lock.patch b/debian/patches-rt/0224-ptrace-fix-ptrace_unfreeze_traced-race-with-rt-lock.patch
index 4e61137e3..2aaa8bb0e 100644
--- a/debian/patches-rt/0224-ptrace-fix-ptrace_unfreeze_traced-race-with-rt-lock.patch
+++ b/debian/patches-rt/0224-ptrace-fix-ptrace_unfreeze_traced-race-with-rt-lock.patch
@@ -1,9 +1,9 @@
-From 10d5d8e25cce1695bb99f7149038d97b9a160201 Mon Sep 17 00:00:00 2001
+From 22e9788899df87296f03af052e125f3aacd518ae Mon Sep 17 00:00:00 2001
From: Oleg Nesterov <oleg@redhat.com>
Date: Tue, 3 Nov 2020 12:39:01 +0100
Subject: [PATCH 224/323] ptrace: fix ptrace_unfreeze_traced() race with
rt-lock
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz
The patch "ptrace: fix ptrace vs tasklist_lock race" changed
ptrace_freeze_traced() to take task->saved_state into account, but
@@ -20,7 +20,7 @@ Cc: stable-rt@vger.kernel.org
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
-index 71acb6341e63..fb5d1a19507d 100644
+index 71acb6341e639..fb5d1a19507da 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -213,8 +213,8 @@ static bool ptrace_freeze_traced(struct task_struct *task)
@@ -61,5 +61,5 @@ index 71acb6341e63..fb5d1a19507d 100644
}
--
-2.43.0
+2.44.0