1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/lib
Volker Lendecke 7ceded5ed7 lib: Make sid_binstring_hex use TALLOC
talloc_tos() is better than plain malloc...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-05-13 01:44:20 +02:00
..
ABI s3-smbldap: make smbldap public library and maintain its ABI 2012-09-07 14:14:30 +02:00
asys asys: Allow multiple results to be received 2014-03-27 06:06:12 +01:00
dbwrap lib: Remove procid_str_static 2015-04-28 18:11:13 +02:00
eventlog lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
netapi libnetapi: Fix 241166 Fixing logically dead code 2015-03-26 17:30:27 +01:00
poll_funcs poll_funcs_tevent: Fix a valgrind error 2014-10-24 01:40:16 +02:00
pthreadpool pthreadpool: Slightly serialize jobs 2014-08-23 00:24:18 +02:00
smbconf libsmbconf:registry: Ignore keyless smb.conf regvalues 2015-05-07 07:58:15 +02:00
unix_msg s3-unix_msg: remove socket file after closing socket fd 2015-04-22 03:43:30 +02:00
access.c Update mailing list references to point at lists.samba.org 2015-02-10 07:08:28 +01:00
addrchange.c
addrchange.h
adt_tree.c adt_tree: Fix return types. 2012-03-24 17:11:11 +01:00
audit.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
avahi.c
background.c lib: Fix a valgrind error 2014-07-22 15:32:39 +02:00
background.h s3: Add infrastructure for background jobs 2012-04-17 10:21:00 +02:00
cbuf.c
cbuf.h lib: Fix a typo 2014-02-20 22:58:58 +01:00
charcnv.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
cluster_support.c ctdb: Rename CTDB_VERSION to CTDB_PROTOCOL 2014-10-28 05:42:05 +01:00
cluster_support.h s3:lib: add cluster_support_[available|features]() 2014-03-24 17:09:10 +01:00
conn_tdb.c smbd: Fix CID 1035365 Buffer not null terminated 2013-11-11 21:04:09 +01:00
conn_tdb.h smbd: Use fstring in conn_tdb.h 2013-11-11 21:04:09 +01:00
ctdb_conn.c lib: Fix CID 1128552 Buffer not null terminated 2015-03-04 14:46:07 +01:00
ctdb_conn.h s3:ctdb_conn: only use ctdb_protocol.h or ctdb_private.h in ctdb_conn.c 2014-03-24 17:09:10 +01:00
ctdb_dummy.c lib: Add ctdbd_messaging_send to ctdb_dummy.c 2014-12-16 18:56:04 +01:00
ctdbd_conn.c ctdb-daemon: Remove older data structure that supports only IPv4 addresses 2015-05-12 01:32:11 +02:00
dmallocmsg.c
dummyparam.c
dumpcore.c lib: directory_create_or_exist() does not use "uid" parameter 2014-07-28 22:04:13 +02:00
errmap_unix.c lib: Add EMSGSIZE to map_nt_error_from_unix 2014-09-18 20:36:11 +02:00
events.c s3:lib/events: make use of tevent_common_loop_timer_delay() 2013-03-01 11:58:20 -08:00
file_id.c lib: Apply some const to pull_file_id_24 2013-09-06 13:40:05 +02:00
file_id.h lib: Apply some const to pull_file_id_24 2013-09-06 13:40:05 +02:00
filename_util.c smbd: Make talloc_report of smb_filename more readable 2015-01-11 18:12:10 +01:00
fncall.c pthreadpool: Allow multiple jobs to be received 2014-03-27 06:06:11 +01:00
fstring.c
g_lock.c g_lock: don't leak lock_path onto talloc tos 2014-11-03 23:46:05 +01:00
gencache.c lib: Fix a typo 2015-04-28 18:11:13 +02:00
id_cache.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
id_cache.h
idmap_cache.c s3:idmap_cache: remove unused idmap_cache_set_sid2[u|g]id() 2014-12-03 06:44:29 +01:00
idmap_cache.h s3:idmap_cache: remove unused idmap_cache_set_sid2[u|g]id() 2014-12-03 06:44:29 +01:00
interface.c lib-util: rename memdup to smb_memdup and fix all callers 2014-04-16 20:39:08 +02:00
ldap_debug_handler.c
ldap_escape.c
lsa.c lib: Fix talloc hierarchy in init_lsa_ref_domain_list 2015-02-27 22:53:06 +01:00
messages_ctdbd.c lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
messages_dgm_ref.c lib: Add messages_dgm_ref.[ch] 2015-02-13 23:32:07 +01:00
messages_dgm_ref.h lib: Add messages_dgm_ref.[ch] 2015-02-13 23:32:07 +01:00
messages_dgm.c unix_msg: remove cookie from unix_msg_init 2015-02-13 23:32:06 +01:00
messages_dgm.h messages_dgm: Add a few #includes 2015-02-13 23:32:06 +01:00
messages_util.c messaging: Define a binary format for message headers 2015-02-13 23:32:07 +01:00
messages_util.h messaging: Define a binary format for message headers 2015-02-13 23:32:07 +01:00
messages.c lib: Fix CID 1273009 Dereference after null check 2015-03-26 14:54:20 +01:00
ms_fnmatch.c
msghdr.c lib: Fix CID 1273056 Negative array index read 2015-03-04 14:46:07 +01:00
msghdr.h lib: Add msghdr_prep_recv_fds 2015-01-06 00:33:10 +01:00
namearray.c
popt_common.c lib: Fix CID 1107218 Resource leak 2015-04-21 19:37:16 +02:00
privileges.c
privileges.h
readdir_attr.h s3:vfs: add SMB_VFS_READDIR_ATTR() 2014-12-04 22:11:07 +01:00
recvfile.c lib: Split out sys_[read|write] & friends 2014-12-07 00:12:07 +01:00
sendfile.c Remove a few #ifdef EWOULDBLOCk 2014-09-18 20:36:11 +02:00
server_contexts.c
server_mutex.c server_mutex: don't leak lock_path onto talloc tos 2014-11-03 23:46:05 +01:00
server_prefork_util.c
server_prefork_util.h
server_prefork.c s3-lib/server_prefork: Cast pid_t result to unsigned int for GNU/Solaris build 2013-03-15 10:38:40 -07:00
server_prefork.h
serverid.c serverid: don't leak lock_path onto talloc tos 2014-11-03 23:46:05 +01:00
sessionid_tdb.c Add protocol version to smbstatus output 2014-05-22 18:37:27 +02:00
sharesec.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
smbd_shim.c s3-smbd_shim: Add become_authenticated_pipe_user(). 2013-10-29 15:52:58 +01:00
smbd_shim.h s3-smbd_shim: Add become_authenticated_pipe_user(). 2013-10-29 15:52:58 +01:00
smbldap.c lib-util: rename memdup to smb_memdup and fix all callers 2014-04-16 20:39:08 +02:00
smbrun.c s3: lib: Signal handling - ensure smbrun and change password code save and restore existing SIGCHLD handlers. 2014-09-30 20:40:16 +02:00
sock_exec.c s3-lib: Don't close the listener twice if we goto failed. 2012-12-12 23:14:44 +01:00
srprs.c s3:lib: fix/simplify srprs_hex() 2014-11-25 07:25:44 +01:00
srprs.h s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
substitute_generic.c Finally remove all malloc()'s from the substitute code. Now totally 2012-01-27 03:43:21 +01:00
substitute.c param: rename lp function and variable from "nis_home_map" to "nis_homedir" 2014-02-08 03:31:34 +01:00
sys_rw_data.c lib: Move "iov_buf.[ch]" to lib/util 2015-02-24 17:52:08 +01:00
sys_rw_data.h lib: Add a simple read_data call without NTSTATUS 2014-12-07 00:12:07 +01:00
sys_rw.c lib: Split out sys_[read|write] & friends 2014-12-07 00:12:07 +01:00
sys_rw.h lib: Split out sys_[read|write] & friends 2014-12-07 00:12:07 +01:00
sysacls.c lib: Fix indentation 2015-05-06 04:14:14 +02:00
sysquotas_4A.c
sysquotas_4B.c s3: adopt the new sysquotas_4B support for BSD 2012-09-02 20:58:58 +02:00
sysquotas_linux.c
sysquotas_nfs.c smbd: Fix format errors on FreeBSD10 2014-01-24 13:42:38 -08:00
sysquotas_xfs.c s3:quota: clean up and consolidate the xfs quota checks and defines 2012-09-07 15:59:46 +02:00
sysquotas.c quota: add supprt for gfs2 2012-09-18 14:30:25 +02:00
system_smbd.c lib: Avoid a malloc/realloc in getgroups_unix_user 2015-03-11 16:11:08 +01:00
system.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
talloc_dict.c
tallocmsg.c lib: Use talloc_report_str 2015-02-13 23:32:07 +01:00
tdb_validate.c TDB2: make SAMBA use tdb1 again for the moment. 2012-06-19 05:38:05 +02:00
tdb_validate.h lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
tevent_barrier.c Use tevent_req_simple_recv_unix in a few places 2014-11-10 06:09:04 +01:00
tevent_barrier.h s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_wait.c Use tevent_req_simple_recv_unix in a few places 2014-11-10 06:09:04 +01:00
tevent_wait.h s3: Add tevent_wait_send/recv 2012-07-18 15:54:20 -07:00
time.c lib: Align nt_time_to_unix_timespec with unix_timespec_to_nt_time 2014-06-30 22:28:14 +02:00
tldap_util.c s3: tldap_util: Ensure all asn1_XX returns are checked. 2014-09-26 00:51:16 +02:00
tldap.c s3: tldap: Ensure all asn1_XX returns are checked. 2014-09-26 00:51:16 +02:00
username.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
util_builtin.c Change all uses of uint32/16/8 in proto.h to uint32_t/16_t/8_t. 2015-04-29 23:42:20 +02:00
util_cluster.c s3: add cluster_probe_ok() in a new module util_cluster. 2013-10-17 23:21:53 +02:00
util_cluster.h s3: add cluster_probe_ok() in a new module util_cluster. 2013-10-17 23:21:53 +02:00
util_cmdline.c s3-lib: Do not require a password with --use-ccache. 2014-12-02 19:23:05 +01:00
util_ea.c s3:lib: Factor read_ea_list_entry() and read_nttrans_ea_list() out so they can be used by the SMB2 client code. 2013-08-15 09:07:06 +02:00
util_ea.h s3:lib: Factor read_ea_list_entry() and read_nttrans_ea_list() out so they can be used by the SMB2 client code. 2013-08-15 09:07:06 +02:00
util_file.c Fix a comment to indicate that TALLOC_FREE must be used to free an allocated array of strings. 2014-12-26 22:54:51 +01:00
util_malloc.c s3: Remove some unused code 2012-05-15 18:24:10 +02:00
util_names.c s3: nmbd: Ensure NetBIOS names are only 15 characters stored. 2014-11-04 18:23:11 +01:00
util_nscd.c
util_nttoken.c
util_sd.c util_sd: Make server conncection optional 2015-04-25 00:04:24 +02:00
util_sec.c s3-lib: Add root_mode() which can deal with uid_wrapper. 2014-04-17 14:56:06 +02:00
util_sid_passdb.c s3:util_sid: donate an empty line. 2015-03-16 20:26:50 +01:00
util_sid_passdb.h s3:passdb: add sid_check_object_is_for_passdb() 2012-12-03 08:48:30 +01:00
util_sid.c lib: Make sid_binstring_hex use TALLOC 2015-05-13 01:44:20 +02:00
util_sock.c s3:lib: use talloc_get_type_abort 2015-04-21 22:14:07 +02:00
util_str.c lib: Fix a typo 2015-05-06 15:37:14 +02:00
util_tdb.c lib: Remove tdb_open_compat 2015-03-17 11:30:51 +01:00
util_transfer_file.c lib: Split out sys_[read|write] & friends 2014-12-07 00:12:07 +01:00
util_tsock.c CVE-2013-4408:s3:util_tsock: add some overflow detection to tstream_read_packet_done() 2013-12-09 07:05:45 +01:00
util_unixsids.c lib/util: Remove dummy wrapper for getgrnam(). 2012-03-24 15:25:48 +01:00
util_wellknown.c
util.c Add IPv6 support for determining FQDN during ADS join. 2015-05-12 23:35:32 +02:00
version_test.c
version.c
winbind_util.c lib: Fix build --without-winbind by adding winbind_lookup_usersids dummy 2014-05-16 17:19:18 +02:00
winbind_util.h s3-lib: Add winbind_lookup_usersids(). 2014-02-05 11:41:25 +13:00
wins_srv.c lib: Add a "mem_ctx" arg to gencache_get (unused so far) 2013-09-05 09:16:23 -07:00
xattr_tdb.c s3: Fix the build on FreeBSD 2012-04-19 19:13:45 +02:00
xattr_tdb.h s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob 2012-04-18 12:05:00 +10:00