summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-07Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam1-2/+2
Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
2008-01-07Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam1-15/+15
Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
2008-01-07Remove redundant parameter fd from SMB_VFS_PWRITE().Michael Adam1-7/+7
Michael (This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
2008-01-07Remove unneeded parameter fd from SMB_VFS_PREAD().Michael Adam1-8/+8
Michael (This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)
2008-01-06Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().Michael Adam1-1/+1
Michael (This used to be commit 4f2d139a186048f08180378a877b69d2f80ad51f)
2008-01-06Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().Michael Adam1-1/+1
Michael (This used to be commit c0c7c1223da29c68359dac64a340c1c710d5f3d2)
2007-12-19Change the prototype of the vfs function get_nt_acl().Michael Adam1-2/+2
Up to now, get_nt_acl() took a files_struct pointer (fsp) and a file name. All the underlying functions should need and now do need (after the previous preparatory work), is a connection_struct and a file name. The connection_struct is already there in the vfs_handle passed to the vfs functions. So the files_struct argument can be eliminated. This eliminates the need of calling open_file_stat in a couple of places to produce the fsp needed. Michael (This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)
2007-12-19Split get_nt_acl() into two functions: fsp- and non-fsp variant.Michael Adam1-2/+2
Replace smbd/posix_acls.c:get_nt_acl() by two funcions: posix_get_nt_acl() and posix_fget_nt_acl(). The first takes a connection struct and a file name instead of a files_struct pointer. This is in preparation of changing the vfs api for SMB_VFS_GET_NT_ACL. Michael (This used to be commit 50c82cc1456736fa634fb656e63555319742f725)
2007-11-13Make [f]get_nt_acl return NTSTATUSVolker Lendecke1-4/+8
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
2007-10-29Add in the recvfile entry to the VFS layer with a defaultJeremy Allison1-0/+17
implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-7/+7
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)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-4/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r24120: add a file_id_create() hook into the VFS layerStefan Metzmacher1-0/+7
it's needed for some cluster filesystems to overload this function. metze (This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
2007-10-10r23962: Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX,James Peach1-2/+3
not plain old LINUX. (This used to be commit 234cb7c893172edeb6802ac02304a041b33ee939)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison1-4/+4
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)
2007-10-10r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison1-1/+13
Jeremy. (This used to be commit 932523cbb508db869b726768e86bfa8e248f768b)
2007-10-10r22907: Fix the build with --enable-profiling-dataVolker Lendecke1-1/+2
(This used to be commit fd45e0ff738711f6e3ed49039dae8245fd0a22d1)
2007-10-10r22094: Clarify that SMB_VFS_LOCK should not be used to get lock status.James Peach1-0/+3
(This used to be commit 395fd99edba8a75eab5d13c9fac5616bcd6ecf2c)
2007-10-10r21956: Fix bug reported by don.mccall@hp.com for platformsJeremy Allison1-1/+1
without utimes() call (only utime()). Jeremy. (This used to be commit 63b061a2ea2ee1eb06d9b568743b2356c107ec66)
2007-10-10r21950: After discussion with the Apple and Linux client maintainers,James Peach1-0/+4
changing the FindFirst response for the UNIX_INFO2 level to include a length field before the name. The name is not required to be null terminated. The length field does not count any null. Also add call to chflags(2) in the default VFS module so that this will work be default on BSD-derived platform. Add UNIX-INFO2 test to the build farm to get some non-BSD coverage. Jeremy and Jerry, please review for inclusion in 3.0.25. (This used to be commit e7b21b1ef3f79c0df2bae5f15c345ef74292c404)
2007-10-10r21767: Revert all the bits I accidentally committed in r21766.James Peach1-1/+2
(This used to be commit 7e862b908057b7971f8163ee94c9358a63998e87)
2007-10-10r21766: Fix compiler warning.James Peach1-2/+1
(This used to be commit f82ac78b2fa623f5868201bd54ffac9c8f318eef)
2007-10-10r21757: Add SMB_VFS_CHFLAGS operation.James Peach1-0/+8
(This used to be commit 16cb22d6b83c502dec1b297c544c05d89714b3d6)
2007-10-10r21714: Change the VFS interface to use struct timespecJeremy Allison1-5/+28
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. (This used to be commit 8f3d530c5a748ea90f42ed8fbe68ae92178d4875)
2007-10-10r21664: Fix #4425 - patch from Jason Mader <jason@ncac.gwu.edu>.Jeremy Allison1-2/+3
Jeremy (This used to be commit 24a4d4d7adefc4590f7e38cc72f54dc692cf9856)
2007-10-10r21339: Fix the non-linux build. This is more evidence that this needs to beJim McDonough1-0/+2
moved up one layer. (This used to be commit 552ae93b14ff1674a8b2f369e57ad2d7d0712a70)
2007-10-10r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,Jim McDonough1-0/+19
it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway. (This used to be commit 9463211bf3b46ee408b88dfbf42d498e3839d4cc)
2007-10-10r21127: Add a mitigating comment ;-))Volker Lendecke1-0/+8
(This used to be commit 918a6910d0d315b2786c5f8645babf6a13b8a949)
2007-10-10r21111: Reorganize the change notify params a bit. We now have the per-shareVolker Lendecke1-3/+7
parameters change notify = [yes]/no # do we do it at all kernel change notify = [yes]/no # enable/disable inotify Those who want FAM need to say change notify = yes vfs objects = notify_fam Volker (This used to be commit c3a44d8b9606fc516faceb69b8e87bfc8be312f3)
2007-10-10r21108: Send sys_notify_watch through the VFS, FAM is nextVolker Lendecke1-0/+17
(This used to be commit 603a96761391f36ae9a1c8777d3333ab5c02eb34)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis1-0/+1
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough1-0/+11
the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter. (This used to be commit 0620658890fa9c68a9848538728023192319c81a)
2007-10-10r17179: Merge the vl-posixacls tmp branch into mainline. ItJim McDonough1-5/+5
modularizes our interface into the special posix API used on the system. Without this patch the specific API flavor is determined at compile time, something which severely limits usability on systems with more than one file system. Our first targets are AIX with its JFS and JFS2 APIs, at a later stage also GPFS. But it's certainly not limited to IBM stuff, this abstraction is also necessary for anything that copes with NFSv4 ACLs. For this we will check in handling very soon. Major contributions can be found in the copyright notices as well as the checkin log of the vl-posixacls branch. The final merge to 3_0 post-3.0.23 was done by Peter Somogyi <psomogyi@gamax.hu> (This used to be commit ca0c73f281a2a65a988094a46bb3e46a94011a53)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-0/+1327
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)