From d8290a491b942a98582508cc9b6718832261d4ad Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 24 Mar 2014 00:19:49 +0000 Subject: 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@ --- sys/nfs/nfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/nfs') 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 */ -- cgit v1.2.3