* [patch] sigfix-2.5.39-A1
@ 2002-09-29 9:41 Ingo Molnar
0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2002-09-29 9:41 UTC (permalink / raw)
To: Linus Torvalds; +Cc: David Mosberger, linux-kernel
the attached patch 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.)
Ingo
--- linux/include/linux/sched.h.orig Sun Sep 29 11:25:06 2002
+++ linux/include/linux/sched.h Sun Sep 29 11:27:58 2002
@@ -226,15 +226,15 @@
struct k_sigaction action[_NSIG];
spinlock_t siglock;
- /* current thread group signal load-balancing target: */
- task_t *curr_target;
+ /* current thread group signal load-balancing target: */
+ task_t *curr_target;
+ /* shared signal handling: */
struct sigpending shared_pending;
/* thread group exit support */
int group_exit;
int group_exit_code;
-
struct task_struct *group_exit_task;
};
--- linux/kernel/signal.c.orig Sun Sep 29 11:28:25 2002
+++ linux/kernel/signal.c Sun Sep 29 11:31:53 2002
@@ -781,7 +781,7 @@
recalc_sigpending_tsk(t);
spin_unlock_irqrestore(&t->sigmask_lock, flags);
- return send_sig_info(sig, (void *)1, t);
+ return send_sig_info(sig, info, t);
}
static int
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-29 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-29 9:41 [patch] sigfix-2.5.39-A1 Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).