patch-2.1.100 linux/drivers/char/riscom8.c
Next file: linux/drivers/char/rocket.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 6 10:56:03 1998
- Orig file:
v2.1.99/linux/drivers/char/riscom8.c
- Orig date:
Tue Mar 10 10:03:31 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/char/riscom8.c linux/drivers/char/riscom8.c
@@ -1447,7 +1447,7 @@
change_speed = ((port->flags & ASYNC_SPD_MASK) !=
(tmp.flags & ASYNC_SPD_MASK));
- if (!suser()) {
+ if (!capable(CAP_SYS_ADMIN)) {
if ((tmp.close_delay != port->close_delay) ||
(tmp.closing_wait != port->closing_wait) ||
((tmp.flags & ~ASYNC_USR_MASK) !=
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov