From: Dave McCracken <dmccr@us.ibm.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
Linus Torvalds <torvalds@transmeta.com>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Small bugfix in signal code in exec.c
Date: Wed, 28 Nov 2001 11:14:32 -0600 [thread overview]
Message-ID: <62120000.1006967672@baldur> (raw)
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);
reply other threads:[~2001-11-28 17:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=62120000.1006967672@baldur \
--to=dmccr@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.