patch-2.1.100 linux/drivers/sbus/char/zs.c
Next file: linux/drivers/scsi/ide-scsi.c
Previous file: linux/drivers/sbus/char/vfc_dev.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 6 10:56:04 1998
- Orig file:
v2.1.99/linux/drivers/sbus/char/zs.c
- Orig date:
Thu Apr 23 20:21:34 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/sbus/char/zs.c linux/drivers/sbus/char/zs.c
@@ -1265,7 +1265,7 @@
return -EFAULT;
old_info = *info;
- if (!suser()) {
+ if (!capable(CAP_SYS_ADMIN)) {
if ((new_serial.baud_base != info->baud_base) ||
(new_serial.type != info->type) ||
(new_serial.close_delay != info->close_delay) ||
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov