1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source3/include
Volker Lendecke d1846452e9 vfs: Add VFS_OPEN_HOW_WITH_BACKUP_INTENT
Indicate BACKUP_INTENT to vfs_openat(). Why? I have a customer request
who wants to add O_NOATIME in this case to avoid metadata updates when
a backup or virus-checking application comes along.

This does not fully handle BACKUP_INTENT correctly, this would require
become_root() appropriately. We might want to do that later after a
lot of careful security audit, but this patch independently might
already provide some infrastructure for it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Oct  5 14:00:33 UTC 2023 on atb-devel-224
2023-10-05 14:00:33 +00:00
..
ads.h s3-librpc: add ads.idl and convert ads_struct to talloc. 2022-12-16 20:38:32 +00:00
adt_tree.h lib: Whitespace fixes 2022-10-27 18:18:36 +00:00
async_smb.h
auth_generic.h
auth.h auth: Remove the "typedef auth_methods" 2020-01-06 01:47:30 +00:00
client.h libcli: Add client support for SMB2_FILE_POSIX_INFORMATION 2022-11-29 10:26:37 +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 s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
g_lock.h s3:g_lock: add callback function to g_lock_lock() 2022-09-20 00:34:35 +00:00
idmap_autorid_tdb.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
idmap.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
includes.h smbd: Remove smb1-only perfcount subsystem 2023-06-05 18:13:05 +00:00
intl.h
krb5_env.h
libsmb_internal.h libsmb: Remove two #defines just used once 2023-09-25 19:01:34 +00:00
libsmbclient.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
local.h s3:include: Fix code spelling 2023-07-05 07:32:15 +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 s3:include: Fix code spelling 2023-07-13 05:41:36 +00:00
mangle.h
messages.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
msdfs.h s3: smbd: Remove definition of struct dfs_path. 2022-08-12 18:19:30 +00:00
nameserv.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
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 lib: Move IO_REPARSE_TAG_NFS subtypes to toplevel 2023-07-03 19:40:35 +00:00
ntquotas.h
passdb.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
printing.h printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
proto.h libsmb: Pass NTTIME to interpret_long_date() 2023-10-04 20:31:36 +00:00
registry.h
rpc_dce.h
rpc_misc.h
secrets.h s3:passdb: Remove unused function secrets_fetch_trust_account_password() 2022-08-08 19:03:08 +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 smbd: also reset struct stat_ex.cached_dos_attributes in SET_STAT_INVALID() 2023-05-24 21:42:50 +00:00
smb.h s3:include: Fix code spelling 2023-07-05 07:32:15 +00:00
smbldap.h Fix a comment typo copied around 2020-08-17 19:35:38 +00:00
smbprofile.h profiling: Factor out functions to read smbprofile.tdb 2023-06-16 16:14:30 +00:00
srvstr.h
stamp-h.in
sysquotas.h
tldap_util.h
tldap.h
trans2.h smbd: Implement SMB2_FS_POSIX_INFORMATION_INTERNAL 2022-11-29 10:26:37 +00:00
transfer_file.h
util_event.h
util_sd.h
util_tdb.h lib: Add tdb_data_dbg() 2023-01-10 00:28:37 +00:00
vfs_macros.h vfs: Remove "sbuf" from readdir_fn() 2023-06-23 18:29:40 +00:00
vfs.h vfs: Add VFS_OPEN_HOW_WITH_BACKUP_INTENT 2023-10-05 14:00:33 +00:00