1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/lib
Rusty Russell 7deeacae2b gencache: don't use CLEAR_IF_FIRST as fallback.
CLEAR_IF_FIRST only works if *all* openers use that flag.

So just truncate the file: it's racy, but that's what we're doing anyway.

We'd really need a TDB_OPENCHECK_OR_CLEAR flag to do this properly (or in
TDB2, a open hook at the right point).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-04-19 12:06:05 +09:30
..
eventlog s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
netapi s3-libsmb: move protos to libsmb/proto.h 2011-05-06 16:37:18 +02:00
pthreadpool s3: Properly clean up in pthreadpool_init in case of failure 2011-04-27 23:57:19 +02:00
smbconf s3: Fix Coverity ID 1340, NULL_RETURNS 2011-04-22 10:06:33 +02:00
access.c s3-lib Use common lib/socket code for get_interfaces() et al 2011-05-08 12:57:04 +02:00
addrchange.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
addrchange.h s3: Add support for AF_NETLINK addr notifications 2011-02-01 15:11:06 +01:00
adt_tree.c s3-registry: Convert registry key delimiter from slash to backslash. 2010-06-25 17:35:41 +02:00
afs_settoken.c Use sec_initial_uid() in the places where being root doesn't matter, 2010-02-12 23:18:53 -08:00
afs.c s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info 2011-02-22 16:20:10 +11:00
audit.c s3: include ../librpc/gen_ndr/lsa.h where needed. 2011-03-30 01:13:10 +02:00
avahi.c
bitmap.c s3: Remove unused bitmap_[allocate|free] 2010-03-28 15:25:17 +02:00
cbuf.c s3: add function cbuf_print_quoted 2011-04-04 15:57:36 +02:00
cbuf.h s3: add function cbuf_print_quoted 2011-04-04 15:57:36 +02:00
charcnv.c lib/util/charset Use push_string and talloc_strupper/strlower from common code 2011-05-03 07:37:07 +02:00
conn_tdb.c s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +02:00
ctdb_packet.c s3-ctdb Fix duplicate function name due to packet -> ctdb_packet rename. 2011-05-03 14:38:29 +02:00
ctdbd_conn.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
dbwrap_ctdb.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
dbwrap_file.c
dbwrap_rbt.c s3-build: use dbwrap.h only where needed. 2010-08-26 00:25:55 +02:00
dbwrap_tdb.c lib/util Move source3 tdb_wrap_open() into the common code. 2011-05-06 07:51:24 +02:00
dbwrap_util.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
dbwrap.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
dmallocmsg.c s3-messages: make ndr_messaging.h part of messages.h. 2011-03-30 01:13:09 +02:00
dprintf.c Fix convert_string() to take a *converted_size arg. and return a bool. 2011-03-30 23:59:37 +02:00
dummyroot.c
dummysmbd.c Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when adding new share via MMC 2010-11-10 01:14:17 +00:00
dumpcore.c s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +02:00
errmap_unix.c errors: Remove unused unix_to_werror() 2011-05-06 07:51:24 +02:00
events.c s3: Fix timeout calculation in event_add_to_poll_args 2011-04-11 14:35:45 +02:00
file_id.c
filename_util.c More simple const fixes. 2011-05-05 23:56:07 +02:00
fncall.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
fstring.c s3-lib Remove more unused fstring.c functions 2011-04-13 14:47:07 +10:00
g_lock.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
gencache.c gencache: don't use CLEAR_IF_FIRST as fallback. 2011-04-19 12:06:05 +09:30
idmap_cache.c s3:idmap_cache: remove an leftover wip comment 2011-03-02 14:55:20 +01:00
idmap_cache.h s3: add functions to remove entries from idmap cache 2011-02-28 12:58:43 +01:00
interface.c s3-lib Use common lib/socket code for get_interfaces() et al 2011-05-08 12:57:04 +02:00
ldap_debug_handler.c s3-build: stop including ldap and lber headers everywhere in the code. 2011-03-16 10:54:50 +01:00
ldap_escape.c
ldb_compat.c s3: Fix an uninitialized variable 2010-08-01 17:58:01 +02:00
ldb_compat.h libcli/ldap: use lib/ldb_compat.h for the s3 build 2011-01-24 14:55:50 +01:00
memcache.c s3: Fix Coverity ID 590: DEADCODE 2011-03-27 22:22:10 +02:00
messages_ctdbd.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
messages_local.c lib/util Move source3 tdb_wrap_open() into the common code. 2011-05-06 07:51:24 +02:00
messages.c More const fixes for compiler warnings from the waf build. 2011-05-05 23:56:07 +02:00
module.c
ms_fnmatch.c lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch() 2011-05-06 07:51:24 +02:00
pidfile.c s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +02:00
popt_common.c s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +02:00
privileges.c s3: only include lib/privileges.h where needed. 2011-03-30 01:13:10 +02:00
privileges.h s3: only include lib/privileges.h where needed. 2011-03-30 01:13:10 +02:00
recvfile.c s3-includes: only include system/filesys.h when needed. 2011-03-30 01:13:07 +02:00
secdesc.c s3: Remove superfluous ; 2011-02-02 15:44:21 +01:00
sendfile.c Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for non-blocking sockets. 2010-12-15 01:38:16 +01:00
server_contexts.c s3-messages: only include messages.h where needed. 2011-03-30 01:13:09 +02:00
server_mutex.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
serverid.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
sessionid_tdb.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
sharesec.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
smbldap_util.c s3-passdb: use passdb headers where needed. 2011-03-30 01:13:08 +02:00
smbldap.c More const fixes. Remove CONST_DISCARD. 2011-05-06 01:44:07 +02:00
smbrun.c
sock_exec.c
srprs.c s3: add function srprs_quoted to parse strings written with cbuf_print_quoted 2011-04-04 15:57:36 +02:00
srprs.h s3: add function srprs_quoted to parse strings written with cbuf_print_quoted 2011-04-04 15:57:36 +02:00
substitute.c s3-auth: use auth.h where needed. 2011-03-30 01:13:09 +02:00
sysacls.c s3-includes: only include acl prototypes when needed. 2011-04-14 00:47:57 +02:00
sysquotas_4A.c
sysquotas_linux.c
sysquotas_nfs.c s3: Fix Coverity ID 2478, UNINIT 2011-04-23 14:11:22 +02:00
sysquotas_xfs.c
sysquotas.c s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's 2011-04-23 10:44:16 +02:00
system_smbd.c s3-includes: only include system/passwd.h when needed. 2011-03-30 01:13:07 +02:00
system.c Fold null terminator into listlen length, change to strlcpy. 2011-05-04 12:12:14 -07:00
talloc_dict.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
tallocmsg.c More const fixes for compiler warnings from the waf build. 2011-05-05 23:56:07 +02:00
tdb_validate.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
tdb_validate.h s3-build: make sure we pick up system tdb and talloc via #include. 2011-04-14 12:56:27 +02:00
time.c lib/util/time: Merge time functions from source3/lib/time.c 2011-03-01 02:13:22 +01:00
tldap_util.c More const fixes. Remove CONST_DISCARD. 2011-05-06 01:44:07 +02:00
tldap.c Fix many const compiler warnings. 2011-05-05 10:41:59 -07:00
username.c s3-includes: only include system/passwd.h when needed. 2011-03-30 01:13:07 +02:00
util_builtin.c s3-lib: run minimal_includes.pl. 2011-05-05 02:05:26 +02:00
util_cmdline.c s3-util: separate out cmdline helpers. 2011-04-12 13:06:27 +02:00
util_file.c
util_names.c s3:lib s3:lib move get_global_sam_name to util_names.c 2010-05-28 18:08:28 +02:00
util_nscd.c s3-build: only include libnscd.h where needed. 2010-08-26 00:20:29 +02:00
util_nttoken.c s3-util_nttoken.c Also copy the rights_mask when copying a security_token 2010-10-14 02:35:04 +00:00
util_sconn.c s3-messages: only include messages.h where needed. 2011-03-30 01:13:09 +02:00
util_sec.c
util_sid.c More const compiler warning fixes. 2011-05-05 11:29:01 -07:00
util_sock.c s3-lib Use common lib/socket code for get_interfaces() et al 2011-05-08 12:57:04 +02:00
util_str.c More simple const fixes. 2011-05-05 23:56:07 +02:00
util_tdb.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
util_transfer_file.c s3-build: only include transfer_file.h where needed. 2011-03-30 01:13:07 +02:00
util_tsock.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
util_unixsids.c s3-passdb: move util_unixsids.c out of passdb. 2011-03-30 01:13:08 +02:00
util_wellknown.c s3-passdb: move util_wellknown.c out of passdb. 2011-03-30 01:13:08 +02:00
util.c s3: only include tdb headers where needed. 2011-05-06 10:48:10 +02:00
version_test.c
version.c
winbind_util.c Fix many const compiler warnings. 2011-05-05 10:41:59 -07:00
winbind_util.h s3: include ../librpc/gen_ndr/lsa.h where needed. 2011-03-30 01:13:10 +02:00
wins_srv.c