aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/v9fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/v9fs.h')
-rw-r--r--fs/9p/v9fs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h
index c4b5d8864f0d..6fa3cf5547d5 100644
--- a/fs/9p/v9fs.h
+++ b/fs/9p/v9fs.h
@@ -28,8 +28,10 @@
28 * @V9FS_PROTO_2000L: whether or not to use 9P2000.l extensions 28 * @V9FS_PROTO_2000L: whether or not to use 9P2000.l extensions
29 * @V9FS_ACCESS_SINGLE: only the mounting user can access the hierarchy 29 * @V9FS_ACCESS_SINGLE: only the mounting user can access the hierarchy
30 * @V9FS_ACCESS_USER: a new attach will be issued for every user (default) 30 * @V9FS_ACCESS_USER: a new attach will be issued for every user (default)
31 * @V9FS_ACCESS_CLIENT: Just like user, but access check is performed on client.
31 * @V9FS_ACCESS_ANY: use a single attach for all users 32 * @V9FS_ACCESS_ANY: use a single attach for all users
32 * @V9FS_ACCESS_MASK: bit mask of different ACCESS options 33 * @V9FS_ACCESS_MASK: bit mask of different ACCESS options
34 * @V9FS_POSIX_ACL: POSIX ACLs are enforced
33 * 35 *
34 * Session flags reflect options selected by users at mount time 36 * Session flags reflect options selected by users at mount time
35 */ 37 */
@@ -37,13 +39,15 @@
37 V9FS_ACCESS_USER | \ 39 V9FS_ACCESS_USER | \
38 V9FS_ACCESS_CLIENT) 40 V9FS_ACCESS_CLIENT)
39#define V9FS_ACCESS_MASK V9FS_ACCESS_ANY 41#define V9FS_ACCESS_MASK V9FS_ACCESS_ANY
42#define V9FS_ACL_MASK V9FS_POSIX_ACL
40 43
41enum p9_session_flags { 44enum p9_session_flags {
42 V9FS_PROTO_2000U = 0x01, 45 V9FS_PROTO_2000U = 0x01,
43 V9FS_PROTO_2000L = 0x02, 46 V9FS_PROTO_2000L = 0x02,
44 V9FS_ACCESS_SINGLE = 0x04, 47 V9FS_ACCESS_SINGLE = 0x04,
45 V9FS_ACCESS_USER = 0x08, 48 V9FS_ACCESS_USER = 0x08,
46 V9FS_ACCESS_CLIENT = 0x10 49 V9FS_ACCESS_CLIENT = 0x10,
50 V9FS_POSIX_ACL = 0x20
47}; 51};
48 52
49/* possible values of ->cache */ 53/* possible values of ->cache */