1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib
Volker Lendecke f4e7a49cd7 unix_msg: simplify unix_msg_send
We have a variable array inside one-fragment fast path anyway. Moving
that to the toplevel of the function saves us a malloc/free pair.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-07-28 22:04:13 +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 dbwrap: Print wait times with full precision 2014-06-27 06:49:10 +02:00
eventlog lib: directory_create_or_exist() does not use "uid" parameter 2014-07-28 22:04:13 +02:00
netapi s3:lib/netapi/examples: remove unused variables 2014-04-02 09:03:43 +02:00
poll_funcs lib: Enhance poll_funcs_tevent for multiple tevent_contexts 2014-05-08 09:10:12 +02:00
pthreadpool pthreadpool: Allow multiple jobs to be received 2014-03-27 06:06:11 +01:00
smbconf s3:lib/smbconf: fix const warnings in testsuite.c 2014-04-02 09:03:42 +02:00
unix_msg unix_msg: simplify unix_msg_send 2014-07-28 22:04:13 +02:00
access.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
addrchange.c
addrchange.h
adt_tree.c adt_tree: Fix return types. 2012-03-24 17:11:11 +01:00
audit.c
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 s3:lib fix output of hex escapes > 0x7F with cbuf_print_quoted 2011-11-25 13:24:34 +01:00
cbuf.h lib: Fix a typo 2014-02-20 22:58:58 +01:00
charcnv.c s3: smbd - fix processing of packets with invalid DOS charset conversions. 2014-06-25 03:47:54 +02:00
cluster_support.c s3:build: remove global CLUSTER_SUPPORT define 2014-03-24 19:08:44 +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 s3:wscript: only build ctdb_dummy.c if we have no cluster support 2014-03-24 17:09:11 +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 s3:wscript: only build ctdb_dummy.c if we have no cluster support 2014-03-24 17:09:11 +01:00
ctdb_packet.c s3:lib/ctdb_packet use sys_send in packet_fd_write 2013-06-03 20:01:21 +02:00
ctdbd_conn.c messaging3: Add and use messaging_tevent_context() 2014-05-31 01:59:17 +02:00
dmallocmsg.c
dummyparam.c s3:lib/dummyparam: remove unused conn_snum_used() dummy 2011-12-13 15:45:36 +01:00
dumpcore.c lib: directory_create_or_exist() does not use "uid" parameter 2014-07-28 22:04:13 +02:00
errmap_unix.c s3:lib add mapping for ETXTBSY 2013-06-25 12:54:00 +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: Use talloc_pooled_object in cp_smb_filename 2013-09-08 11:34:07 +02:00
fncall.c pthreadpool: Allow multiple jobs to be received 2014-03-27 06:06:11 +01:00
fstring.c
g_lock.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01:00
gencache.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +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 idmap_cache: Use gencache_parse 2013-12-05 03:06:10 +01:00
idmap_cache.h s3-idmap: remove (now) unused function idmap_cache_set_sid2both() 2012-05-02 13:18:05 +02: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
messages_ctdbd.c messaging3: Make the _send function return 0/errno 2014-06-18 18:51:13 +02:00
messages_dgm.c messaging3: Make messaging_dgm_init return 0/errno 2014-06-18 21:17:57 +02:00
messages.c messaging3: Remove an unnecessary variable 2014-07-25 00:03:48 +02:00
ms_fnmatch.c
namearray.c
popt_common.c param: avoid the use of lp_do_parameter in popt 2014-07-07 23:32:36 +02:00
privileges.c
privileges.h
recvfile.c s3:smbd: let default_sys_recvfile() and sys_recvfile() cope with non-blocking sockets. 2014-05-24 13:48:14 +02:00
sendfile.c s3: add Darwin sendfile support and merge with the FreeBSD code 2012-07-26 17:19:09 +02:00
server_contexts.c s3: Remove a bunch of calls to procid_self() 2011-12-12 21:50:25 +01:00
server_mutex.c tdb_wrap: Remove tdb_wrap_open_ again 2014-03-31 22:52:14 +02: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: Fix an incompatible pointer assignment 2014-05-27 02:15:10 +02:00
sessionid_tdb.c Add protocol version to smbstatus output 2014-05-22 18:37:27 +02:00
sharesec.c dbwrap: add a dbwrap_flags argument to db_open() 2014-02-07 16:06:06 +01: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 Make sure to set umask() before calling mkstemp(). 2013-03-06 01:16:34 +01: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: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02: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
sysacls.c build: Do not rely on sys.platform for ACL tests, combine UnixWare and Solaris ACL tests 2014-03-08 03:54:08 +01: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 Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
system.c s3: nmbd: Fix bug 10633 - nmbd denial of service 2014-06-25 01:33:13 +02:00
talloc_dict.c
tallocmsg.c
tdb_validate.c TDB2: make SAMBA use tdb1 again for the moment. 2012-06-19 05:38:05 +02:00
tdb_validate.h
tevent_barrier.c s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_barrier.h s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_wait.c s3: Add tevent_wait_send/recv 2012-07-18 15:54:20 -07: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:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
tldap.c s3:lib/tldap: make use of tevent_req_set_cleanup_fn() 2014-01-17 14:34:06 +01: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 s3:util add sid_check_is_wellknown_builtin() 2012-05-01 09:32:11 +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 util: Use new samba_getpass() function. 2012-12-03 14:35:08 +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 bug #9586 - smbd[29175]: disk_free: sys_popen() failed" message logged in /var/log/message many times. 2013-01-24 10:45:48 +01:00
util_malloc.c s3: Remove some unused code 2012-05-15 18:24:10 +02:00
util_names.c Check error returns from strupper_m() (in all reasonable places). 2012-08-09 12:06:54 -07:00
util_nscd.c
util_nttoken.c
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 passdb: Allow a passdb module to do idmap for everything 2014-06-16 00:26:26 +02: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 s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups. 2012-07-23 22:12:29 +02:00
util_sock.c lib/util: move memcache.[ch] to the toplevel 'samba-util' library 2014-07-18 15:43:33 +02:00
util_str.c move str_list_make_v3 out of s3 code 2014-05-07 19:49:16 +02:00
util_tdb.c util_tdb: add function tdb_data_string() 2013-04-18 13:15:11 +02:00
util_transfer_file.c s3-lib: Cleanup transfer_file_internal() a bit. 2012-12-21 13:56:01 +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 security: add local authority well-known SIDs 2011-11-24 19:01:08 +01:00
util.c Typo: Specifing -> specifying. 2014-04-13 16:55:05 +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