patch-1.3.2 linux/kernel/signal.c

Next file: linux/kernel/sys.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.1/linux/kernel/signal.c linux/kernel/signal.c
@@ -123,10 +123,9 @@
 		if (err)
 			return err;
 	}
+	memset(&tmp, 0, sizeof(tmp));
 	tmp.sa_handler = handler;
-	tmp.sa_mask = 0;
 	tmp.sa_flags = SA_ONESHOT | SA_NOMASK;
-	tmp.sa_restorer = NULL;
 	handler = current->sigaction[signum-1].sa_handler;
 	current->sigaction[signum-1] = tmp;
 	check_pending(signum);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this