mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ef00eb90e5
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> |
||
---|---|---|
.. | ||
autogen.sh | ||
config.guess | ||
config.sub | ||
configure.in | ||
install-sh | ||
Makefile.in | ||
README | ||
shadow_copy_test.c | ||
skel_opaque.c | ||
skel_transparent.c | ||
wscript_build |
README for Samba Virtual File System (VFS) Example =================================================== This directory contains skeleton VFS modules. When used, this module simply passes all requests back to the disk functions (i.e it operates as a passthrough filter). It should be useful as a starting point for developing new VFS modules. Please look at skel_opaque.c when you want your module to provide final functions, like a database filesystem. Please look at skel_transparent.c when you want your module to provide passthrough functions, like audit modules. Please read the VFS chapter in the HOWTO collection for general help on the usage of VFS modules. Further documentation on writing VFS modules for Samba can be found in Samba Developers Guide.