patch-2.1.128 linux/fs/exec.c

Next file: linux/fs/ext2/dir.c
Previous file: linux/fs/binfmt_aout.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.127/linux/fs/exec.c linux/fs/exec.c
@@ -445,9 +445,9 @@
 
 /*
  * This function makes sure the current process has its own signal table,
- * so that flush_old_signals can later reset the signals without disturbing
- * other processes.  (Other processes might share the signal table via
- * the CLONE_SIGHAND option to clone().)
+ * so that flush_signal_handlers can later reset the handlers without
+ * disturbing other processes.  (Other processes might share the signal
+ * table via the CLONE_SIGHAND option to clone().)
  */
  
 static inline int make_private_signals(void)
@@ -486,12 +486,6 @@
  * so that a new one can be started
  */
 
-static inline void flush_old_signals(struct task_struct *t)
-{
-	flush_signals(t);
-	flush_signal_handlers(t);
-}
-
 static inline void flush_old_files(struct files_struct * files)
 {
 	unsigned long j;
@@ -553,7 +547,7 @@
 	    permission(bprm->dentry->d_inode,MAY_READ))
 		current->dumpable = 0;
 
-	flush_old_signals(current);
+	flush_signal_handlers(current);
 	flush_old_files(current->files);
 
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov