patch-2.1.89 linux/kernel/signal.c
Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Feb 27 13:58:32 1998
- Orig file:
v2.1.88/linux/kernel/signal.c
- Orig date:
Fri Jan 30 11:28:10 1998
diff -u --recursive --new-file v2.1.88/linux/kernel/signal.c linux/kernel/signal.c
@@ -758,6 +758,7 @@
Nor can they impersonate a kill(), which adds source info. */
if (info.si_code >= 0)
return -EPERM;
+ info.si_signo = sig;
/* POSIX.1b doesn't mention process groups. */
return kill_proc_info(sig, &info, pid);
@@ -860,7 +861,7 @@
sigdelsetmask(¤t->blocked, new_set);
break;
case SIG_SETMASK:
- siginitset(¤t->blocked, new_set);
+ current->blocked.sig[0] = new_set;
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov