Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs Remove stale comment about super user. no functiona...



details:   https://anonhg.NetBSD.org/src/rev/9abb4ef4214e
branches:  trunk
changeset: 747430:9abb4ef4214e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Sep 14 14:37:52 2009 +0000

description:
Remove stale comment about super user.  no functional change

diffstat:

 sys/nfs/nfs_syscalls.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 9de79df879c5 -r 9abb4ef4214e sys/nfs/nfs_syscalls.c
--- a/sys/nfs/nfs_syscalls.c    Mon Sep 14 13:44:05 2009 +0000
+++ b/sys/nfs/nfs_syscalls.c    Mon Sep 14 14:37:52 2009 +0000
@@ -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 @@
        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)



Home | Main Index | Thread Index | Old Index