From: Ralph Boehme Date: Thu, 27 Mar 2025 18:39:52 +0000 (+0100) Subject: vfs: add fsp_flags ntcreatex_deny_[dos|fcb] and ntcreatex_stream_baseopen X-Git-Tag: tevent-0.17.0~356 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1d5aae69cec07daba256ed8c077fd2e88ef3149;p=thirdparty%2Fsamba.git vfs: add fsp_flags ntcreatex_deny_[dos|fcb] and ntcreatex_stream_baseopen Not used for now. Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke --- diff --git a/source3/include/vfs.h b/source3/include/vfs.h index d7ac7f0fbaf..75b81648108 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -388,9 +388,11 @@ * 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 */