summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2005-04-01 18:14:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:26 -0500
commitdee553bdb1dc98b6fc4e97ecbad5f9254928ff3f (patch)
tree28b3fb104fbc59e4db62bf76be3756ed989a696d
parent0f535e3e5b2e3fa0ce107fb4253bc1e0ec19b674 (diff)
downloadsamba-dee553bdb1dc98b6fc4e97ecbad5f9254928ff3f.tar.gz
samba-dee553bdb1dc98b6fc4e97ecbad5f9254928ff3f.tar.bz2
samba-dee553bdb1dc98b6fc4e97ecbad5f9254928ff3f.zip
r6167: Add more defines for POSIX extensions to match the newly added
client implementation (This used to be commit 8f6dba2cc3f337e990ef3e4b46718a5c1dca65ab)
-rw-r--r--source3/include/trans2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/trans2.h b/source3/include/trans2.h
index ee0c10d966..63e51d5e19 100644
--- a/source3/include/trans2.h
+++ b/source3/include/trans2.h
@@ -440,6 +440,9 @@ Offset Size Name
#define SMB_QUERY_XATTR 0x205 /* need for non-user XATTRs */
#define SMB_QUERY_ATTR_FLAGS 0x206 /* chflags, chattr */
#define SMB_SET_ATTR_FLAGS 0x206
+#define SMB_QUERY_POSIX_PERMISSION 0x207
+#define SMB_QUERY_POSIX_LOCK 0x208
+#define SMB_SET_POSIX_LOCK 0x208
/* Transact 2 Find First levels */
#define SMB_FIND_FILE_UNIX 0x202
@@ -464,6 +467,13 @@ Offset Size Name
#define CIFS_UNIX_FCNTL_LOCKS_CAP 0x1
#define CIFS_UNIX_POSIX_ACLS_CAP 0x2
+#define CIFS_UNIX_XATTTR_CAP 0x4 /* for support of other xattr
+ namespaces such as system,
+ security and trusted */
+#define CIFS_UNIX_EXTATTR_CAP 0x8 /* for support of chattr
+ (chflags) and lsattr */
+#define CIFS_UNIX_POSIX_LOCK 0x10
+
#define SMB_QUERY_POSIX_FS_INFO 0x201