patch-2.4.4 linux/drivers/char/esp.c
Next file: linux/drivers/char/ftape/zftape/zftape-vtbl.c
Previous file: linux/drivers/char/epca.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Apr 6 10:42:55 2001
- Orig file:
v2.4.3/linux/drivers/char/esp.c
- Orig date:
Fri Feb 9 11:30:22 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/char/esp.c linux/drivers/char/esp.c
@@ -1907,7 +1907,7 @@
return get_lsr_info(info, (unsigned int *) arg);
case TIOCSERSWILD:
- if (!suser())
+ if (!capable(CAP_SYS_ADMIN))
return -EPERM;
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)