All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race
@ 2008-05-22  2:47 ` Luming Yu
  0 siblings, 0 replies; 82+ messages in thread
From: Luming Yu @ 2008-05-22  2:47 UTC (permalink / raw)
  To: LKML, linux-ia64

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

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@intel.com>
--------------------------------------
 signal.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

[-- Attachment #2: 446200.patch --]
[-- Type: application/force-download, Size: 624 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2008-09-18  5:44 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22  2:47 [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Luming Yu
2008-05-22  2:47 ` Luming Yu
2008-05-22  8:47 ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-05-22  8:47   ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-05-22  9:16   ` Luming Yu
2008-05-22  9:16     ` Luming Yu
2008-05-22 11:18     ` Roland McGrath
2008-05-22 11:18       ` Roland McGrath
2008-05-22 12:12       ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-05-22 12:12         ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-05-22 20:39         ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Roland McGrath
2008-05-22 20:39           ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Roland McGrath
2008-05-23 12:33         ` Luming Yu
2008-05-23 12:33           ` Luming Yu
2008-05-22 13:24       ` Luming Yu
2008-05-22 13:24         ` Luming Yu
2008-05-22 20:34         ` Roland McGrath
2008-05-22 20:34           ` Roland McGrath
2008-05-23  3:42           ` Luming Yu
2008-05-23  3:42             ` Luming Yu
2008-05-23  4:19             ` Roland McGrath
2008-05-23  4:19               ` Roland McGrath
2008-05-23  5:24               ` Luming Yu
2008-05-23  5:24                 ` Luming Yu
2008-05-26  0:15                 ` Roland McGrath
2008-05-26  0:15                   ` Roland McGrath
2008-05-26  1:30                   ` Luming Yu
2008-05-26  1:30                     ` Luming Yu
2008-05-27  3:31                     ` Luming Yu
2008-05-27  3:31                       ` Luming Yu
2008-05-27  4:04                       ` Roland McGrath
2008-05-27  4:04                         ` Roland McGrath
2008-05-27  5:49                         ` Luming Yu
2008-05-27  5:49                           ` Luming Yu
2008-05-27  6:12                           ` Roland McGrath
2008-05-27  6:12                             ` Roland McGrath
2008-05-27  6:25                             ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-05-27  6:25                               ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-06-03  6:04                               ` Luming Yu
2008-06-03  6:04                                 ` Luming Yu
2008-06-03  9:01                                 ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-06-03  9:01                                   ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-06-03 14:32                                   ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-06-03 14:32                                     ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-06-03 21:01                                     ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Roland McGrath
2008-06-03 21:01                                       ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Roland McGrath
2008-06-03 21:31                                       ` Luck, Tony
2008-06-03 21:31                                         ` Luck, Tony
2008-06-03 22:13                                         ` Roland McGrath
2008-06-03 22:13                                           ` Roland McGrath
2008-06-10  8:23                                         ` Luming Yu
2008-06-10  8:23                                           ` Luming Yu
2008-06-04  2:16                                     ` Luming Yu
2008-06-04  2:16                                       ` Luming Yu
2008-06-04  9:16                                       ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-06-04  9:16                                         ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-06-05  1:49                                         ` Luming Yu
2008-06-05  1:49                                           ` Luming Yu
2008-06-05 11:16                                           ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Petr Tesarik
2008-06-05 11:16                                             ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Petr Tesarik
2008-06-06  0:07                                             ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a Roland McGrath
2008-06-06  0:07                                               ` [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race Roland McGrath
2008-09-09  3:06                                               ` Luming Yu
2008-09-09  3:06                                                 ` Luming Yu
2008-09-10  5:55                                                 ` Roland McGrath
2008-09-10  5:55                                                   ` Roland McGrath
2008-09-16  8:50                                                   ` Luming Yu
2008-09-16  8:50                                                     ` Luming Yu
2008-09-17 17:01                                                     ` Roland McGrath
2008-09-17 17:01                                                       ` Roland McGrath
2008-09-18  5:44                                                       ` Luming Yu
2008-09-18  5:44                                                         ` Luming Yu
2008-05-27  6:34                             ` Luming Yu
2008-05-27  6:34                               ` Luming Yu
2008-05-27  8:48                             ` Luming Yu
2008-05-27  8:48                               ` Luming Yu
2008-05-28  9:14                               ` Luming Yu
2008-05-28  9:14                                 ` Luming Yu
2008-06-03  6:02                                 ` Luming Yu
2008-06-03  6:02                                   ` Luming Yu
2008-05-30  8:05                               ` Roland McGrath
2008-05-30  8:05                                 ` Roland McGrath

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.