patch-2.4.17 linux/fs/exec.c
Next file: linux/fs/ext2/super.c
Previous file: linux/fs/devpts/root.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/fs/exec.c
- Orig date:
Sat Nov 3 01:39:20 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/fs/exec.c linux/fs/exec.c
@@ -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);
@@ -973,9 +973,7 @@
if (do_truncate(file->f_dentry, 0) != 0)
goto close_fail;
- down_read(¤t->mm->mmap_sem);
retval = binfmt->core_dump(signr, regs, file);
- up_read(¤t->mm->mmap_sem);
close_fail:
filp_close(file, NULL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)