summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2008-05-27Use new dynconfig.h location.Jelmer Vernooij1-1/+1
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-20smbtorture: Add RAW-BENCH-TCON benchmark.James Peach2-2/+2
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-3/+3
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-3/+6
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in remaining subsystems.Jelmer Vernooij1-7/+7
(This used to be commit 6b6b2196a8a8d9e741f5c399185ded7a16938da0)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-17use uintptr_t instead of intptr_t where appropriateAndrew Tridgell1-1/+1
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
2008-04-15Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables ↵Jelmer Vernooij1-2/+0
directly instead. (This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-15/+17
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-13Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij1-2/+2
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-02util: Add talloc_get_type_abort() call.Kai Blin2-0/+22
(This used to be commit 38413ed4b6957e5f72e78a04f479c6a5d8b69ef5)
2008-04-02Re-add params file to git.Jelmer Vernooij1-0/+587
(This used to be commit fc50e78e2631e8253571bc236302e2859e4d1559)
2008-04-02Reintroduce header previously autogenerated but ignored by git.Jelmer Vernooij1-3/+4
Also fixed extra include in regpatch. (This used to be commit 0e371cf169e9a607fcbb3e65437ab9413935dd52)
2008-04-02Reduce the number of installed headers.Jelmer Vernooij1-1/+1
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij6-9/+46
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-01Add warning to public headers.Jelmer Vernooij1-0/+4
(This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
2008-04-01Add userdata argument to reseed callback function.Jelmer Vernooij3-6/+8
(This used to be commit d4272bc6bcfcd71fa93edb25bb33d6458e8b33cd)
2008-04-01Move ini-like file parser to the utility library.Jelmer Vernooij2-1/+10
(This used to be commit 2dc2bb800dab3f7dbdba01f5ca5076edd1a2b0f3)
2008-03-18lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymoreStefan Metzmacher1-1/+1
metze (This used to be commit b7dad8674a3aaa27bc1103a83be75434d413239b)
2008-02-29Change remaining prototype headers to be private.Jelmer Vernooij1-3/+3
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-11/+13
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-7/+8
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij2-3/+2
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-14util_ldb: Add a missing \n to debug string, fix trailing whitespaces.Kai Blin1-8/+9
(This used to be commit b0991cc09b36171c18d2407c9f3153b6f7e8299b)
2008-02-11Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit 54e7d10fe0eb4837b00b9b049fbd59a56ee85bea)
2008-02-09Move nt_time_equal() to libutil.Jelmer Vernooij2-1/+12
(This used to be commit 9705263a6c58d4ade556d17db2009dbb85291b22)
2008-02-01Samba4 poor mans debug_ctx()Amin Azez1-0/+4
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the formatting expressions again, e.g. DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid))); Sadly it's done with macros (again) but when we need to save the 8 or 16 bytes of object code per DEBUG() expression we can do it the Samba 3 way with added thread-safety for Samba 4. That could save up to 200K, allowing 12 bytes for each occurrance of DEBUG... Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij3-0/+829
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-3/+2
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vKai Blin1-3/+3
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (This used to be commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
2007-12-21r26457: Janitorial: Don't use pstring in tdb_unpackKai Blin1-9/+8
(This used to be commit 447bc42180cf0be71a35e40f6d93d91879397a48)
2007-12-21r26434: Remove display charset from iconv convenience context.Jelmer Vernooij2-21/+18
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2-8/+10
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.Jelmer Vernooij2-2/+33
(This used to be commit cf8636c8b77c745812376d0ea6f0fb6246a2e4fb)
2007-12-21r26386: We need to test in more than just 'interactive' mode...Andrew Bartlett1-1/+1
Fix segfault found when running smbd without options. Andrew Bartlett (This used to be commit 880dfeadae41be5f0140ac07afb8680fc11f6ebf)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij2-8/+8
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-55/+0
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij3-4/+192
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25830: fix compiler warningStefan Metzmacher2-2/+2
metze (This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
2007-12-21r25802: fix the build on solaris, void functions doesn't return valuesStefan Metzmacher1-2/+2
metze (This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)
2007-12-21r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if ↵Günther Deschner2-9/+71
not at the beginning or the end of a blob). Usefull when inspecting protocols that exchange huge mostly empty blobs. Guenther (This used to be commit c96047d022555678dabe08c0de94f0913bb4d047)
2007-12-21r25661: We don't actually need to know with DEBUG(0, ... every time we ask forAndrew Bartlett1-6/+0
some random bytes. Andrew Bartlett (This used to be commit 606c82f6254b8dc6fb32740a7bb55a1989081fe7)
2007-12-21r25660: Add a new interface 'generate_secret_buffer()', to be used when weAndrew Bartlett2-18/+58
require top-quality entropy. We don't want to waste system enropy generating challenges (which simply need to be unpredictable, not secret) or when generating UUIDs. Rework generate_random_buffer() to use /dev/urandom less often, only to seed the existing RC4 based PRNG. (With an exception to ensure we don't waste this setup cost for very small entropy requests). Perhaps we should be using heimdal's code for this instead? This should drasticly reduce our entropy use, particularly in the build farm (automated Samba build on hosts without much other source of entropy). Andrew Bartlett (This used to be commit 6a5630d37191542022f02fae519227b7829ef620)
2007-12-21r25628: Fix formatting, missing include.Jelmer Vernooij1-1/+3
(This used to be commit aafd3ea03f52b08b6697f3778728659c790d03b4)
2007-12-21r25627: Remove unused global.Jelmer Vernooij1-14/+5
(This used to be commit b0b4668333b53991b04cae8905836c766e50aa10)
2007-12-21r25626: Move some debug-specific prototypes to debug.h.Jelmer Vernooij3-56/+56
(This used to be commit 84a202754004ec618aa2663a4614d80eb2c7ce60)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij3-31/+18
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev ↵Jelmer Vernooij2-3/+6
<timur@com.bat.ru> (This used to be commit 8d4a435601c1af42a4a6704b3181e194eb40f75a)