1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source3/include
Ralph Boehme 5a9aa7aa84 smbd: add and use vfs_fget_dos_attributes()
Commit d71ef1365cdde47aeb3465699181656b0655fa04 caused a regression where the
creation date on streams wasn't updated anymore on the stream fsp.

By adding a simple wrapper vfs_fget_dos_attributes() that takes care of

- passing only the base_fsp to the VFS, so the VFS can be completely agnostic of
  all the streams related complexity like fake fds,

- propagating any updated btime from the base_fsp->fsp_name to the
  stream_fsp->fsp_name

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15126
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2643

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(backported from commit 3f7d8db994)
[slow@samba.org: also update itime and file_id]
2022-09-06 07:54:13 +00:00
..
ads.h
adt_tree.h
async_smb.h
auth_generic.h
auth.h auth: Remove the "typedef auth_methods" 2020-01-06 01:47:30 +00:00
client.h libsmb: Remove cli_state->dfs_mountpoint 2020-11-04 20:17:47 +00:00
ctdb_srvids.h
ctdbd_conn.h s3:ctdbd_conn: simplify get_public_ips() / find_in_public_ips() API 2020-10-14 12:29:55 +00:00
fake_file.h smbd: add dosmode_from_fake_filehandle() 2021-06-09 19:47:34 +00:00
g_lock.h lib: g_lock.h references "struct server_id", add #include 2020-11-19 22:56:40 +00:00
idmap_autorid_tdb.h
idmap.h winbindd/idmap: apply const to struct idmap_methods pointers 2020-10-23 03:25:35 +00:00
includes.h lib: Remove unused asprintf_strupper_m() 2022-01-18 20:22:38 +00:00
intl.h
krb5_env.h
libsmb_internal.h s3:libsmb: Use cli_credentials to store traversal creds 2021-05-28 02:55:31 +00:00
libsmbclient.h s3:libsmb: Use cli_credentials_set_smb_encryption() 2020-08-19 16:22:42 +00:00
local.h s3:includes: change OPLOCK_BREAK_TIMEOUT from 30 to 35 seconds 2020-07-08 15:54:38 +00:00
locking.h s3: smbd: Add "enum brl_flavour" to struct smbd_lock_element. 2022-01-06 15:11:38 +00:00
lsa.h
MacExtensions.h vfs_fruit: Fix typos 2020-10-02 21:30:33 +00:00
mangle.h
messages.h lib: Fix includes for messages.h 2020-10-24 05:57:31 +00:00
msdfs.h s3: smbd: cleanup. Change 'int referral_count' -> 'size_t referral_count' in struct junction_map. 2019-12-16 14:05:33 +00:00
nameserv.h
nss_info.h winbindd/idmap: apply const to struct nss_info_methods pointers 2020-10-23 03:25:35 +00:00
nt_printing.h printing: Fix a typo 2021-03-16 17:09:31 +00:00
ntdomain.h s3:rpc_server: Remove dead code 2020-03-20 17:11:28 +00:00
ntioctl.h libcli: Move IO_REPARSE_TAG definitions to smb_constants.h 2020-06-15 17:59:39 +00:00
ntquotas.h
passdb.h lib: Remove some unused code 2019-02-28 13:53:40 +00:00
printing.h printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
proto.h smbd: add and use vfs_fget_dos_attributes() 2022-09-06 07:54:13 +00:00
registry.h
rpc_dce.h
rpc_misc.h
secrets.h lib: Add required includes to source3/include/secrets.h 2021-11-17 17:41:30 +00:00
serverid.h
session.h s3:smbstatus: pretty print the use of new signing/encryption algorithms 2021-07-15 00:06:31 +00:00
smb_acls.h s3: lib: sysacls: Remove all implementations of sys_acl_set_file(). 2021-06-09 13:14:31 +00:00
smb_krb5.h
smb_ldap.h
smb_macros.h CVE-2022-32742: s3: smbd: Harden the smbreq_bufrem() macro. 2022-07-24 09:29:26 +02:00
smb_perfcount.h
smb.h Happy New Year 2022! 2022-01-01 01:24:21 +00:00
smbldap.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
smbprofile.h profile: Remove syscall_kernel_flock profiling 2021-09-21 18:47:38 +00:00
srvstr.h
stamp-h.in
sysquotas.h sysquotas.h: collect more platform quotablock sizes 2019-02-17 13:33:13 +01:00
tldap_util.h
tldap.h
trans2.h smbd: add and use SMB2_FILE_ALL_INFORMATION 2020-10-23 19:06:40 +00:00
transfer_file.h
util_event.h
util_sd.h
util_tdb.h
vfs_macros.h vfs: Add flags and xferlen args to SMB_VFS_OFFLOAD_READ_RECV 2021-10-08 19:28:32 +00:00
vfs.h vfs: Fix a few typos 2021-11-11 19:08:37 +00:00