diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-05-14 21:39:08 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-05-14 21:39:08 +0000 |
commit | ef1be3984d15c3d19d3f36350bd596329e59ae95 (patch) | |
tree | 5c710d90ce1b15129bc2c43590e433010077b9c7 /sys/fs/nfs/nfsdport.h | |
parent | a17331003b62d651244b335330ed0202c58d376e (diff) | |
download | FreeBSD-src-ef1be3984d15c3d19d3f36350bd596329e59ae95.zip FreeBSD-src-ef1be3984d15c3d19d3f36350bd596329e59ae95.tar.gz |
Apply changes to the experimental nfs server so that it uses the security
flavors as exported in FreeBSD-CURRENT. This allows it to use a
slightly modified mountd.c instead of a different utility.
Approved by: kib (mentor)
Diffstat (limited to 'sys/fs/nfs/nfsdport.h')
-rw-r--r-- | sys/fs/nfs/nfsdport.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/nfs/nfsdport.h b/sys/fs/nfs/nfsdport.h index f8ee445..42dbe08 100644 --- a/sys/fs/nfs/nfsdport.h +++ b/sys/fs/nfs/nfsdport.h @@ -52,8 +52,10 @@ * needs to be returned by nfsd_fhtovp(). */ struct nfsexstuff { - int nes_vfslocked; /* required for all ports */ - int nes_exflag; + int nes_vfslocked; /* required for all ports */ + int nes_exflag; /* export flags */ + int nes_numsecflavor; /* # of security flavors */ + int nes_secflavors[MAXSECFLAVORS]; /* and the flavors */ }; #define NFSVNO_EXINIT(e) ((e)->nes_exflag = 0) @@ -61,11 +63,9 @@ struct nfsexstuff { #define NFSVNO_EXRDONLY(e) ((e)->nes_exflag & MNT_EXRDONLY) #define NFSVNO_EXPORTANON(e) ((e)->nes_exflag & MNT_EXPORTANON) #define NFSVNO_EXSTRICTACCESS(e) ((e)->nes_exflag & MNT_EXSTRICTACCESS) -#define NFSVNO_EXGSSONLY(e) ((e)->nes_exflag & MNT_EXGSSONLY) #define NFSVNO_EXV4ONLY(e) ((e)->nes_exflag & MNT_EXV4ONLY) #define NFSVNO_SETEXRDONLY(e) ((e)->nes_exflag = (MNT_EXPORTED|MNT_EXRDONLY)) -#define NFSVNO_SETEXGSSONLY(e) ((e)->nes_exflag |= MNT_EXGSSONLY) #define NFSVNO_CMPFH(f1, f2) \ ((f1)->fh_fsid.val[0] == (f2)->fh_fsid.val[0] && \ |