Print this page
*** NO COMMENTS ***


 166 #define EX_NOSUID       0x01    /* exported with unsetable set[ug]ids */
 167 #define EX_ACLOK        0x02    /* exported with maximal access if acl exists */
 168 #define EX_PUBLIC       0x04    /* exported with public filehandle */
 169 #define EX_NOSUB        0x08    /* no nfs_getfh or MCL below export point */
 170 #define EX_INDEX        0x10    /* exported with index file specified */
 171 #define EX_LOG          0x20    /* logging enabled */
 172 #define EX_LOG_ALLOPS   0x40    /* logging of all RPC operations enabled */
 173                                 /* by default only operations which affect */
 174                                 /* transaction logging are enabled */
 175 #define EX_PSEUDO       0x80    /* pseudo filesystem export */
 176 #ifdef VOLATILE_FH_TEST
 177 #define EX_VOLFH        0x100   /* XXX nfsv4 fh may expire anytime */
 178 #define EX_VOLRNM       0x200   /* XXX nfsv4 fh expire at rename */
 179 #define EX_VOLMIG       0x400   /* XXX nfsv4 fh expire at migration */
 180 #define EX_NOEXPOPEN    0x800   /* XXX nfsv4 fh no expire with open */
 181 #endif /* VOLATILE_FH_TEST */
 182 
 183 #define EX_CHARMAP      0x1000  /* NFS may need a character set conversion */
 184 #define EX_NOACLFAB     0x2000  /* If set, NFSv2 and v3 servers doesn't */
 185                                 /* fabricate ACL for VOP_GETSECATTR OTW call */

 186 
 187 #ifdef  _KERNEL
 188 
 189 #define RPC_IDEMPOTENT  0x1     /* idempotent or not */
 190 /*
 191  * Be very careful about which NFS procedures get the RPC_ALLOWANON bit.
 192  * Right now, it this bit is on, we ignore the results of per NFS request
 193  * access control.
 194  */
 195 #define RPC_ALLOWANON   0x2     /* allow anonymous access */
 196 #define RPC_MAPRESP     0x4     /* use mapped response buffer */
 197 #define RPC_AVOIDWORK   0x8     /* do work avoidance for dups */
 198 #define RPC_PUBLICFH_OK 0x10    /* allow use of public filehandle */
 199 
 200 /*
 201  * RPC_ALL is an or of all above bits to be used with "don't care"
 202  * nfsv4 ops. The flags of an nfsv4 request is the bit-AND of the
 203  * per-op flags.
 204  */
 205 #define RPC_ALL (RPC_IDEMPOTENT|RPC_ALLOWANON|RPC_AVOIDWORK|RPC_PUBLICFH_OK)




 166 #define EX_NOSUID       0x01    /* exported with unsetable set[ug]ids */
 167 #define EX_ACLOK        0x02    /* exported with maximal access if acl exists */
 168 #define EX_PUBLIC       0x04    /* exported with public filehandle */
 169 #define EX_NOSUB        0x08    /* no nfs_getfh or MCL below export point */
 170 #define EX_INDEX        0x10    /* exported with index file specified */
 171 #define EX_LOG          0x20    /* logging enabled */
 172 #define EX_LOG_ALLOPS   0x40    /* logging of all RPC operations enabled */
 173                                 /* by default only operations which affect */
 174                                 /* transaction logging are enabled */
 175 #define EX_PSEUDO       0x80    /* pseudo filesystem export */
 176 #ifdef VOLATILE_FH_TEST
 177 #define EX_VOLFH        0x100   /* XXX nfsv4 fh may expire anytime */
 178 #define EX_VOLRNM       0x200   /* XXX nfsv4 fh expire at rename */
 179 #define EX_VOLMIG       0x400   /* XXX nfsv4 fh expire at migration */
 180 #define EX_NOEXPOPEN    0x800   /* XXX nfsv4 fh no expire with open */
 181 #endif /* VOLATILE_FH_TEST */
 182 
 183 #define EX_CHARMAP      0x1000  /* NFS may need a character set conversion */
 184 #define EX_NOACLFAB     0x2000  /* If set, NFSv2 and v3 servers doesn't */
 185                                 /* fabricate ACL for VOP_GETSECATTR OTW call */
 186 #define EX_NOHIDE       0x4000  /* traversable from exported parent */
 187 
 188 #ifdef  _KERNEL
 189 
 190 #define RPC_IDEMPOTENT  0x1     /* idempotent or not */
 191 /*
 192  * Be very careful about which NFS procedures get the RPC_ALLOWANON bit.
 193  * Right now, it this bit is on, we ignore the results of per NFS request
 194  * access control.
 195  */
 196 #define RPC_ALLOWANON   0x2     /* allow anonymous access */
 197 #define RPC_MAPRESP     0x4     /* use mapped response buffer */
 198 #define RPC_AVOIDWORK   0x8     /* do work avoidance for dups */
 199 #define RPC_PUBLICFH_OK 0x10    /* allow use of public filehandle */
 200 
 201 /*
 202  * RPC_ALL is an or of all above bits to be used with "don't care"
 203  * nfsv4 ops. The flags of an nfsv4 request is the bit-AND of the
 204  * per-op flags.
 205  */
 206 #define RPC_ALL (RPC_IDEMPOTENT|RPC_ALLOWANON|RPC_AVOIDWORK|RPC_PUBLICFH_OK)