patch-2.1.100 linux/fs/nfsd/nfsctl.c
Next file: linux/fs/open.c
Previous file: linux/fs/namei.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/fs/nfsd/nfsctl.c
- Orig date:
Mon Jan 12 14:39:48 1998
diff -u --recursive --new-file v2.1.99/linux/fs/nfsd/nfsctl.c linux/fs/nfsd/nfsctl.c
@@ -148,7 +148,7 @@
if (!initialized)
nfsd_init();
err = -EPERM;
- if (!suser()) {
+ if (!capable(CAP_SYS_ADMIN)) {
goto done;
}
err = -EFAULT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov