patch-2.1.100 linux/drivers/macintosh/macserial.c
Next file: linux/drivers/misc/TODO-parport
Previous file: linux/drivers/isdn/avmb1/capi.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/macintosh/macserial.c
- Orig date:
Sat Apr 25 18:13:11 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/macintosh/macserial.c linux/drivers/macintosh/macserial.c
@@ -964,7 +964,7 @@
copy_from_user(&new_serial,new_info,sizeof(new_serial));
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