summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke5-16/+16
This adds the two functions talloc_stackframe() and talloc_tos(). * When a new talloc stackframe is allocated with talloc_stackframe(), then * the TALLOC_CTX returned with talloc_tos() is reset to that new * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse * happens: The previous talloc_tos() is restored. * * This API is designed to be robust in the sense that if someone forgets to * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and * resets the talloc_tos(). The original motivation for this patch was to get rid of the sid_string_static & friends buffers. Explicitly passing talloc context everywhere clutters code too much for my taste, so an implicit talloc_tos() is introduced here. Many of these static buffers are replaced by a single static pointer. The intended use would thus be that low-level functions can rather freely push stuff to talloc_tos, the upper layers clean up by freeing the stackframe. The more of these stackframes are used and correctly freed the more exact the memory cleanup happens. This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and lp_talloc_ctx (did I forget any?) So, never do a tmp_ctx = talloc_init("foo"); anymore, instead, use tmp_ctx = talloc_stackframe() :-) Volker (This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
2007-10-10r24302: add a module that overloads the file_id_create VFS functionStefan Metzmacher1-0/+288
and alters the device id depending on the configured algorithm. The algorithm is configured via "fileid:algorithm": - "fsname" (default) uses a uint64 hash over the mount point - "fsid" uses the fsid returned from statfs() This is needed for "clustering = yes" on some clusterfilesystems metze (This used to be commit 30f9171cca3e4f523cde7dfc96096c32e5af50be)
2007-10-10r24280: Fix the build of vfs_afsacl.cVolker Lendecke1-5/+5
(This used to be commit c231f7b8f6025e2853eb6ecab43fe87566596234)
2007-10-10r24123: add file_id_create() to some vfs modulesStefan Metzmacher1-0/+22
metze (This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)
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-10r24013: merge from http://samba.org/~tridge/samba_3_2_ctdb/:Stefan Metzmacher1-1/+1
fixed prototype metze (This used to be commit 0add4e9478afd9b20205f572a485b450a669c275)
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-10r23856: Add Jiri.Sasek@Sun.COM;s fix from Axel Apitz for ZFS ACLs.Jeremy Allison1-2/+49
Jeremy. (This used to be commit 6ba12b6cb9f69297731c73071b627e8d7fbc6d73)
2007-10-10r23831: Fix vfs_readahead: transparent modules should always pass throughAlexander Bokovoy1-1/+1
(This used to be commit 800cf5c81c12985922f34610473d746458c85f90)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell24-48/+24
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell4-11/+5
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell12-24/+12
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison37-37/+37
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23722: Fix the build of the catia moduleVolker Lendecke1-2/+2
(This used to be commit fa09744cce6c1aa63e46bd61e4c01234574f3b32)
2007-10-10r23692: Couldn't wait, sorry :-). Did the style change.Jeremy Allison1-3/+3
Jeremy. (This used to be commit da0d6ba0f972dbe48e2b7297e86e1717e510fadf)
2007-10-10r23691: fix for bug on touching files as described here:Simo Sorce1-5/+13
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897 (This used to be commit 6b68c006f8ecba8ed3a4d87950691cb1e5c46386)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison9-74/+53
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-10r23423: Use the correct structure types in the NT_ACL operations. It's notJames Peach1-2/+2
clear to my why the catia module feels it's necessary to implement these operations, but at least they're now the right type. (This used to be commit b5be0c7403195d2bd503fb1512cb46e65587adc4)
2007-10-10r23396: Make VFS callbacks static. Mark operations as OPAQUE because theyJames Peach1-8/+9
do not pass through. (This used to be commit b9d6eee5d4d0894ded88455675a470cbf04d8f45)
2007-10-10r23302: Refactor vfs_gpfs module, fix problems with chmod Tridge has found ↵Alexander Bokovoy2-96/+111
during ctdb tests (This used to be commit e150e42ac59494a1da12bb5c9da8c9c935780924)
2007-10-10r23228: Merge cleanup to the gpfs module from Tridge. Also potentially disableVolker Lendecke1-33/+28
gpfs share modes in special situations. This might be split up in several modules later. (This used to be commit 553fe9245165ce4a14902daa722935c94ff32d61)
2007-10-10r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison5-1/+84
Jeremy. (This used to be commit 932523cbb508db869b726768e86bfa8e248f768b)
2007-10-10r23098: Fix the case of the #include statements so this module can be built on aJames Peach1-2/+2
case-sensitive filesystem. (This used to be commit 0fd0b57107fcdbf7eda85b3f3b969c5dc9eaadc5)
2007-10-10r23068: Fix some uninitialized variables in the solarisacl moduleVolker Lendecke1-6/+6
(This used to be commit 569c04a2445a74469663cec33ae42ddfcdbe1dfc)
2007-10-10r22918: Attempt to fix the build of the tru64acl module.Michael Adam1-6/+6
Where the heck did that smb_acl_permset_t come from? I can't remember... Michael (This used to be commit e55f952a1319de8743ddfe4993cc4c798b7aa725)
2007-10-10r22907: Fix the build with --enable-profiling-dataVolker Lendecke1-1/+2
(This used to be commit fd45e0ff738711f6e3ed49039dae8245fd0a22d1)
2007-10-10r22872: Add vfs_zfsacl module from Jiri Sasek <Jiri.Sasek@Sun.COM>.Jeremy Allison1-0/+186
Jeremy. (This used to be commit bd80db71e71fc05b8b4875c386d8d58612cdbb06)
2007-10-10r22777: Fix for [Bug 4543] - POSIX ACL support on FreeBSD.Michael Adam1-0/+6
This adds vfs_posixacl to the list of static modules and makes use of HAVE_ACL_GET_PERM_NP. This is just a quick fix. FreeBSD acl support is still hardcoded in configure.in, but actually this could be detected in a unified test for freebsd, linux, *, as suggested in the bugreport. This has still to be checked and elaborated. Michael (This used to be commit af94654772f743f0c0b7809ff3f2ef019feb713a)
2007-10-10r22675: Simo's patch for 0 size allocation. Still needJeremy Allison1-1/+1
to examine parse_misc.c fix. Jeremy. (This used to be commit 80d981265cd3bc9d73c5da3c514ec736e2dfa73a)
2007-10-10r22615: fix prototypeMichael Adam1-1/+1
(This used to be commit 6999d578aebab4e3216200be1d884caa3578ecc2)
2007-10-10r22592: Fix TALLOC_SIZE to be consistent.Jeremy Allison1-7/+11
Jeremy. (This used to be commit 8044a6482c7c165a64878982cee5ee9756a0a734)
2007-10-10r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison1-3/+7
Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison3-12/+12
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22529: Add implementation of HP-UX ACLs in the new vfs-module framework.Michael Adam1-56/+1137
(This used to be commit aef5aad67884eb47d30fa2fadddb33e4005b8143)
2007-10-10r22413: Simplify the build rules for plugin modules. Add support for ↵James Peach1-0/+1
per-platform exports files. Fix the shared library build pf pdb_ldap. (This used to be commit b04dee02d1965a1bf6eba39e809f0c9b33fbfcda)
2007-10-10r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (callsJim McDonough1-2/+1
_file). Thanks to Gomati Mohanan. (This used to be commit 859269c9492e002f02415d610c83452538147972)
2007-10-10r22147: Next tryVolker Lendecke1-1/+1
(This used to be commit 42f42321558ed0647697e5bfd7d5339a29aa30d9)
2007-10-10r22146: Attempt to fix the buildVolker Lendecke1-1/+1
(This used to be commit 825255c7600f2372c1702a0cecb309e9f22c087e)
2007-10-10r22132: I hate inefficiency. Don't call conv_str_size()Jeremy Allison1-41/+88
on every pread/sendfile call, initialize these variables in an allocated struct at connection time and just refer to them directly. Jeremy. (This used to be commit 85df3fca681a44c882f596ef042ad9956c3a63c0)
2007-10-10r22111: Allow readahead params to use size suffixes as K,M, etc.Jeremy Allison1-4/+28
Jeremy. (This used to be commit e296f07e1d3a14fe05a444ccdc752cd945fee5bc)
2007-10-10r22105: Added vfs_readahead module that appears to do wonderful thingsJeremy Allison1-0/+117
for copying files from Samba when using Windows Vista Windows explorer.... :-). By default if you add this I can go on my vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if I turn sendfile on). Jeremy. (This used to be commit 97fdd67e83bb2706106a9bae95b32d8d9f8b4066)
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-10r22080: Fix directory recycle module bug #4486.Jeremy Allison1-16/+37
Jeremy. (This used to be commit 17b1d11bbb8353e309c8410128a3e9c5964ea766)
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-10r21885: Chown logic should be activated only if nfs4:chown=yesAlexander Bokovoy1-24/+26
(This used to be commit b10410634f6dac532a867be5506cf79886833828)
2007-10-10r21877: Missed one line.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 184571e4b0283fb1a62c441f10429006656052c8)
2007-10-10r21874: Fix missing notify function. Thanks to Thomas Bork <tombork@web.de>Jeremy Allison1-0/+26
for pointing this out ! Jeremy. (This used to be commit b69e18c7f167418ca364a85f1dac252f7b549e57)
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)