patch-2.1.100 linux/arch/alpha/kernel/bios32.c
Next file: linux/arch/alpha/kernel/ptrace.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed May 6 10:56:01 1998
- Orig file:
v2.1.99/linux/arch/alpha/kernel/bios32.c
- Orig date:
Tue Apr 14 14:29:19 1998
diff -u --recursive --new-file v2.1.99/linux/arch/alpha/kernel/bios32.c linux/arch/alpha/kernel/bios32.c
@@ -2041,7 +2041,7 @@
unsigned int uint;
long err = 0;
- if (!suser())
+ if (!capable(CAP_SYS_ADMIN))
return -EPERM;
lock_kernel();
@@ -2082,7 +2082,7 @@
unsigned int uint;
long err = 0;
- if (!suser())
+ if (!capable(CAP_SYS_ADMIN))
return -EPERM;
lock_kernel();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov