typedef afs_uint32 cacheConfig<>;
const AFSCAPABILITIESMAX = 196;
-typedef afs_int32 Capabilities<AFSCAPABILITIESMAX>;
+typedef afs_uint32 Capabilities<AFSCAPABILITIESMAX>;
/* Viced Capability Flags */
const VICED_CAPABILITY_ERRORTRANS = 0x0001;
const VICED_CAPABILITY_64BITFILES = 0x0002;
const VICED_CAPABILITY_WRITELOCKACL = 0x0004;
+const VICED_CAPABILITY_SANEACLS = 0x0008;
/* Cache Manager Capability Flags */
const CLIENT_CAPABILITY_ERRORTRANS = 0x0001;
#if defined(AFS_64BIT_ENV) && defined(AFS_LARGEFILE_ENV)
dataBuffP[0] |= VICED_CAPABILITY_64BITFILES;
#endif
+ if (saneacls)
+ dataBuffP[0] |= VICED_CAPABILITY_SANEACLS;
capabilities->Capabilities_len = dataBytes / sizeof(afs_int32);
capabilities->Capabilities_val = dataBuffP;
int abort_threshold = 10;
int udpBufSize = 0; /* UDP buffer size for receive */
int sendBufSize = 16384; /* send buffer size */
+int saneacls = 0; /* Sane ACLs Flag */
struct timeval tp;
/* set syslog logging flag */
mrafsStyleLogs = 1;
}
+ else if (strcmp(argv[i], "-saneacls") == 0) {
+ saneacls = 1;
+ }
else {
return (-1);
}
};
extern int busyonrst;
+extern int saneacls;
#define RESTART_ORDINARY 1
#define RESTART_FAST 2