]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs: add fsp_flags ntcreatex_deny_[dos|fcb] and ntcreatex_stream_baseopen
authorRalph Boehme <slow@samba.org>
Thu, 27 Mar 2025 18:39:52 +0000 (19:39 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 9 Apr 2025 13:40:36 +0000 (13:40 +0000)
Not used for now.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/include/vfs.h

index d7ac7f0fbafadd8b7fb7ebc16a1942527f42d695..75b81648108898a57bfd9c737463a72e18e30343 100644 (file)
  *              and convert struct files_struct.posix_flags to
  *              struct files_struct.fsp_flags.posix_open
  * Version 50 - Add struct files_struct.fsp_flags.posix_append
+ * Change to Version 51 - will ship with 4.23
+ * Version 51 - Add ntcreatex_deny_[dos|fcb] and ntcreatex_stream_baseopen
  */
 
-#define SMB_VFS_INTERFACE_VERSION 50
+#define SMB_VFS_INTERFACE_VERSION 51
 
 /*
     All intercepted VFS operations must be declared as static functions inside module source
@@ -462,6 +464,9 @@ typedef struct files_struct {
                bool fstat_before_close : 1;
                bool posix_open : 1;
                bool posix_append : 1;
+               bool ntcreatex_deny_dos : 1;
+               bool ntcreatex_deny_fcb : 1;
+               bool ntcreatex_stream_baseopen : 1;
        } fsp_flags;
 
        /* Only used for SMB1 close with explicit time */