1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/util
Jeremy Allison 5df1c11539 Start to add truncate checks on all uses of strlcpy(). Reading lwn
has it's uses :-).

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Mar 29 20:48:15 CEST 2012 on sn-devel-104
2012-03-29 20:48:15 +02:00
..
charset charset: Remove unused strcmp_w() 2012-02-10 16:45:13 +11:00
tests s3-param Remove 'time offset' from smb.conf 2011-06-11 03:54:44 +02:00
asn1.c Fix our asn.1 parser to handle negative numbers. 2011-05-24 22:57:16 +02:00
asn1.h lib/util/asn1.c - remove the "const" specifier from OID 2010-12-21 15:10:37 +11:00
attr.h lib/util/attr: add _UNUSED_ marco 2011-07-14 20:11:22 +02:00
base64.c lib: added base64_decode_data_blob_talloc() 2011-09-08 03:35:27 +02:00
become_daemon.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
binsearch.h util: added BINARY_ARRAY_SEARCH_V() 2010-09-29 16:36:22 -07:00
bitmap.c lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
bitmap.h lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
blocking.c s3: Fix the clustering build 2011-12-17 18:41:39 +01:00
byteorder.h lib/util: add RBVAL, RBVALS, RSBVAL and RSRBVALS macros 2011-04-24 09:48:51 +02:00
capability.c Move lib/util from source4 to top-level libutil. 2008-10-11 21:05:38 +02:00
data_blob.c Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now). 2010-05-18 21:57:23 +02:00
data_blob.h s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value 2011-10-12 22:45:53 +02:00
debug_s3.c s3-messages: only include messages.h where needed. 2011-03-30 01:13:09 +02:00
debug_s3.h Fix warning messages on Freebsd 4.6.2. 2011-06-02 10:10:39 -07:00
debug.c lib/util: Add a callback facility for debug messages 2012-03-08 10:14:05 +01:00
debug.h lib/util: Add a callback facility for debug messages 2012-03-08 10:14:05 +01:00
dlinklist.h util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1) 2010-02-10 15:53:58 -08:00
Doxyfile Move lib/util from source4 to top-level libutil. 2008-10-11 21:05:38 +02:00
dprintf.c lib/util/charset: Remove 'display charset' 2011-06-23 13:47:27 +02:00
fault.c Start to add truncate checks on all uses of strlcpy(). Reading lwn 2012-03-29 20:48:15 +02:00
fsusage.c Use common fusage implementation. 2008-10-14 02:16:27 +02:00
genrand.c s3: Fix the clustering build 2011-12-17 18:41:39 +01:00
idtree.c idtree: fix overflow for v. large ids on allocation and removal 2010-12-06 05:02:22 +01:00
mainpage.dox Move lib/util from source4 to top-level libutil. 2008-10-11 21:05:38 +02:00
memory.h lib/util: remove implicit discard_const_p() from SAFE_FREE() 2010-08-28 08:41:00 +02:00
modules.c Revert making public of the samba-module library. 2011-12-03 08:36:30 +01:00
ms_fnmatch.c libcli/smb move enum protocol_types to a common header 2011-07-06 05:32:51 +02:00
params.c loadparm: fix a load of uninitialized memory errors found by valgrind. 2012-02-03 11:10:29 +01:00
parmlist.c lib/util: allow parmlist.c to compile under s3 includes.h 2011-06-21 09:36:22 +10:00
parmlist.h s3-param use common struct parmlist_entry to hold parametric options 2011-07-08 11:23:23 +02:00
rbtree.c Move rbtree.[ch] to lib/util. 2008-10-12 16:27:00 +02:00
rbtree.h Move rbtree.[ch] to lib/util. 2008-10-12 16:27:00 +02:00
README Add libutil README file. 2008-10-18 15:49:11 +02:00
rfc1738.c build: avoid util.h as a public header name due to conflict with MacOS 2011-09-23 09:24:03 +02:00
safe_string.h Move lib/util from source4 to top-level libutil. 2008-10-11 21:05:38 +02:00
samba_modules.h Revert making public of the samba-module library. 2011-12-03 08:36:30 +01:00
samba_util.h lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
samba-util.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
select.c lib/util: Remove sys_poll as it is no longer needed 2012-02-16 15:49:21 -08:00
select.h lib/util: Remove sys_poll as it is no longer needed 2012-02-16 15:49:21 -08:00
server_id.c server_id: Change format to vnn:pid.task_id, pid.task_id or pid 2011-06-09 12:40:09 +02:00
signal.c Move lib/util from source4 to top-level libutil. 2008-10-11 21:05:38 +02:00
smb_threads_internal.h Make the thread functions a bit easier to use 2009-05-13 14:37:28 -04:00
smb_threads.c Make the thread functions a bit easier to use 2009-05-13 14:37:28 -04:00
smb_threads.h Make the thread functions a bit easier to use 2009-05-13 14:37:28 -04:00
string_wrappers.h s3:libsmb: remove unused clistr_push_fn() 2011-07-07 19:16:28 +02:00
substitute.c lib/util Re-merge the string_sub() and all_string_sub() from source3 2011-04-29 16:38:15 +10:00
system.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
talloc_stack.c talloc: added talloc_stackframe_exists() 2011-06-17 15:25:42 +10:00
talloc_stack.h talloc: added talloc_stackframe_exists() 2011-06-17 15:25:42 +10:00
tevent_ntstatus.c lib: Protect against tevent nterror mismatches 2010-12-20 00:12:02 +01:00
tevent_ntstatus.h lib/util: change tevent_req_nterror() to a macro 2010-09-27 03:18:14 +00:00
tevent_unix.c tevent: include libreplace heade before tevent header 2010-09-21 19:11:58 -07:00
tevent_unix.h Use <tevent.h> so the system tevent gets included, if enabled. 2011-02-28 21:11:21 +01:00
tevent_werror.c lib/util: Add tevent WERROR wrappers 2010-10-23 07:35:28 +00:00
tevent_werror.h lib/util: Add tevent WERROR wrappers 2010-10-23 07:35:28 +00:00
time.c util/time: Make some functions explicitly public. 2011-11-03 17:22:40 +01:00
time.h util/time: Remove unnecessary _PUBLIC_ - that's implicit for things in header files. 2011-11-03 14:34:08 +01:00
tsort.h s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code 2010-02-14 18:44:20 +11:00
unix_privs.c Include uid_wrapper correctly. 2011-10-27 13:32:02 +02:00
util_file.c lib/util: remove the "includes.h" dependeny from util_file.c 2011-10-22 09:28:26 +02:00
util_getent.c Move lib/util from source4 to top-level libutil. 2008-10-11 21:05:38 +02:00
util_id.c s3:auth: change num_groups to from size_t to uint32_t 2011-02-22 16:20:11 +11:00
util_ldb.c ldb: use #include <ldb.h> for ldb 2011-02-10 06:51:07 +01:00
util_ldb.h lib/util/util_ldb.h: fix licence/copyright 2011-06-10 15:11:26 +02:00
util_net.c Start to add truncate checks on all uses of strlcpy(). Reading lwn 2012-03-29 20:48:15 +02:00
util_net.h net: Don't register link local addresses with DNS 2011-09-24 21:46:06 -07:00
util_paths.c lib/util use modules_path(), data_path() and shlib_ext() from source3 2011-06-06 17:37:51 +10:00
util_pw.c lib/util: Remove dummy wrapper for getgrgid(). 2012-03-24 15:26:36 +01:00
util_pw.h lib/util: Remove dummy wrapper for getgrgid(). 2012-03-24 15:26:36 +01:00
util_runcmd.c runcmd: use set_close_on_exec() 2011-12-22 14:00:06 +01:00
util_str_common.c First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems 2011-07-19 13:19:29 -07:00
util_str.c lib/util: Remove unused str_format_nbt_domain() 2012-02-10 16:45:13 +11:00
util_strlist.c lib/util Move simple string routines into common code. 2011-04-13 14:47:07 +10:00
util_tdb.c lib/util/util_tdb: adhere to coding style for tdb_data_is_empty() 2011-12-06 15:22:08 +01:00
util_tdb.h lib/util: factor out tdb_data_is_empty 2011-12-03 05:20:30 +01:00
util.c lib/util: Allow calloc use in util.c, too. 2012-03-24 18:50:32 +01:00
wrap_xattr.c Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
wrap_xattr.h lib/util/wrap_xattr.h: fix licence/copyright 2011-06-10 15:11:29 +02:00
wscript util: Add --disable-fault-handling. 2012-03-15 05:55:03 +01:00
wscript_build tdb_wrap: Move to specific directory. 2012-03-10 23:13:01 +01:00
wscript_configure util: Add --disable-fault-handling. 2012-03-15 05:55:03 +01:00
xfile.c lib/util: remove the "includes.h" dependeny from xfile.c 2011-10-22 09:28:27 +02:00
xfile.h lib/util: make it possible to use debug.h with using xfile.h 2008-12-17 13:31:29 +01:00

This directory contains libutil (until we can think of a better name)

The idea is that this library contains simple but useful data structures 
and support functions that are generally useful; not just for Samba but for 
other projects as well. Functions here should not depend on any external 
libraries, just on libc (perhaps partially provided by libreplace).