Commit 6e21ad7b authored by Ingo Molnar's avatar Ingo Molnar Committed by Jeff Garzik

[PATCH] sigfix-2.5.39-A1

This fixes the bug reported by David Mosberger, force_sig_info() dropped
the siginfo structure, which broke things like SIGFPU or alignment-error
exceptions.  This bug was introduced by the threading signal changes.
(The patch also fixes signal declaration whitespaces in sched.h.)
parent f18ff4f7
...@@ -229,12 +229,12 @@ struct signal_struct { ...@@ -229,12 +229,12 @@ struct signal_struct {
/* current thread group signal load-balancing target: */ /* current thread group signal load-balancing target: */
task_t *curr_target; task_t *curr_target;
/* shared signal handling: */
struct sigpending shared_pending; struct sigpending shared_pending;
/* thread group exit support */ /* thread group exit support */
int group_exit; int group_exit;
int group_exit_code; int group_exit_code;
struct task_struct *group_exit_task; struct task_struct *group_exit_task;
}; };
......
...@@ -781,7 +781,7 @@ force_sig_info(int sig, struct siginfo *info, struct task_struct *t) ...@@ -781,7 +781,7 @@ force_sig_info(int sig, struct siginfo *info, struct task_struct *t)
recalc_sigpending_tsk(t); recalc_sigpending_tsk(t);
spin_unlock_irqrestore(&t->sigmask_lock, flags); spin_unlock_irqrestore(&t->sigmask_lock, flags);
return send_sig_info(sig, (void *)1, t); return send_sig_info(sig, info, t);
} }
static int static int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment