summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfsproto.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-05-31 19:00:19 +0000
committerpeter <peter@FreeBSD.org>1998-05-31 19:00:19 +0000
commita21fad22e004e0ea740a93a97eae018ade9a71a6 (patch)
tree86bb05e81ec22a77a8e21654a6e43c639da7b87f /sys/nfs/nfsproto.h
parent985cae8566eb17adf4fec3db796796b71d381886 (diff)
downloadFreeBSD-src-a21fad22e004e0ea740a93a97eae018ade9a71a6.zip
FreeBSD-src-a21fad22e004e0ea740a93a97eae018ade9a71a6.tar.gz
Don't pass a second copy of the uid/gid in with the v2/v3 sattr structures,
it just makes more work. We pass a copy of the uid/gid with the credentials. (although, this may need to be revisited if a non AUTHUNIX authentication method (such as NFSKERB) ever gets implemented). Obtained from: NetBSD
Diffstat (limited to 'sys/nfs/nfsproto.h')
-rw-r--r--sys/nfs/nfsproto.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/nfs/nfsproto.h b/sys/nfs/nfsproto.h
index ada9926..9ada127 100644
--- a/sys/nfs/nfsproto.h
+++ b/sys/nfs/nfsproto.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsproto.h 8.2 (Berkeley) 3/30/95
- * $Id: nfsproto.h,v 1.3 1997/02/22 09:42:50 peter Exp $
+ * $Id: nfsproto.h,v 1.4 1998/05/31 17:27:58 peter Exp $
*/
#ifndef _NFS_NFSPROTO_H_
@@ -371,10 +371,8 @@ struct nfsv2_sattr {
struct nfsv3_sattr {
u_long sa_modetrue;
u_long sa_mode;
- u_long sa_uidtrue;
- u_long sa_uid;
- u_long sa_gidtrue;
- u_long sa_gid;
+ u_long sa_uidfalse;
+ u_long sa_gidfalse;
u_long sa_sizefalse;
u_long sa_atimetype;
nfstime3 sa_atime;
OpenPOWER on IntegriCloud