summaryrefslogtreecommitdiffstats
path: root/examples/VFS
Commit message (Collapse)AuthorAgeFilesLines
* Improve the VFS Makefile so that it is easier for use out of tree but still ↵Richard Sharpe2012-04-161-13/+9
| | | | | | | works with FreeBSD. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Apr 16 19:51:14 CEST 2012 on sn-devel-104
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-062-20/+20
| | | | | | | | | 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-052-13/+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-052-13/+0
| | | | | | | 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-052-13/+0
| | | | | | | 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-052-15/+0
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-052-16/+16
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-052-2/+2
|
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-262-3/+8
| | | | | | | | | 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
* Improve the Makefile. Use a standard make macro, not a shell command.Richard Sharpe2012-03-241-1/+1
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 07:09:44 CET 2012 on sn-devel-104
* Make it possible for developers of out-of-tree modules to use the same names ↵Richard Sharpe2012-03-241-1/+1
| | | | | | | as in-tree modules. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 03:18:38 CET 2012 on sn-devel-104
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-211-6/+10
|
* examples: Make examples/VFS/Makefile.in FreeBSD-friendlyVolker Lendecke2012-03-031-6/+14
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104
* s3-build: remove EXEEXT from MakefilesAndrew Bartlett2012-02-091-3/+0
| | | | | | | | As far as I am aware, we do not actually build on any platforms that require this. The last Stratos VOS release on ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5 Andrew Bartlett
* s3: Fix examples/VFS buildVolker Lendecke2011-12-133-3/+3
| | | | | | | With other builds in the include path, examples get the includes.h wrong Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 23:40:37 CET 2011 on sn-devel-104
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-123-229/+229
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* Improve configure.in so it can be used outside the Samba source tree.Richard Sharpe2011-11-171-2/+3
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Nov 17 07:00:38 CET 2011 on sn-devel-104
* s3-waf: make sure we build example vfs modules with --enable-developer.Günther Deschner2011-10-111-0/+25
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
* Fix the VFS for fsctl.Jeremy Allison2011-10-112-0/+39
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104
* examples/VFS: add skel_get_dfs_referrals()Stefan Metzmacher2011-10-082-0/+14
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 11:29:18 CEST 2011 on sn-devel-104
* examples/VFS: fix names in skel_opaque.cStefan Metzmacher2011-10-081-3/+3
| | | | metze
* examples/VFS: fix a typo in the READMEMichael Adam2011-10-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Oct 8 01:42:33 CEST 2011 on sn-devel-104
* examples/VFS: try to fix the build on openbsd, adding alternative spellings ↵Michael Adam2011-07-061-2/+3
| | | | | | | | of autoconf/header The host "samba-amd64" on the build farm running openbsd 4.8 broke. Taking over the additional spellings of autoconf and autoheader from the source3/autogen.sh script should fix it.
* examples/VFS: add include path for s3's autoconf config.hMichael Adam2011-06-301-0/+1
|
* examples/VFS: fix skel_transparent.c in reference to shadow_copy changesBjörn Baumbach2011-06-301-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* examples/VFS: fix skel_opaque.c in reference to shadow_copy changesBjörn Baumbach2011-06-301-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* examples/VFS: fix shadow_copy_test.c in reference to shadow_copy changesBjörn Baumbach2011-06-301-3/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2011-06-012-3/+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-vfs: rename open function to open_fn.Günther Deschner2011-04-212-2/+2
| | | | | | | | | | | 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
* Fix the examples/VFS build.Jeremy Allison2011-03-072-7/+7
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 7 15:11:25 CET 2011 on sn-devel-104
* Fix examples/VFS to use correct prototypes for is_offline() and set_offline().Jeremy Allison2011-03-072-6/+6
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 7 13:39:17 CET 2011 on sn-devel-104
* Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison2011-02-092-0/+12
| | | | | | | 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-182-5/+7
| | | | | | | | | | | | | | | | | | | | | | 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-022-0/+16
| | | | Jeremy.
* Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_defaultJeremy Allison2010-11-202-3/+3
| | | | | | | | | | | | | 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-052-0/+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.
* examples: Fix the build of the example VFS modules.Karolin Seeger2009-12-072-10/+13
| | | | Karolin
* Fix the opaque sample module for the new VFS interface.Jeremy Allison2009-09-251-216/+389
| | | | Jeremy.
* Update the advice for the new VFS system.Jeremy Allison2009-09-251-4/+3
| | | | Jeremy.
* Remove unused static fn.Jeremy Allison2009-09-251-5/+0
| | | | Jeremy.
* Rewrite vfs_transparent example for the new VFS changes.Jeremy Allison2009-09-251-131/+291
| | | | Jeremy.
* Fix vfs module sample for new interface.Jeremy Allison2009-09-251-6/+5
| | | | Jeremy.
* VFS examples: Update copy of config.{guess,sub}.Jelmer Vernooij2009-07-182-75/+282
|
* s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty2009-07-062-4/+8
|
* s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty2009-07-062-4/+6
|
* s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty2009-07-062-4/+8
|
* s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty2009-06-242-8/+8
| | | | | | | | | | | | | This patch introduces two new temporary helper functions vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me to call the new smb_filename version of stat, while avoiding plumbing it through callers that are still too inconvenient. As the conversion moves along, I will be able to remove callers of this, with the goal being to remove all callers. There was also a bug in create_synthetic_smb_fname_split (also a temporary utility function) that caused it to incorrectly handle filenames with ':'s in them when in posix mode. This is now fixed.
* s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2009-06-172-4/+6
| | | | | | | | | | | | This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling.
* s3:example/VFS: fix the buildStefan Metzmacher2009-02-242-4/+8
| | | | metze