1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/include
David Disseldorp ef00eb90e5 s3-vfs: add copy_chunk vfs hooks
copy_chunk copies n bytes from a source file at a specific offset to a
destination file at a given offset. This interface will be used in
handling smb2 FSCTL_SRV_COPYCHUNK ioctl requests.

Use a pread/pwrite loop in vfs_default, so that requests referring to
the same src and dest file are possible.

Provide send and receive hooks for copy chunk VFS interface, allowing
asynchronous behaviour.

Check whether the request source offset + length exceeds the current
size. Return STATUS_INVALID_VIEW_SIZE under such a condition, matching
Windows server behaviour.

Reviewed by: Jeremy Allison <jra@samba.org>
2013-01-16 23:15:06 +01:00
..
autoconf ldb: use ldb directly rather than via a copy 2011-10-07 17:45:20 +11:00
ads.h Avoid overriding default ccache for ads operations. 2012-09-12 21:18:09 +02:00
adt_tree.h adt_tree: Avoid WERROR. 2012-03-24 16:41:35 +01:00
async_smb.h s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send 2012-06-03 23:37:02 +02:00
auth_generic.h s3-libsmb: split out auth_generic client functions into auth_generic.c 2012-01-11 09:04:56 +01:00
auth_info.h s3: Add user_auth_info->use_pw_nt_hash 2012-06-12 10:48:15 +02:00
auth.h auth: Remove .get_challenge (only used for security=server) 2012-07-03 08:13:01 +10:00
client.h Clean up client timeout definitions [rev. 2] 2012-12-06 03:25:58 +01:00
clitar.h
ctdb_packet.h s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename. 2011-05-03 14:38:29 +02:00
ctdb_srvids.h s3: Start a list of ctdb srvid assigments 2012-04-17 10:21:01 +02:00
ctdbd_conn.h s3:ctdbd_conn: use unitX_t types consistently throughout the module 2012-08-01 12:30:26 +02:00
debugparse.h
event.h s3-lib Move event_add_idle() to source3/lib/events.c 2011-07-04 18:53:59 +10:00
fake_file.h s3:smbd: let open_fake_file() take a uint64_t vuid 2012-06-06 10:18:40 +02:00
g_lock.h s3:lib fix compiler warnings 2012-05-03 21:34:05 +02:00
idmap.h
includes.h lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
intl.h
krb5_env.h source3/include/krb5_env.h: fix licence/copyright 2011-06-10 15:12:02 +02:00
libsmb_internal.h s3-libsmbclient: Add OptionUseNTHash 2012-06-12 10:48:15 +02:00
libsmbclient.h s3-libsmbclient: Add OptionUseNTHash 2012-06-12 10:48:15 +02:00
local.h s3:smbd: use session_global_id as session number for pam and utmp 2012-10-19 12:15:00 +02:00
locking.h s3:include: change lock_struct->fnum to uint64_t 2012-06-06 23:21:59 +02:00
MacExtensions.h
mangle.h source3/include/mangle.h: fix licence/copyright 2011-06-10 15:12:06 +02:00
memcache.h s3:memcache: remove the idmap-part from memcache 2012-04-20 23:17:36 +02:00
messages.h s3: Add messaging_tdb_event() 2012-04-17 10:21:01 +02:00
msdfs.h
nameserv.h s3: Move server_info_struct to nmbd 2011-11-23 16:17:03 +01:00
nss_info.h s3-proto: remove remaining nss_info prototypes to nss_info.h 2011-04-29 21:01:04 +02:00
nt_printing.h s3-printing: Make printer a const char *. 2012-03-14 17:56:14 +01:00
ntdomain.h s3-rpc_server: Move pipe/handles functions 2011-07-21 18:40:23 +02:00
ntioctl.h s3: Remove duplicate fsctl function definitions 2011-10-19 15:44:29 +02:00
ntquotas.h
passdb.h s3:passdb: factor pdb_sid_to_id_unix_users_and_groups() out of pdb_default_sid_to_id() 2012-12-03 08:48:30 +01:00
popt_common.h s3fs-popt: Add function to burn the commandline password. 2012-11-08 10:14:41 -08:00
printing.h lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
proto.h More for #9374 - Allow smb2.acls torture test to pass against smbd with a POSIX ACLs backend. 2012-11-20 01:46:27 +01:00
registry.h s3:registry avoid updating keys which are going to be deleted in 2011-08-08 15:27:07 +02:00
rpc_dce.h
rpc_misc.h lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
safe_string.h
samba_linux_quota.h
secrets.h s3-secrets: Add helper function to set machine account password from secrets_tdb_sync 2012-08-28 07:57:29 +10:00
serverid.h s3:lib: implement serverid_equal() as macro of server_id_equal() 2012-08-17 20:07:07 +02:00
session.h
smb_acls.h smbd: Add mem_ctx to sys_acl_init() and all callers 2012-10-11 12:25:11 +11:00
smb_krb5.h gse: Use the smb_gss_oid_equal wrapper. 2012-05-23 17:51:51 +03:00
smb_ldap.h s3-smbldap: move ldap_open_with_timeout out of smb_ldap.h to ads where it lives. 2011-11-17 03:47:53 +01:00
smb_macros.h s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* values 2012-08-17 14:51:57 +02:00
smb_perfcount.h
smb_share_modes.h
smb.h Happy New Year 2013 2013-01-01 16:11:18 +01:00
smbldap.h s3-smbldap: use smbldap_ prefix for all functions 2012-09-07 12:31:42 +02:00
smbprofile.h s3:include: add START/END_PROFILE_STAMP() 2012-06-20 12:58:58 +02:00
srvstr.h
stamp-h.in
sysquotas.h
talloc_dict.h
tldap_util.h
tldap.h
trans2.h libcli/smb Move cifs posix helper functions and headers in common 2011-05-06 07:51:24 +02:00
transfer_file.h build: Remove SMB_OFF_T, replace with off_t 2012-04-06 01:47:43 +02:00
util_tdb.h util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.c 2012-06-22 07:35:17 +02:00
vfs_macros.h s3-vfs: add copy_chunk vfs hooks 2013-01-16 23:15:06 +01:00
vfs.h s3-vfs: add copy_chunk vfs hooks 2013-01-16 23:15:06 +01:00