summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-dbwrap: Add dbwrap_db_idVolker Lendecke2012-04-206-0/+50
| | | | This returns a blob uniquely identifying the database
* s3: Fix msg_channel in the cluster caseVolker Lendecke2012-04-201-3/+6
|
* s3: Fix the build on FreeBSDVolker Lendecke2012-04-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 19:13:45 CEST 2012 on sn-devel-104
* s3: Fix Coverity ID 2743: CHECKED_RETURNVolker Lendecke2012-04-191-3/+6
|
* s3: Fix Coverity ID 2744: CHECKED_RETURNVolker Lendecke2012-04-191-1/+6
|
* s3: Fix Coverity ID 2745 and 2746: FORWARD_NULLVolker Lendecke2012-04-191-11/+15
| | | | We can assume that the rbt dbs are around
* s3: Attempt to fix Coverity ID 2748: INTEGER_OVERFLOWVolker Lendecke2012-04-191-1/+1
| | | | Not sure this will actually please Coverity, but it fixes a severe bug
* s3-xattr_tdb: Remove dead code: talloc_stackframe() cannot failAndrew Bartlett2012-04-191-12/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104
* s3-dbwrap: Remove dead code: talloc_stackframe() cannot failAndrew Bartlett2012-04-191-10/+1
|
* s3-dbwrap: Fix an unused var warningVolker Lendecke2012-04-181-0/+2
|
* s3-xattr_tdb: Use talloc_stackframe() more to allow calling from common codeAndrew Bartlett2012-04-181-14/+31
|
* s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blobAndrew Bartlett2012-04-182-9/+6
| | | | | | | | | | | In this case, the blob is already in memory, so it is easier to return the full blob to the caller, and let the caller decide if some interface restriction stops the full blob from being passed all the way up the stack. This allows us to quickly write a python wrapper for this xattr storage mechanism. Andrew Bartlett
* s3-xattr_tdb: make xattr_tdb a private library, for use outside vfs_xattr_tdbAndrew Bartlett2012-04-182-0/+495
|
* s3-lib: Add file_id_string()Andrew Bartlett2012-04-182-3/+23
|
* s3-build: move file_id.c into samba3-util and create a private headerAndrew Bartlett2012-04-182-0/+31
|
* lib/util: Move map_nt_error_from_tdb to the top levelAndrew Bartlett2012-04-181-58/+0
| | | | | | This will help with making dbwrap available as a top level library. Andrew Bartlett
* s3-dbwrap: push lp_ctx up another layer in the stackAndrew Bartlett2012-04-183-5/+6
| | | | | | | | | | This will allow db_open_tdb() to be called from common code, which may already have a loadparm context loaded. It also slowly moves the lp_ctx up the stack, as required to remove the library loop between smbconf and the registry. Andrew Bartlett
* s3-dbwrap: Add talloc_stackframe() callsAndrew Bartlett2012-04-181-5/+21
| | | | | | | This is in preperation for calling dbwrap from common code, where we may not have a stackframe set up. Andrew Bartlett
* s3: Make ctdbd_messaging_send_blob available in non-clustered modeVolker Lendecke2012-04-171-1/+10
| | | | This will avoid the need for some #ifdefs
* s3: Make messaging_ctdbd_connection available in non-clustered modeVolker Lendecke2012-04-171-0/+9
| | | | This might make some #ifdef CLUSTER_SUPPORT unnecessary in the future
* s3: Implement tevent_barrierVolker Lendecke2012-04-172-0/+234
| | | | | | | | This will help notify torture tests: A tevent barrier can be waited on with tevent_barrier_wait_send/recv. The barrier is initialized with a number of requests that it will accept waiting. When that number is reached, all those requests will be released and their callback will be called. The barrier will be free for re-use again.
* s3: Introduce ctdb_messaging_send_blobVolker Lendecke2012-04-171-20/+20
| | | | Send a raw blob without the messaging.idl wrap
* s3: Add msg_channelVolker Lendecke2012-04-172-0/+414
| | | | This is a tevent_based variant of messaging_register
* s3: Add messaging_tdb_event()Volker Lendecke2012-04-171-0/+10
| | | | | | | | This is a void* that represents a signal handler attached to some custom tevent_context. This is necessary to make the tdb based messaging infrastructure trigger its business when we are sitting in tevent_loop_once for an event context that is not the main one in the messaging context.
* s3: Add a second ctdb connect libraryVolker Lendecke2012-04-172-0/+678
| | | | The existing one is not async at all.
* s3: Add dbwrap_try_fetch_lockedVolker Lendecke2012-04-178-16/+97
| | | | | | | | | | This is designed to spread the load on individual ctdb records to allow upper layers to do backoff mechanisms. In the ctdb case, do not get the record if a local lock is already taken. If we are not dmaster, do at most one migrate attempt. For the tdb case, this is a nonblocking fetch_locked. If someone else has the lock, give up.
* s3: Add dbwrap_cacheVolker Lendecke2012-04-172-0/+242
| | | | | | This is a caching layer for the notify database and potentially for the brlock database. It caches the parse_record operation as long as the underlying seqnum does not change.
* s3: Open up 3 levels of dbwrap_lock_orderVolker Lendecke2012-04-172-5/+9
|
* s3: Add infrastructure for background jobsVolker Lendecke2012-04-172-0/+272
|
* s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke2012-04-172-12/+0
| | | | All callers had that fallback
* s3: Fix the pthreadpool build on OS/XVolker Lendecke2012-04-091-0/+1
| | | | | OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
* s3: Compile fix for dbwrap_file.cVolker Lendecke2012-04-071-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-065-23/+23
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-37/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-64/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-29/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-51/+0
|
* build: Remove SMB_F* locking definesAndrew Bartlett2012-04-052-3/+3
|
* build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett2012-04-051-1/+1
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-052-2/+2
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-051-2/+2
|
* build: Remove sys_rewinddir wrapperAndrew Bartlett2012-04-051-8/+0
|
* build: Remove sys_closedir wrapperAndrew Bartlett2012-04-051-10/+0
|
* build: Remove sys_telldir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_seekdir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_readdir wrapperAndrew Bartlett2012-04-052-10/+1
|
* build: Remove sys_opendir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_fopen wrapperAndrew Bartlett2012-04-052-11/+1
|
* build: Remove sys_open wrapperAndrew Bartlett2012-04-053-12/+3
|
* build: Remove sys_creat wrapperAndrew Bartlett2012-04-051-9/+0
|