openbsd-20021011
[openafs.git] / src / afs / exporter.h
index da17b1e..d0a8f2b 100644 (file)
   * up 2 bytes
   */
 
-#if defined(AFS_SUN57_64BIT_ENV) || defined(AFS_OSF_ENV) || (defined(AFS_SGI61_ENV) && (_MIPS_SZPTR==64))
+#if defined(AFS_SUN57_64BIT_ENV) || defined(AFS_OSF_ENV) || (defined(AFS_SGI61_ENV) && (_MIPS_SZPTR==64)) || defined(AFS_LINUX_64BIT_KERNEL)
 #define        AFS_XLATOR_MAGIC        0x8765          /* XXX */
 #else
 #define        AFS_XLATOR_MAGIC        0x87654321
 #endif
 
+#if defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
+#define AFS_NFSXLATORREQ(cred) 0
+#else
 #ifdef AFS_OSF_ENV
 #define        AFS_NFSXLATORREQ(cred)    ((cred)->cr_ruid == NFSXLATOR_CRED)
 #else
 #define        AFS_NFSXLATORREQ(cred)    ((cred)->cr_rgid == NFSXLATOR_CRED)
 #endif
+#endif
 
 struct exporterops {
     int            (*export_reqhandler)();