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
- Lines: 12
- Date:
Fri Jun 16 21:15:29 1995
- Orig file:
v1.3.1/linux/kernel/signal.c
- Orig date:
Mon Jan 23 23:04:10 1995
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