summaryrefslogtreecommitdiffstats
path: root/lib/talloc
Commit message (Collapse)AuthorAgeFilesLines
* talloc: create symbol links to shared libraries see ↵Brian Lu2010-01-071-0/+5
| | | | | | | https://bugzilla.samba.org/show_bug.cgi?id=6991 for details Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit eff6022d51f578dfc48f1d66dd8ec1e860dfd7b3)
* Fix release script to work with recent git versionsSimo Sorce2009-12-201-1/+1
| | | | | | (cherry picked from commit 7f956869ff7a8e481afb9db0c52a0d74d809867a) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* talloc: Fix exports and increment talloc versionSimo Sorce2009-12-203-37/+40
| | | | | | (cherry picked from commit 6618a062a19660a718074f6e6155339451b7a5b6) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* talloc: Make abi checks in release scriptSimo Sorce2009-12-201-0/+10
| | | | | | | | Make always sure the exports and signature files are up to date before shipping a release. (cherry picked from commit 8fb483b2964f1222c013df42ba8be544269da612) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* talloc: Move release script under /script tooSimo Sorce2009-12-201-0/+0
| | | | | | (cherry picked from commit 8e6df560b74d7e9b94dd47625de56bc1dc0bc6d7) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* talloc: Change the way mksysms workSimo Sorce2009-12-203-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 (cherry picked from commit 2d6d6bcb5de87ce0dbce13ff6bc775b953438b75) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* talloc: Fix write behind memory blockKamen Mazdrashki2009-12-151-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> (cherry picked from commit 8efabcc8a5dcd83deed8ef8e17826a1d347e6d83)
* pidl: Avoid using talloc_free as function pointer, since it may be aJelmer Vernooij2009-09-282-0/+12
| | | | macro.
* talloc: fixed talloc_disable_null_tracking()Andrew Tridgell2009-09-203-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
* talloc: don't crash if f is NULL in talloc_report_*Andrew Tridgell2009-09-171-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.
* talloc: when we enable NULL tracking, reparent the autofree contextAndrew Tridgell2009-09-151-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.
* talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam2009-09-111-1/+1
| | | | Michael
* talloc:mksigs: normalize bool -> _BoolMichael Adam2009-09-111-0/+3
| | | | Michael
* talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam2009-09-111-0/+1
| | | | | | parentheses Michael
* talloc:mksigs: correctly ignode multiline function typedefsMichael Adam2009-09-111-5/+5
| | | | | | by first concatenating multilint parentheses and removing typefes afterwards. Michael
* talloc:mksigs: ignore struct forward declarations.Michael Adam2009-09-111-0/+1
| | | | Michael
* talloc:mksyms: allow characters after closing functions parenthesis.Michael Adam2009-09-111-2/+2
| | | | Michael
* talloc:mksyms: allow double pointer return value of functions.Michael Adam2009-09-111-1/+1
| | | | Michael
* report the location of the original talloc_free on double freetalloc-2.0.0Andrew Tridgell2009-09-041-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.
* One would expect I could spell my name.Michael Adam2009-08-301-1/+1
|
* talloc: move the original abi_checks script to script/abi_checks_gcc.shMichael Adam2009-08-301-0/+0
| | | | Michael
* talloc: remove talloc_free from the exportsMichael Adam2009-08-301-1/+0
| | | | Michael
* talloc: run abi_checks as part of "make test"Michael Adam2009-08-301-0/+2
| | | | Michael
* talloc: remove files generated by "make abi_check" in "make clean"Michael Adam2009-08-301-0/+2
| | | | Michael
* talloc: add a target "abi_checks" to talloc.Michael Adam2009-08-301-0/+4
| | | | | | Simply run "make abi_checks" to call the abi check script appropriately. Michael
* talloc: add script/abi_checks.sh. check for abi changes without gcc magic.Michael Adam2009-08-301-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
* talloc: add script to extract signatures from header files.Michael Adam2009-08-301-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
* talloc: add scripts to extract library symbols (exports file) from headersMichael Adam2009-08-302-0/+121
| | | | Michael
* note the semantic change in talloc_free from 2.0Andrew Tridgell2009-08-242-8/+9
|
* fixed typo in talloc doc XMLAndrew Tridgell2009-08-241-1/+2
|
* updated XML source for talloc man pageAndrew Tridgell2009-08-241-1/+73
|
* added talloc_set_log_* documentationAndrew Tridgell2009-08-241-0/+11
|
* updated talloc guide for recent API changesAndrew Tridgell2009-08-241-2/+54
|
* talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.xStefan Metzmacher2009-08-245-0/+89
| | | | metze
* talloc: update talloc.exports and talloc.signaturesStefan Metzmacher2009-08-242-4/+8
| | | | metze
* talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSIONStefan Metzmacher2009-08-246-11/+72
| | | | | | | | | | We also use the major and minor versions in the TALLOC_MAGIC, so that we can detect if two conflicting versions of talloc are loaded in one process. In this case we use talloc_log() to output a very useful debug message before we call talloc_abort(). metze
* talloc: change version to 2.0.0Stefan Metzmacher2009-08-241-1/+1
| | | | metze
* talloc: remove ABI compat functionsStefan Metzmacher2009-08-242-31/+0
| | | | metze
* talloc: remove unused build dependecies to sambaStefan Metzmacher2009-08-241-18/+0
| | | | metze
* talloc/testsuite: use talloc_set_log_fn() and log to stdoutStefan Metzmacher2009-08-241-0/+6
| | | | metze
* talloc: add talloc_set_log_fn() and talloc_set_log_stderr()Stefan Metzmacher2009-08-242-12/+51
| | | | | | | So that the application can setup a log function to get ERROR and WARNING messages. metze
* talloc: let talloc_steal() only generate a warning if it's used with referencesStefan Metzmacher2009-08-241-2/+1
| | | | | | We have to many callers, which rely on that talloc_steal() never fails. metze
* talloc/testsuite: report __location__ of testsuite failuresStefan Metzmacher2009-08-241-6/+6
| | | | metze
* talloc/testsuite: add infrastructure to test abortsStefan Metzmacher2009-08-241-0/+20
| | | | metze
* talloc/testsuite: reset the globals after each subtestStefan Metzmacher2009-08-241-3/+29
| | | | metze
* talloc: call return after abort, because an overloaded abort function might ↵Stefan Metzmacher2009-08-241-0/+4
| | | | | | | | | not exit This will be useful in the testsuite, where we could check if an abort would happen. metze
* talloc: report the size of reference handles as 0Stefan Metzmacher2009-08-241-1/+3
| | | | metze
* talloc: let talloc_total_blocks() and talloc_get_size() operate on the ↵Stefan Metzmacher2009-08-241-2/+15
| | | | | | null_context metze
* DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.Jelmer Vernooij2009-07-302-7/+8
| | | | | Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe.
* Fix some warningsVolker Lendecke2009-07-041-2/+3
|