summaryrefslogtreecommitdiffstats
path: root/examples/VFS
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison2008-08-141-1/+1
| | | | | There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed). Jeremy.
* Yay ! Remove a VFS entry. Removed the set_nt_acl() call,Jeremy Allison2008-05-082-15/+0
| | | | | | | | | | | | | | this can only be done via fset_nt_acl() using an open file/directory handle. I'd like to do the same with get_nt_acl() but am concerned about efficiency problems with "hide unreadable/hide unwritable" when doing a directory listing (this would mean opening every file in the dir on list). Moving closer to rationalizing the ACL model and maybe moving the POSIX calls into a posix_acl VFS module rather than having them as first class citizens of the VFS. Jeremy.
* Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam2008-04-212-4/+4
| | | | | | Now all those redundant fd's have vanished from the VFS API. Michael
* Remove is_remotestorage() call from VFS. We already have statvfs() there to ↵Alexander Bokovoy2008-01-172-7/+0
| | | | | | | | | | | | handle FS capabilities. As discussed with Volker, it is better to calculate FS capabilities at connection time. We already do this with help of VFS statvfs() call which allows to fill-in system-specific attributes including FS capabilities. So just re-use it if you want to represent additional capabilities in your modules. The only caution is that you need to call underlying statvfs() call to actually get system-specific capabilities (and other fields) added. Then add module-specific ones.
* Rework of VFS is_offline() function to only return boolean offline/online ↵Alexander Bokovoy2008-01-172-4/+4
| | | | | | | | | | | | | | result for a file. This makes sense as upper levels are only taking returned result of 0 (no error) into consideration when deciding whether to mark file offline/online as returned from is_offline. That means that we simply can move the decision down to VFS module and clean up upper levels so that they always see only file status. If there is an error when trying to identify file status, then VFS module could decide what to return (offline or online) by itself -- after all, it ought to have system-specific knowledge anyway.
* Fix the mess that ab just made of the new VFS code.Jeremy Allison2008-01-162-2/+54
| | | | | NEEDS MORE TESTING ! Jeremy.
* Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().Michael Adam2008-01-112-4/+4
| | | | Michael
* Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam2008-01-112-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam2008-01-102-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_READ().Michael Adam2008-01-102-4/+4
| | | | Michael
* Fix returns in void functions.Michael Adam2008-01-081-2/+2
| | | | Michael
* Fix examples/VFS after VFS API changes.Michael Adam2008-01-082-33/+33
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FTRUNCATE().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FCHOWN().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2008-01-072-4/+4
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_PWRITE().Michael Adam2008-01-072-4/+4
| | | | Michael
* Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.Michael Adam2008-01-072-7/+7
| | | | Michael
* Remove unneeded parameter fd from SMB_VFS_PREAD().Michael Adam2008-01-072-4/+4
| | | | Michael
* Add in the recvfile entry to the VFS layer with a defaultJeremy Allison2007-10-292-0/+25
| | | | | implementation. Needed for the zero-copy write code. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-183-9/+9
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r24123: add file_id_create() to some vfs modulesStefan Metzmacher2007-10-102-2/+17
| | | | metze
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-103-6/+3
|
* r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2007-10-102-6/+2
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-10-102-2/+2
| | | | Jeremy.
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-103-3/+3
| | | | Jeremy.
* r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison2007-10-102-6/+6
| | | | | | | | | return to correctly return NT_STATUS_INVALID_OWNER if it should be disallowed. Matches better what W2K3R3 does. NFSv4 ACL module owners, please examine these changes. Jeremy.
* r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison2007-10-102-0/+12
| | | | Jeremy.
* r22591: Fix up the examples also.Jeremy Allison2007-10-101-1/+5
| | | | Jeremy.
* r22341: Fix build of examples/VFS: adapt include for new place of tdb...Michael Adam2007-10-101-1/+1
|
* r21762: Fix the build by enabling shared modules and adding the config.*James Peach2007-10-106-10/+3106
| | | | | files. Add norify_watch and chflags operations. Fix a bunch of warnings.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-102-6/+6
| | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
* r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.James Peach2007-10-102-4/+17
|
* r16948: Sync the exmaples code from trunk.Jeremy Allison2007-10-102-200/+200
| | | | Jeremy.
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-103-1/+13
| | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy.
* r13366: Add popt to the include path for examples/VFS. The modules ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | | | themselves don't use that, but includes.h fails in environments where there's no system popt around. As the modules don't need that anyway, porting the check whether to use the system one or our own seems a bit overkill. Thanks to Michael Adam <ma@SerNet.DE>. Volker
* r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG ↵Volker Lendecke2007-10-101-4/+4
| | | | | | | | | | should not be used - rename it to KRB5CONFIG Thanks to Björn Jacke <bj@sernet.de> Volker
* r11784: Fix minor glitch found by Rainer Weikusat ↵Volker Lendecke2007-10-101-1/+1
| | | | <rainer.weikusat@sncag.com> -- Thanks
* r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.Jeremy Allison2007-10-102-0/+12
| | | | Jeremy.
* r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2007-10-102-12/+12
| | | | | | | UNIX vendor not understanding abstract data types :-(. Jeremy.
* r8657: Add -fPIC which is the case for all other Samba shared libs.Lars Müller2007-10-101-1/+1
| | | | Fix bug #2060.
* r7963: Add aio support to 3.0.Jeremy Allison2007-10-102-0/+88
| | | | Jeremy.
* r7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.Jeremy Allison2007-10-102-4/+4
| | | | | Wrong return val for symlink and readlink. Jeremy.
* r7893: Add in the extra parameters to opendir() to fix the large ↵Jeremy Allison2007-10-102-4/+4
| | | | | | | directory/insane app problem. Rev vfs version. Doesn't change the normal codepath. Jeremy.
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-102-4/+4
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r5131: BUG 2290: don;t call mkversion.sh since we don't have it in this ↵Gerald Carter2007-10-101-3/+0
| | | | directory
* r4092: Bring into line with new *alloc rules.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.