[PATCH] Fix suspend with traced tasks
commit85b6bce3658a823aa169586fe71ffba0f12ccc71
authorPavel Machek <pavel@suse.cz>
Fri, 31 Mar 2006 10:30:06 +0000 (31 02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:50 +0000 (31 12:18 -0800)
treead2ca0b501d2ff767889d15dfda22abec75f38c4
parent1a75a3f0680d9c4bc4761512658b6fd664032e18
[PATCH] Fix suspend with traced tasks

strace /bin/bash misbehaves after resume; this fixes it.

(akpm: it's scary calling refrigerator() in state TASK_TRACED, but it seems to
do the right thing).

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/process.c
kernel/signal.c