diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-24 00:19:49 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-24 00:19:49 +0000 |
commit | d8290a491b942a98582508cc9b6718832261d4ad (patch) | |
tree | 71b9f523f4979b625ecfdd3fb49c43a38cef3053 /sys/nfs | |
parent | f75538b630ba05fcf2635e8fe5e4f51c32f429ea (diff) |
Split the API: struct ucred remains the kernel internal structure while
struct xucred becomes the structure for syscalls (mount(2) and nfssvc(2)).
ok deraadt@ beck@
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index 1dcaa29cbcf..3326af33122 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs.h,v 1.51 2009/09/02 18:20:54 thib Exp $ */ +/* $OpenBSD: nfs.h,v 1.52 2014/03/24 00:19:48 guenther Exp $ */ /* $NetBSD: nfs.h,v 1.10.4.1 1996/05/27 11:23:56 fvdl Exp $ */ /* @@ -107,7 +107,7 @@ struct nfsd_srvargs { 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 xucred 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 verifier */ |