summaryrefslogtreecommitdiff
path: root/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2010-04-02talloc: a useful bit of debug codeAndrew Tridgell1-0/+8
this is useful when tracking down talloc loops. It is probably too expensive to have on by default.
2010-04-02talloc: add a define for TALLOC_MAX_DEPTHAndrew Tridgell2-1/+5
Thanks to the suggestion from simo
2010-04-02talloc: change talloc minor version to 2.0.2Andrew Tridgell1-1/+1
this has the talloc_is_parent() bugfix
2010-04-02talloc: limit the depth that talloc will go for talloc_is_parent()Andrew Tridgell1-2/+11
We have a bug in the dcerpc registry code that can cause a talloc loop that chews unlimited CPU because of talloc_is_parent() during a talloc_free()
2010-03-29pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell1-1/+1
When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h
2010-03-29talloc: testsuite should use <talloc.h> not "talloc.h"Andrew Tridgell1-1/+1
if we are using the system talloc, the testsuite needs to use the system talloc.h
2010-03-10doxygen: talloc_get_type name fixed in Doxygen documentationKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-08release-scripts: parametrize scriptsSimo Sorce1-14/+17
This should make it easier to keep all release scripts alined as it will reduce the difference between them to ideally a few variables Also moves the tdb script in the scripts directory.
2010-02-08talloc: Fix abi checks in release scriptSimo Sorce1-17/+24
We must perform abi checks against the version we are going to release. Not against the current tree we are in.
2010-02-08talloc: Fix abi checks and ifdefsSimo Sorce3-4/+32
teach the abi check scripts to skip the DOXYGEN sections fix the header to use #ifdef DOXYGEN and not #if DOXYGEN
2010-02-08talloc: fixed doc typoAndrew Tridgell1-1/+1
2010-02-08Move the talloc details to the mainpage.Andreas Schneider2-64/+69
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-08talloc: Added doxygen config file.Andreas Schneider1-0/+1538
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-08talloc: Documented talloc with doxygen.Andreas Schneider2-67/+1559
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-02Change uint_t to unsigned int in lib/tallocMatt Kraai2-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-21s4: Include Python.h early to avoid double definition errors.Jelmer Vernooij1-0/+1
2010-01-06talloc: create symbol links to shared libraries see ↵Brian Lu1-0/+5
https://bugzilla.samba.org/show_bug.cgi?id=6991 for details Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-15Fix release script to work with recent git versionsSimo Sorce1-1/+1
2009-12-08talloc: Fix write behind memory blockKamen Mazdrashki1-1/+1
If ALWASY_REALLOC is defined and we are to 'shrink' memory block, memcpy() will write outside memory just allocated. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-10-14talloc: Fix exports and increment talloc versionSimo Sorce3-37/+40
2009-10-14talloc: Make abi checks in release scriptSimo Sorce1-0/+10
Make always sure the exports and signature files are up to date before shipping a release.
2009-10-14talloc: Move release script under /script tooSimo Sorce1-0/+0
2009-10-14talloc: Change the way mksysms workSimo Sorce3-36/+29
Make sure we always have a sorted (per file) export file. This way we can directly compare the real export and the check file w/o having to further sort things. Also return error code from abi_checks.sh if warnings were reported
2009-09-28pidl: Avoid using talloc_free as function pointer, since it may be aJelmer Vernooij2-0/+12
macro.
2009-09-20talloc: fixed talloc_disable_null_tracking()Andrew Tridgell3-1/+30
When we disable null tracking, we need to move any existing objects that are under the null_context to be parented by the true NULL context. We also need a new talloc_enable_null_tracking_no_autofree() function, as the talloc testsuite cannot cope with the moving of the autofree context under the null_context as it wants to check exact counts of objects under the null_context, and smbtorture has a large number of objects in the autofree_context from .init functions
2009-09-17talloc: don't crash if f is NULL in talloc_report_*Andrew Tridgell1-2/+4
It's annoying when you use p talloc_report_full(ctx, fopen("/tmp/xx","w")) in gdb, and if you don't have write permission on the file then you get a segv.
2009-09-15talloc: when we enable NULL tracking, reparent the autofree contextAndrew Tridgell1-0/+3
If NULL tracking is enabled after the autofree context is initialised then autofree ends up separate from the null_context. This means that talloc_report_full() doesn't report the autofree context. Fix this by reparenting the autofree context when we create the null_context.
2009-09-11talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam1-1/+1
Michael
2009-09-11talloc:mksigs: normalize bool -> _BoolMichael Adam1-0/+3
Michael
2009-09-11talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam1-0/+1
parentheses Michael
2009-09-11talloc:mksigs: correctly ignode multiline function typedefsMichael Adam1-5/+5
by first concatenating multilint parentheses and removing typefes afterwards. Michael
2009-09-11talloc:mksigs: ignore struct forward declarations.Michael Adam1-0/+1
Michael
2009-09-11talloc:mksyms: allow characters after closing functions parenthesis.Michael Adam1-2/+2
Michael
2009-09-11talloc:mksyms: allow double pointer return value of functions.Michael Adam1-1/+1
Michael
2009-09-04report the location of the original talloc_free on double freeAndrew Tridgell1-11/+18
When we get a double free abort from talloc it is often hard to work out where the first free came from. This patch takes advantage of the fact that _talloc_free() now takes a location the free was called from to allow the double free abort code to print the location of the first free that conflicts.
2009-08-30One would expect I could spell my name.Michael Adam1-1/+1
2009-08-30talloc: move the original abi_checks script to script/abi_checks_gcc.shMichael Adam1-0/+0
Michael
2009-08-30talloc: remove talloc_free from the exportsMichael Adam1-1/+0
Michael
2009-08-30talloc: run abi_checks as part of "make test"Michael Adam1-0/+2
Michael
2009-08-30talloc: remove files generated by "make abi_check" in "make clean"Michael Adam1-0/+2
Michael
2009-08-30talloc: add a target "abi_checks" to talloc.Michael Adam1-0/+4
Simply run "make abi_checks" to call the abi check script appropriately. Michael
2009-08-30talloc: add script/abi_checks.sh. check for abi changes without gcc magic.Michael Adam1-0/+91
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...] This creates symbol signature lists using the mksyms and mksigs scripts and compares them with the checked in lists. Michael
2009-08-30talloc: add script to extract signatures from header files.Michael Adam1-0/+178
This produces output like the output gcc produces when invoked with the -aux-info switch. Run like this: cat talloc.h | ./script/mksigs.pl This simple parser is probably too coarse to handle all possible header files, but it does treat talloc.h correctly. Michael
2009-08-30talloc: add scripts to extract library symbols (exports file) from headersMichael Adam2-0/+121
Michael
2009-08-24note the semantic change in talloc_free from 2.0Andrew Tridgell2-8/+9
2009-08-24fixed typo in talloc doc XMLAndrew Tridgell1-1/+2
2009-08-24updated XML source for talloc man pageAndrew Tridgell1-1/+73
2009-08-24added talloc_set_log_* documentationAndrew Tridgell1-0/+11
2009-08-24updated talloc guide for recent API changesAndrew Tridgell1-2/+54
2009-08-24talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.xStefan Metzmacher5-0/+89
metze