summaryrefslogtreecommitdiffstats
path: root/source/modules
Commit message (Collapse)AuthorAgeFilesLines
* r25403: grab latest changes form 3.2 tree in preparation for release of ↵Gerald Carter2007-09-283-7/+7
| | | | 3.2.0pre1
* r25387: Sync with 3.2.0 svn treeGerald Carter2007-09-271-1/+1
|
* r25055: Add file_id_string_tosVolker Lendecke2007-09-101-1/+1
| | | | This removes file_id_string_static and file_id_string_static2
* r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke2007-08-305-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
* r24303: add a module that overloads the file_id_create VFS functionStefan Metzmacher2007-08-101-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
* r24280: Fix the build of vfs_afsacl.cVolker Lendecke2007-08-081-5/+5
|
* r24124: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-0/+22
| | | | | | add file_id_create() to some vfs modules metze
* r24122: merge from SAMBA_3_2:Stefan Metzmacher2007-08-021-0/+7
| | | | | | | | | add a file_id_create() hook into the VFS layer it's needed for some cluster filesystems to overload this function. metze
* r24014: merge from http://samba.org/~tridge/samba_3_2_ctdb/:Stefan Metzmacher2007-07-241-1/+1
| | | | | | fixed prototype metze
* r23963: Janitor for jpeach:Volker Lendecke2007-07-191-2/+3
| | | | | > Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX, > not plain old LINUX.
* r23856: Add Jiri.Sasek@Sun.COM;s fix from Axel Apitz for ZFS ACLs.Jeremy Allison2007-07-121-2/+49
| | | | Jeremy.
* r23832: Fix vfs_readahead: transparent modules should always pass throughAlexander Bokovoy2007-07-111-1/+1
|
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-07-1024-48/+24
|
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-07-104-11/+5
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-1012-24/+12
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-0937-37/+37
| | | | Jeremy.
* r23722: Fix the build of the catia moduleVolker Lendecke2007-07-051-2/+2
|
* r23692: Couldn't wait, sorry :-). Did the style change.Jeremy Allison2007-07-031-3/+3
| | | | Jeremy.
* r23691: fix for bug on touching files as described here:Simo Sorce2007-07-031-5/+13
| | | | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897
* r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison2007-06-269-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.
* r23423: Use the correct structure types in the NT_ACL operations. It's notJames Peach2007-06-111-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.
* r23397: Merge branches/SAMBA_3_0@23396James Peach2007-06-081-8/+9
| | | | | Make VFS callbacks static. Mark operations as OPAQUE because they do not pass through.
* r23327: Merge -r 23302 with GPFS fixes from SAMBA_3_0Alexander Bokovoy2007-06-042-96/+111
|
* r23228: Merge cleanup to the gpfs module from Tridge. Also potentially disableVolker Lendecke2007-05-291-33/+28
| | | | | gpfs share modes in special situations. This might be split up in several modules later.
* r23215: missed merged for sec_desc changesGerald Carter2007-05-291-1/+1
|
* r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison2007-05-235-1/+84
| | | | Jeremy.
* r23098: Fix the case of the #include statements so this module can be built on aJames Peach2007-05-231-2/+2
| | | | case-sensitive filesystem.
* r23068: Fix some uninitialized variables in the solarisacl moduleVolker Lendecke2007-05-221-6/+6
|
* r23004: Fix the build of the Tru64 ACL vfs module.Michael Adam2007-05-181-6/+6
| | | | | | | | (This is r22918 in SAMBA_3_0.) Where the heck did that smb_acl_permset_t come from? I can't remember, but I am sure this built once... Michael
* r22947: HP-UX acl implementation. Taken from 3_0 (r22529).Michael Adam2007-05-161-56/+1137
| | | | Michael
* r22872: Add vfs_zfsacl module from Jiri Sasek <Jiri.Sasek@Sun.COM>.Jeremy Allison2007-05-141-0/+186
| | | | Jeremy.
* r22777: Fix for [Bug 4543] - POSIX ACL support on FreeBSD.Michael Adam2007-05-101-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
* r22675: Simo's patch for 0 size allocation. Still needJeremy Allison2007-05-041-1/+1
| | | | | to examine parse_misc.c fix. Jeremy.
* r22592: Fix TALLOC_SIZE to be consistent.Jeremy Allison2007-04-301-7/+11
| | | | Jeremy.
* r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-04-301-3/+7
| | | | Jeremy.
* r22542: Move over to using the _strict varients of the tallocJeremy Allison2007-04-273-12/+12
| | | | | calls. No functional changes. Looks bigger than it is :-). Jeremy.
* r22148: Fix gpfs module on posix-acl test. Adds gpfsacl_sys_set_fd (callsJim McDonough2007-04-101-2/+1
| | | | _file). Thanks to Gomati Mohanan.
* r22147: Next tryVolker Lendecke2007-04-101-1/+1
|
* r22146: Attempt to fix the buildVolker Lendecke2007-04-101-1/+1
|
* r22132: I hate inefficiency. Don't call conv_str_size()Jeremy Allison2007-04-081-41/+88
| | | | | | | on every pread/sendfile call, initialize these variables in an allocated struct at connection time and just refer to them directly. Jeremy.
* r22111: Allow readahead params to use size suffixes as K,M, etc.Jeremy Allison2007-04-061-4/+28
| | | | Jeremy.
* r22105: Added vfs_readahead module that appears to do wonderful thingsJeremy Allison2007-04-061-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.
* r22080: Fix directory recycle module bug #4486.Jeremy Allison2007-04-041-16/+37
| | | | Jeremy.
* r21956: Fix bug reported by don.mccall@hp.com for platformsJeremy Allison2007-03-231-1/+1
| | | | | without utimes() call (only utime()). Jeremy.
* r21955: Merge over jpeach's fixes for UNIX_INFO2.Jeremy Allison2007-03-231-0/+4
| | | | | | | | | | | | | | | Jeremy. After discussion with the Apple and Linux client maintainers, 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.
* r21886: Chown logic should be activated only if nfs4:chown=yesAlexander Bokovoy2007-03-201-24/+26
|
* r21877: Missed one line.Jeremy Allison2007-03-191-0/+1
| | | | Jeremy.
* r21874: Fix missing notify function. Thanks to Thomas Bork <tombork@web.de>Jeremy Allison2007-03-191-0/+26
| | | | | for pointing this out ! Jeremy.
* r21781: Add support for the UNIX_INFO2 info level. Merge the followingJames Peach2007-03-092-0/+25
| | | | | | | | SAMBA_3_0 revisions: r21756:21757 r21761:21762 r21762:21763 r21764:21767
* r21764: Fix warning in debug comment.Jeremy Allison2007-03-081-2/+2
| | | | Jeremy.