Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs use struct uucred in nfsd_svcargs so that we don't b...



details:   https://anonhg.NetBSD.org/src/rev/3c3e907cabb2
branches:  trunk
changeset: 518401:3c3e907cabb2
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 29 21:22:50 2001 +0000

description:
use struct uucred in nfsd_svcargs so that we don't break the sys_nfssvc() ABI.

diffstat:

 sys/nfs/nfs.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r eea94784f117 -r 3c3e907cabb2 sys/nfs/nfs.h
--- a/sys/nfs/nfs.h     Thu Nov 29 21:22:25 2001 +0000
+++ b/sys/nfs/nfs.h     Thu Nov 29 21:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs.h,v 1.31 2001/09/15 16:13:01 chs Exp $     */
+/*     $NetBSD: nfs.h,v 1.32 2001/11/29 21:22:50 christos Exp $        */
 /*
  * Copyright (c) 1989, 1993, 1995
  *     The Regents of the University of California.  All rights reserved.
@@ -186,7 +186,7 @@
        struct nfsd     *nsd_nfsd;      /* Pointer to in kernel nfsd struct */
        uid_t           nsd_uid;        /* Effective uid mapped to cred */
        u_int32_t       nsd_haddr;      /* Ip address of client */
-       struct ucred    nsd_cr;         /* Cred. uid maps to */
+       struct uucred   nsd_cr;         /* Cred. uid maps to */
        int             nsd_authlen;    /* Length of auth string (ret) */
        u_char          *nsd_authstr;   /* Auth string (ret) */
        int             nsd_verflen;    /* and the verfier */



Home | Main Index | Thread Index | Old Index