summaryrefslogtreecommitdiff
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-17 22:50:39 +0000
committerSteve French <sfrench@us.ibm.com>2007-10-17 22:50:39 +0000
commita750e77c21d75abd26fbbde2e104fd406566b6e5 (patch)
treed4ec933e45547926dbc02d17ea786dacdd8b24ba /fs/cifs/cifspdu.h
parentd5d18501090179d557a4ca976d1c30bfaf5de091 (diff)
downloadlwn-a750e77c21d75abd26fbbde2e104fd406566b6e5.tar.gz
lwn-a750e77c21d75abd26fbbde2e104fd406566b6e5.zip
[CIFS] acl support part 4
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index d2f0cf23bbba..c41ff74e9128 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -215,6 +215,12 @@
/* file_execute, file_read_attributes*/
/* write_dac, and delete. */
+#define FILE_READ_RIGHTS (FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES)
+#define FILE_WRITE_RIGHTS (FILE_WRITE_DATA | FILE_APPEND_DATA \
+ | FILE_WRITE_EA | FILE_WRITE_ATTRIBUTES)
+#define FILE_EXEC_RIGHTS (FILE_EXECUTE)
+
+
/*
* Invalid readdir handle
*/