Home Home > GIT Browse > openSUSE-15.1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-09-15 03:03:03 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-15 03:03:03 -0700
commit11a5dbb4b1b45463a7f37448c00fdce00ac1c7fe (patch)
tree62d1dba19ba6fdca237c3b5be470a0fdb6bc1570
parentdad4b2dc4874ef0d87519ef0079c6265b339fd20 (diff)
parent71ee22d30895845d8c05c29474af7187375799ba (diff)
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux
-rw-r--r--fs/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index ade11d37f3d9..585b3763b6f8 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -627,6 +627,8 @@ out:
remove_thread_group(current, current->sig);
spin_lock_irq(&current->sigmask_lock);
current->sig = newsig;
+ init_sigpending(&current->pending);
+ recalc_sigpending();
spin_unlock_irq(&current->sigmask_lock);
if (atomic_dec_and_test(&oldsig->count))