diff options
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 6 | ||||
-rw-r--r-- | source3/modules/vfs_fruit.c | 7 | ||||
-rw-r--r-- | source3/modules/vfs_full_audit.c | 7 | ||||
-rw-r--r-- | source3/modules/vfs_media_harmony.c | 12 | ||||
-rw-r--r-- | source3/modules/vfs_time_audit.c | 7 | ||||
-rw-r--r-- | source3/modules/vfs_worm.c | 7 |
6 files changed, 33 insertions, 13 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 7610e65906..613101a09a 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -531,7 +531,9 @@ static NTSTATUS vfswrap_create_file(vfs_handle_struct *handle, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result, - int *pinfo) + int *pinfo, + const struct smb2_create_blobs *in_context_blobs, + struct smb2_create_blobs *out_context_blobs) { return create_file_default(handle->conn, req, root_dir_fid, smb_fname, access_mask, share_access, @@ -539,7 +541,7 @@ static NTSTATUS vfswrap_create_file(vfs_handle_struct *handle, file_attributes, oplock_request, lease, allocation_size, private_flags, sd, ea_list, result, - pinfo); + pinfo, in_context_blobs, out_context_blobs); } static int vfswrap_close(vfs_handle_struct *handle, files_struct *fsp) diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index da1ec7f31e..9af204348a 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -2874,7 +2874,9 @@ static NTSTATUS fruit_create_file(vfs_handle_struct *handle, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result, - int *pinfo) + int *pinfo, + const struct smb2_create_blobs *in_context_blobs, + struct smb2_create_blobs *out_context_blobs) { NTSTATUS status; struct fruit_config_data *config = NULL; @@ -2887,7 +2889,8 @@ static NTSTATUS fruit_create_file(vfs_handle_struct *handle, lease, allocation_size, private_flags, sd, ea_list, result, - pinfo); + pinfo, + in_context_blobs, out_context_blobs); if (!NT_STATUS_IS_OK(status)) { return status; diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 489a28c58b..c5a9c0df64 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -871,7 +871,9 @@ static NTSTATUS smb_full_audit_create_file(vfs_handle_struct *handle, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result_fsp, - int *pinfo) + int *pinfo, + const struct smb2_create_blobs *in_context_blobs, + struct smb2_create_blobs *out_context_blobs) { NTSTATUS result; const char* str_create_disposition; @@ -916,7 +918,8 @@ static NTSTATUS smb_full_audit_create_file(vfs_handle_struct *handle, sd, /* sd */ ea_list, /* ea_list */ result_fsp, /* result */ - pinfo); /* pinfo */ + pinfo, /* pinfo */ + in_context_blobs, out_context_blobs); /* create context */ do_log(SMB_VFS_OP_CREATE_FILE, (NT_STATUS_IS_OK(result)), handle, "0x%x|%s|%s|%s", access_mask, diff --git a/source3/modules/vfs_media_harmony.c b/source3/modules/vfs_media_harmony.c index 2418349298..f1264c7472 100644 --- a/source3/modules/vfs_media_harmony.c +++ b/source3/modules/vfs_media_harmony.c @@ -1210,7 +1210,9 @@ static NTSTATUS mh_create_file(vfs_handle_struct *handle, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result_fsp, - int *pinfo) + int *pinfo, + const struct smb2_create_blobs *in_context_blobs, + struct smb2_create_blobs *out_context_blobs) { NTSTATUS status; struct smb_filename *clientFname; @@ -1238,7 +1240,9 @@ static NTSTATUS mh_create_file(vfs_handle_struct *handle, sd, ea_list, result_fsp, - pinfo); + pinfo, + in_context_blobs, + out_context_blobs); goto out; } @@ -1275,7 +1279,9 @@ static NTSTATUS mh_create_file(vfs_handle_struct *handle, sd, ea_list, result_fsp, - pinfo); + pinfo, + in_context_blobs, + out_context_blobs); err: TALLOC_FREE(clientFname); out: diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c index 243238a99e..4ce9238a2c 100644 --- a/source3/modules/vfs_time_audit.c +++ b/source3/modules/vfs_time_audit.c @@ -502,7 +502,9 @@ static NTSTATUS smb_time_audit_create_file(vfs_handle_struct *handle, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result_fsp, - int *pinfo) + int *pinfo, + const struct smb2_create_blobs *in_context_blobs, + struct smb2_create_blobs *out_context_blobs) { NTSTATUS result; struct timespec ts1,ts2; @@ -526,7 +528,8 @@ static NTSTATUS smb_time_audit_create_file(vfs_handle_struct *handle, sd, /* sd */ ea_list, /* ea_list */ result_fsp, /* result */ - pinfo); + pinfo, + in_context_blobs, out_context_blobs); /* create context */ clock_gettime_mono(&ts2); timediff = nsec_time_diff(&ts2,&ts1)*1.0e-9; diff --git a/source3/modules/vfs_worm.c b/source3/modules/vfs_worm.c index 3097419f30..9638d96053 100644 --- a/source3/modules/vfs_worm.c +++ b/source3/modules/vfs_worm.c @@ -38,7 +38,9 @@ static NTSTATUS vfs_worm_create_file(vfs_handle_struct *handle, struct security_descriptor *sd, struct ea_list *ea_list, files_struct **result, - int *pinfo) + int *pinfo, + const struct smb2_create_blobs *in_context_blobs, + struct smb2_create_blobs *out_context_blobs) { bool readonly = false; const uint32_t write_access_flags = @@ -64,7 +66,8 @@ static NTSTATUS vfs_worm_create_file(vfs_handle_struct *handle, handle, req, root_dir_fid, smb_fname, access_mask, share_access, create_disposition, create_options, file_attributes, oplock_request, lease, allocation_size, - private_flags, sd, ea_list, result, pinfo); + private_flags, sd, ea_list, result, pinfo, + in_context_blobs, out_context_blobs); if (!NT_STATUS_IS_OK(status)) { return status; } |