patch-2.3.11 linux/drivers/char/vt.c
Next file: linux/drivers/misc/parport_arc.c
Previous file: linux/drivers/char/sysrq.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jul 9 15:05:41 1999
- Orig file:
v2.3.10/linux/drivers/char/vt.c
- Orig date:
Wed Jun 30 13:38:19 1999
diff -u --recursive --new-file v2.3.10/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -670,7 +670,7 @@
case KDSIGACCEPT:
{
extern int spawnpid, spawnsig;
- if (!perm)
+ if (!perm || !capable(CAP_KILL))
return -EPERM;
if (arg < 1 || arg > _NSIG || arg == SIGKILL)
return -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)