Remove stale comment about super user. no functional change
This commit is contained in:
parent
c88a33f1f2
commit
b7f6f78fc9
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.149 2009/07/07 14:09:05 christos Exp $ */
|
||||
/* $NetBSD: nfs_syscalls.c,v 1.150 2009/09/14 14:37:52 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.149 2009/07/07 14:09:05 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_syscalls.c,v 1.150 2009/09/14 14:37:52 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -128,9 +128,6 @@ sys_nfssvc(struct lwp *l, const struct sys_nfssvc_args *uap, register_t *retval)
|
||||
struct nfssvc_sock *slp;
|
||||
struct nfsuid *nuidp;
|
||||
|
||||
/*
|
||||
* Must be super user
|
||||
*/
|
||||
error = kauth_authorize_network(l->l_cred, KAUTH_NETWORK_NFS,
|
||||
KAUTH_REQ_NETWORK_NFS_SVC, NULL, NULL, NULL);
|
||||
if (error)
|
||||
|
Loading…
Reference in New Issue
Block a user