summaryrefslogtreecommitdiffstats
path: root/source3/include/vfs.h
Commit message (Collapse)AuthorAgeFilesLines
* s3:include: change connection_struct->cnum to uint32_tMichael Adam2012-06-061-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:include: change smb_request->tid to uint32_tMichael Adam2012-06-061-1/+1
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s3:include: change smb_request->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move struct smb_request to vfs.hStefan Metzmacher2012-06-061-0/+61
| | | | metze
* s3:include: change files_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: change connection_struct->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:includes: change vuid_cache_entry->vuid to uint64_tStefan Metzmacher2012-06-061-1/+1
| | | | metze
* s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.hStefan Metzmacher2012-06-061-0/+10
| | | | | | These are called from vfs modules, which should not depend on smbd/proto.h metze
* s3:include: move struct smb_filename to vfs.hStefan Metzmacher2012-06-061-0/+10
| | | | metze
* s3:include: move struct smb_file_time to vfs.hStefan Metzmacher2012-06-061-0/+8
| | | | metze
* s3:include: move struct connection_struct (and sub structs) to vfs.hStefan Metzmacher2012-06-061-0/+91
| | | | metze
* s3:include: move struct stream_struct to vfs.hStefan Metzmacher2012-06-061-0/+10
| | | | metze
* s3:include: move struct fd_handle/files_struct to vfs.hStefan Metzmacher2012-06-061-0/+82
| | | | metze
* s3:includes: move union unid_t to vfs.hStefan Metzmacher2012-06-061-0/+5
| | | | metze
* s3:vfs fix compiler warningChristian Ambach2012-05-031-0/+5
| | | | vfs_default.c:1875:10: warning: no previous prototype for 'vfswrap_audit_file'
* Add an audit file VFS routine so we can handle auditing with SACLs.Richard Sharpe2012-04-281-0/+6
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Apr 28 08:05:00 CEST 2012 on sn-devel-104
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-061-23/+24
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-3/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-2/+1
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-1/+1
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-4/+0
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-051-16/+16
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-051-2/+2
|
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-261-2/+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: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-211-0/+2
|
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-121-214/+215
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2011-10-081-0/+14
| | | | metze
* Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe2011-10-011-0/+22
| | | | NTTRANS-FSCTL. Test added to selftests.
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-051-3/+3
|
* Bump the smbd vfs interface version to 29. Samba 3.6.0 will shipJeremy Allison2011-06-101-1/+2
| | | | with interface 28.
* Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2011-06-011-2/+3
| | | | | | | 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
* s3:include/vfs.h: remove very old hints for vfs modules with interface ↵Stefan Metzmacher2011-04-231-8/+0
| | | | | | | | | | | | version < 8 The interface version is at 28 now, and this defines cause problem on some systems, e.g. Tru64 defines vfs_init in the system headers. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
* Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher2011-04-231-4/+0
| | | | | | | | This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze
* s3-vfs: another attempt to fix the Tru64 build.Günther Deschner2011-04-221-0/+4
| | | | | | | | | vfsops struct on Tru64 has a vfs_init function pointer. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
* Revert "s3-vfs: try to fix the Tru64 build."Günther Deschner2011-04-221-6/+0
| | | | This reverts commit 1b7cd33291ec69f58a68396cf7406a6da3083df3.
* s3-vfs: try to fix the Tru64 build.Günther Deschner2011-04-211-0/+6
| | | | | | | | | Volker, Jeremy please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 21 19:14:00 CEST 2011 on sn-devel-104
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-211-3/+4
| | | | | | | | | | | 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: only include ntioctl.h where needed.Günther Deschner2011-03-301-2/+3
| | | | Guenther
* s3: Pass smb_filename through the set_offline vfs opVolker Lendecke2011-03-021-2/+3
|
* s3: Pass smb_filename through the is_offline vfs opVolker Lendecke2011-03-021-2/+5
|
* s3-build __FUNCTION__ is always available, always use itAndrew Bartlett2011-03-011-2/+2
| | | | This avoids duplication between FUNCTION_NAME and __FUNCTION__
* Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison2011-02-091-0/+6
| | | | | | | open by NtCreateX. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
* Rename vfs operation posix_fallocate to just fallocate and add the ↵Jeremy Allison2010-12-181-2/+11
| | | | | | | | | | | | | | | | | | | | | | 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
* Move posix_fallocate into the VFS where it belongs.Jeremy Allison2010-12-021-0/+10
| | | | Jeremy.
* Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_defaultJeremy Allison2010-11-201-3/+4
| | | | | | | | | | | | | 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
* Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison2010-03-051-1/+4
| | | | | | | | | | 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: Do not talloc in readdirVolker Lendecke2009-11-181-4/+8
| | | | This is a hot codepath (called from the stat cache)
* s3: Add access_mask to the flock VFS callAbhidnya P Chirmule2009-10-061-2/+4
|
* vfs catia: Fix the double translation that was happening with createfile and ↵Aravind Srinivasan2009-09-241-2/+9
| | | | | | | | | | | | | | | open. Since the catia translation is implemented for open, it should not also be done in createfile. By removing createfile from catia, translation is now done correctly for the primary open path. In order to support systems that have custom createfile implementations that don't eventually call SMB_VFS_OPEN, SMB_VFS_TRANSLATE_NAME has been expanded to take an additional argument that specifies direction. Signed-off-by: Tim Prouty <tprouty@samba.org>
* s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAMEAravind Srinivasan2009-08-281-0/+7
| | | | | | | | | | | This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org>