patch-2.1.100 linux/arch/mips/kernel/sysmips.c
Next file: linux/arch/ppc/kernel/ptrace.c
Previous file: linux/arch/mips/kernel/sysirix.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 6 10:56:01 1998
- Orig file:
v2.1.99/linux/arch/mips/kernel/sysmips.c
- Orig date:
Wed Dec 10 10:31:10 1997
diff -u --recursive --new-file v2.1.99/linux/arch/mips/kernel/sysmips.c linux/arch/mips/kernel/sysmips.c
@@ -58,7 +58,7 @@
{
case SETNAME:
retval = -EPERM;
- if (!suser())
+ if (!capable(CAP_SYS_ADMIN))
goto out;
name = (char *) arg1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov