summaryrefslogtreecommitdiffstats
path: root/source3/modules/vfs_default.c
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Remove sys_telldir wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_seekdir wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_readdir wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_opendir wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_open wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_lseek wrapperAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_ftruncate wrapperAndrew Bartlett2012-04-051-4/+4
|
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-261-3/+4
| | | | | | | | | This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
* s3: Remove "conn" from sys_notify_contextVolker Lendecke2012-03-211-1/+1
|
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-211-1/+3
|
* s3: Improve statvfs supportBrad Smith2012-03-111-6/+6
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Mar 11 14:18:04 CET 2012 on sn-devel-104
* s3: Further fix for bug 8777Brad Smith2012-03-021-1/+1
|
* s3: Fix bug 8777, sys_statvfs() wrapper support for OpenBSD/FreeBSD/DragonFlyBrad Smith2012-02-251-1/+1
|
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-121-113/+113
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* Add support for VFS op streaminfo chaining in all relevant VFS modules.Frank Lahm2011-10-141-15/+10
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104
* s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2011-10-081-0/+177
| | | | metze
* Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe2011-10-011-0/+335
| | | | NTTRANS-FSCTL. Test added to selftests.
* s3: Re-add (), fix a gcc hintVolker Lendecke2011-09-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104
* Free the memory talloc'dRichard Sharpe2011-09-271-1/+6
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
* Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2011-06-011-4/+2
| | | | | | | returns malloc'ed memory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104
* Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison2011-06-011-2/+4
| | | | | | (or NULL). Part of the efforts to remove PATH_MAX on modern systems.
* s3: Remove SHADOW_COPY_DATA typedefVolker Lendecke2011-05-311-1/+4
|
* s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.Günther Deschner2011-05-041-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 12:31:10 CEST 2011 on sn-devel-104
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-211-5/+1
| | | | | | | | | | | This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
* s3-smbd: fix the AIX 5.3 build.Günther Deschner2011-04-201-0/+4
| | | | | | (AIX defines open to be open64) Guenther
* s3: only include smb profiling where needed.Günther Deschner2011-04-141-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
* s3: only include ntioctl.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner2011-03-301-0/+2
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: Pass smb_filename through the set_offline vfs opVolker Lendecke2011-03-021-1/+2
|
* s3: Pass smb_filename through the is_offline vfs opVolker Lendecke2011-03-021-2/+13
|
* Correctly plumb in VFS_FDOPENDIR.Jeremy Allison2011-02-091-0/+1
|
* Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison2011-02-091-0/+14
| | | | | | | open by NtCreateX. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
* s3: Fix bug 7940 -- fall back for utimes callsVolker Lendecke2011-02-011-4/+14
| | | | | | | | There are systems where ./configure has detected advanced utimes calls which are then not available on other kernels. We should do a proper fallback. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 22:37:35 CET 2011 on sn-devel-104
* Keep track of the sparse status of an open file handle. Allows bypass ofJeremy Allison2010-12-211-1/+1
| | | | | | | | strict allocation on sparse files. Files opened as POSIX opens are always sparse. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 04:12:22 CET 2010 on sn-devel-104
* Added call out to a Linux-compatible fallocate() when we need to extend a fileJeremy Allison2010-12-211-2/+3
| | | | | | | allocation extent without changing end-of-file size. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 02:41:24 CET 2010 on sn-devel-104
* Rename vfs operation posix_fallocate to just fallocate and add the ↵Jeremy Allison2010-12-181-9/+17
| | | | | | | | | | | | | | | | | | | | | | vfs_fallocate_mode parameter. It turns out we need the fallocate operations to be able to both allocate and extend filesize, and to allocate and not extend filesize, and posix_fallocate can only do the former. So by defining the vfs op as posix_fallocate we lose the opportunity to use any underlying syscalls (like Linux fallocate) that can do the latter as well. We don't currently use the non-extending filesize call, but now I've changed the vfs op definition we can in the future. For the moment simply map the fallocate op onto posix_fallocate for the VFS_FALLOCATE_EXTEND_SIZE case and return ENOSYS for the VFS_FALLOCATE_KEEP_SIZE case. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 18 08:59:27 CET 2010 on sn-devel-104
* Do more vfs_stat_fsp calls instead of FSTAT - ensures fsp->fsp_name->st is ↵Jeremy Allison2010-12-161-13/+20
| | | | | | | kept up to date. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 16 23:41:06 CET 2010 on sn-devel-104
* Replace lseek()/write()/lseek() triple with pwrite call. We already emulate thisJeremy Allison2010-12-031-12/+2
| | | | | | | | | inside pwrite under the covers. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 3 03:39:42 CET 2010 on sn-devel-104
* Merge the two conflicting allocation codes into one function, ↵Jeremy Allison2010-12-031-22/+4
| | | | | | | | vfs_slow_fallocate() and use that from both the truncate and fill_sparse functions. Jeremy.
* Oops. Missed adding vfswrap_posix_fallocate to vfs_default_fns table.Jeremy Allison2010-12-031-0/+1
| | | | | | | Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 3 02:26:23 CET 2010 on sn-devel-104
* Move posix_fallocate into the VFS where it belongs.Jeremy Allison2010-12-021-2/+15
| | | | Jeremy.
* s3: Fix a typoVolker Lendecke2010-12-011-1/+1
|
* Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_defaultJeremy Allison2010-11-201-2/+15
| | | | | | | | | | | | | module, change the signature of VFS_REALPATH to always return a malloc'ed string. Needed to make some privileges work I plan on doing shortly easier to code. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104
* s3: Fix bug 7759Volodymyr Khomenko2010-10-281-16/+18
|
* Fix bug #7734 - When creating files with "inherit ACLs" set to true, we ↵Jeremy Allison2010-10-151-1/+1
| | | | | | neglect to apply appropriate create masks. Jeremy.
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-3/+5
| | | | Guenther
* s3: remove cross-device rename support from vfs_defaultBjörn Jacke2010-03-081-116/+0
| | | | | | | | | | | | | cross-device rename support has some major limitations: - on huge files clients will timeout or hang - ACLs and EA information is not retained Usually a client will have to handle this. A Windows Server with a reparse point will also just return NT_STATUS_NOT_SAME_DEVICE. We will now by default do the same. I will add a vfs module which will restore the old cross-device renames.
* Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison2010-03-051-1/+3
| | | | | | | | | | Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy.
* s3: keep subsecond times on cross-filesystem moves and don't follow linksBjörn Jacke2009-12-091-0/+22
|