patch-2.1.102 linux/drivers/char/cyclades.c
Next file: linux/drivers/char/joystick.c
Previous file: linux/drivers/block/nbd.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat May 9 13:06:26 1998
- Orig file:
v2.1.101/linux/drivers/char/cyclades.c
- Orig date:
Tue Apr 14 14:29:20 1998
diff -u --recursive --new-file v2.1.101/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -3382,7 +3382,7 @@
copy_from_user(&new_serial,new_info,sizeof(new_serial));
old_info = *info;
- if (!suser()) {
+ if (!capable(CAP_SYS_ADMIN)) {
if ((new_serial.close_delay != info->close_delay) ||
(new_serial.baud_base != info->baud) ||
((new_serial.flags & ASYNC_FLAGS & ~ASYNC_USR_MASK) !=
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov