projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee1c93
)
[PATCH] Clean up subthread exec (CAN-2005-1913)
author
Linus Torvalds
<torvalds@osdl.org>
Sat, 18 Jun 2005 20:17:49 +0000
(13:17 -0700)
committer
Chris Wright
<chrisw@osdl.org>
Wed, 22 Jun 2005 19:32:50 +0000
(12:32 -0700)
Make sure we re-parent itimers. If subthread exec's with timer pending,
signal is delivered to old group-leader and can panic kernel.
Signed-off-by: Linus Torvalds <torvalds@ppc970.osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
fs/exec.c
patch
|
blob
|
history
diff --git
a/fs/exec.c
b/fs/exec.c
index e56ee24370255e2ab4df9a3933ec03f0d07a2de3..422cc0ec5e366b846336a22398ddc019ca6212c2 100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-649,6
+649,7
@@
static inline int de_thread(struct task_struct *tsk)
}
sig->group_exit_task = NULL;
sig->notify_count = 0;
+ sig->real_timer.data = (unsigned long)current;
spin_unlock_irq(lock);
/*