xref: /linux/fs/afs/protocol_afs.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* AFS protocol bits
3  *
4  * Copyright (C) 2021 Red Hat, Inc. All Rights Reserved.
5  * Written by David Howells (dhowells@redhat.com)
6  */
7 
8 
9 #define AFSCAPABILITIESMAX 196 /* Maximum number of words in a capability set */
10 
11 /* AFS3 Fileserver capabilities word 0 */
12 #define AFS3_VICED_CAPABILITY_ERRORTRANS	0x0001 /* Uses UAE errors */
13 #define AFS3_VICED_CAPABILITY_64BITFILES	0x0002 /* FetchData64 & StoreData64 supported */
14 #define AFS3_VICED_CAPABILITY_WRITELOCKACL	0x0004 /* Can lock a file even without lock perm */
15 #define AFS3_VICED_CAPABILITY_SANEACLS		0x0008 /* ACLs reviewed for sanity - don't use */
16