patch-2.1.100 linux/drivers/sgi/char/sgiserial.c
Next file: linux/drivers/sound/Makefile
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 6 10:56:05 1998
- Orig file:
v2.1.99/linux/drivers/sgi/char/sgiserial.c
- Orig date:
Mon Feb 23 18:12:08 1998
diff -u --recursive --new-file v2.1.99/linux/drivers/sgi/char/sgiserial.c linux/drivers/sgi/char/sgiserial.c
@@ -1201,7 +1201,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