* [PATCH] Small bugfix in signal code in exec.c
@ 2001-11-28 17:14 Dave McCracken
0 siblings, 0 replies; only message in thread
From: Dave McCracken @ 2001-11-28 17:14 UTC (permalink / raw)
To: Marcelo Tosatti, Linus Torvalds, Linux Kernel
Here's a small bug, not likely to be hit often, but likely painful if it
does trigger.
Dave McCracken
======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmccr@us.ibm.com T/L 678-3059
-------------------------
--- linux-2.4.16/fs/exec.c Fri Nov 2 19:39:20 2001
+++ linux-2.4.16/fs/exec.c.new Wed Nov 28 11:06:25 2001
@@ -586,7 +586,7 @@
flush_failed:
spin_lock_irq(¤t->sigmask_lock);
if (current->sig != oldsig) {
- kfree(current->sig);
+ kmem_cache_free(sigact_cachep, current->sig);
current->sig = oldsig;
}
spin_unlock_irq(¤t->sigmask_lock);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-28 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28 17:14 [PATCH] Small bugfix in signal code in exec.c Dave McCracken
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.