summaryrefslogtreecommitdiffstats
path: root/examples/VFS
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2009-02-192-3/+3
| | | | | Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it.
* examples/VFS: fix the configure and make with the new directory layoutStefan Metzmacher2009-02-054-15/+17
| | | | metze
* Extend NTIMES to allow setting create_timetodd stecher2009-01-232-4/+4
| | | | | | | | | 1) Add in smb_file_time struct to clarify code and make room for createtime. 2) Get and set create time from SMB messages. 3) Fixup existing VFS modules + examples Some OS'es allow for the setting of the birthtime through kernel interfaces. This value is generically used for Windows createtime, but is not settable in the code today.
* Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison2008-10-072-2/+2
| | | | | | | in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy.
* 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. (This used to be commit 221cc5e21eb27cdad51f34ec6832467a7bd89213)
* 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. (This used to be commit f487f742cb903a06fbf2be006ddc9ce9063339ed)
* 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 (This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
* 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. (This used to be commit e342ca0d931f9a5c8ec9e472dc9c63f1fe012b3a)
* 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. (This used to be commit 75cc08661473cce62756fa062071bb2bc1fb39ec)
* Fix the mess that ab just made of the new VFS code.Jeremy Allison2008-01-162-2/+54
| | | | | | NEEDS MORE TESTING ! Jeremy. (This used to be commit bcc94aed6f03211866aa85753a90fece87846ba9)
* Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().Michael Adam2008-01-112-4/+4
| | | | | Michael (This used to be commit 3958abffaf2866c69ad9e13ec345364fde5c78bb)
* Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().Michael Adam2008-01-112-4/+4
| | | | | Michael (This used to be commit a52cfb7d777157c93c9dc26c67f457be592dd537)
* Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam2008-01-102-4/+4
| | | | | Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
* Remove redundant parameter fd from SMB_VFS_READ().Michael Adam2008-01-102-4/+4
| | | | | Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
* Fix returns in void functions.Michael Adam2008-01-081-2/+2
| | | | | Michael (This used to be commit ef7c9a765bcdb1c774ff4f6d14053c4aa3815f31)
* Fix examples/VFS after VFS API changes.Michael Adam2008-01-082-33/+33
| | | | | Michael (This used to be commit c88555ce45aa2998037d316f3a8edccd04be04a4)
* Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
* Remove redundant parameter fd from SMB_VFS_FTRUNCATE().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)
* Remove redundant parameter fd from SMB_VFS_FCHOWN().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)
* Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
* Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
* Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
* Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
* Remove redundant parameter fd from SMB_VFS_PWRITE().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
* Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.Michael Adam2008-01-072-7/+7
| | | | | Michael (This used to be commit d9d6775878f8b3425665c6a45a5ef9cb92932cf8)
* Remove unneeded parameter fd from SMB_VFS_PREAD().Michael Adam2008-01-072-4/+4
| | | | | Michael (This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)
* 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. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
* 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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r24123: add file_id_create() to some vfs modulesStefan Metzmacher2007-10-102-2/+17
| | | | | metze (This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-103-6/+3
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2007-10-102-6/+2
| | | | (This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-10-102-2/+2
| | | | | Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-103-3/+3
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* 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. (This used to be commit fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
* r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison2007-10-102-0/+12
| | | | | Jeremy. (This used to be commit 932523cbb508db869b726768e86bfa8e248f768b)
* r22591: Fix up the examples also.Jeremy Allison2007-10-101-1/+5
| | | | | Jeremy. (This used to be commit aa5a1591c626e2828244a78f237af8a59af57784)
* r22341: Fix build of examples/VFS: adapt include for new place of tdb...Michael Adam2007-10-101-1/+1
| | | | (This used to be commit e7110058286ed7e723c9a24e555b9c3b527c456e)