patch-2.2.19 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: 9
- Date:
Sun Mar 25 11:37:40 2001
- Orig file:
v2.2.18/kernel/signal.c
- Orig date:
Sun Mar 25 11:12:36 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/kernel/signal.c linux/kernel/signal.c
@@ -820,7 +820,7 @@
/* Not even root can pretend to send signals from the kernel.
Nor can they impersonate a kill(), which adds source info. */
- if (info.si_code >= 0)
+ if (SI_FROMKERNEL(&info))
return -EPERM;
info.si_signo = sig;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)