[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3877989d0805211947i54bacc7cv619541e9b40824fb@mail.gmail.com>
Date: Thu, 22 May 2008 10:47:35 +0800
From: "Luming Yu" <luming.yu@...il.com>
To: LKML <linux-kernel@...r.kernel.org>, linux-ia64@...r.kernel.org
Subject: [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race
Hello list,
The following patch is to fixed a race in ptrace_stop handling which
causes "strace" hang if the target process blocks SIGTRAP with the
test case filed at
https://bugzilla.redhat.com/show_bug.cgi?id=446200#c16.
Please note this is just IA64 problem because just IA64 has
arch_ptrace_stop_needed defined, and has arch_ptrace_stop defined that
would set notify_resume flags for syncing rbs...but it also opens the
door to invoke ia64_do_signal->get_signal_to_deliver before setting
current PTRACED flag. Please help review.
**The patch is enclosed in text attachment*
**I'm using web client to send the patch* *
Signed-off-by: Yu Luming <luming.yu@...el.com>
--------------------------------------
signal.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Download attachment "446200.patch" of type "application/force-download" (624 bytes)
Powered by blists - more mailing lists