summaryrefslogtreecommitdiff
path: root/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2011-01-05talloc: fixed a use after free errorAndrew Tridgell1-1/+16
this is the minimal fix for the problem Rusty found. I previously thought that the best fix would be to change tc->parent to be valid for all pointers, but that is expensive for realloc with large numbers of child pointers, which is much more commmon than I expected it to be. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jan 5 07:22:27 CET 2011 on sn-devel-104
2011-01-05talloc: added a test for the use after free Rusty foundAndrew Tridgell1-0/+17
2011-01-05talloc: Clarify error message on access after free.Jelmer Vernooij1-4/+4
2011-01-04talloc: Typo fix for api docsBrad Hards1-1/+1
2011-01-03talloc: Fix warnings in test codeBrad Hards3-3/+12
This should not change any behaviour - the intent is just to reduce the "nuisance" warnings. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 11:12:39 CET 2011 on sn-devel-104
2011-01-03Revert broken destructor changes.Jelmer Vernooij1-1/+1
2011-01-03s4-python: Properly call PyObject_Del from all destructors.Jelmer Vernooij1-1/+1
2011-01-01s4-python: Only set BASETYPE flag if subclassing is supported.Jelmer Vernooij1-3/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01s4-python: Add more prototypes.Jelmer Vernooij1-0/+2
2011-01-01s4-python: Properly call PyObject_Del from all destructors.Jelmer Vernooij1-1/+1
2011-01-01talloc/tdb/tevent: Remove obsolete signatures files.Jelmer Vernooij1-62/+0
2010-12-24talloc: remove autotools support.Jelmer Vernooij11-3763/+0
2010-12-21talloc: Remove reference to nonexistant configure.developer in autogen.sh.Jelmer Vernooij2-12/+11
2010-12-11talloc: Add ability to generate Python docs using pydoctor.Jelmer Vernooij2-0/+10
2010-12-10build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou1-1/+1
This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself.
2010-12-09talloc: pytalloc-util should not have an ABI-file yetStefan Metzmacher1-2/+0
Somehow I forgot to remove this after discussion with Jelmer. metze
2010-12-09waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell1-4/+2
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell1-2/+2
This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-08talloc: build pytalloc-util with the same logic as libtallocStefan Metzmacher1-1/+4
metze
2010-12-08talloc: mark pytalloc-util functions as _PUBLIC_Stefan Metzmacher1-6/+6
metze
2010-12-08talloc: remove unused PyString_FromString_check_null() from pytalloc-utilStefan Metzmacher1-8/+0
metze
2010-12-08s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2-2/+2
this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
2010-12-05pytalloc: Add docstring for talloc.Object.Jelmer Vernooij1-1/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 5 18:12:59 CET 2010 on sn-devel-104
2010-12-03talloc: add ABI/talloc-2.0.4.sigsStefan Metzmacher2-1/+63
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 3 11:35:45 CET 2010 on sn-devel-104
2010-12-03talloc: Bump version number after pytalloc changes.Jelmer Vernooij1-1/+1
2010-12-01pytalloc: Make py_talloc_default_cmp private.Jelmer Vernooij3-14/+15
2010-12-01pytalloc: Make py_talloc_dealloc private.Jelmer Vernooij3-14/+11
2010-12-01pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object).Jelmer Vernooij3-15/+12
2010-12-01pytalloc: Expose PyTalloc_GetObjectTypeJelmer Vernooij2-2/+3
2010-12-01pytalloc: Add convenience function for checking if something is a tallocJelmer Vernooij2-0/+29
object.
2010-11-30talloc: Add talloc object.Jelmer Vernooij1-0/+15
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 23:26:56 CET 2010 on sn-devel-104
2010-11-19talloc: added TALLOC_FREE_FILL environment variableAndrew Tridgell1-0/+30
when this environment variable is set, talloc will fill freed memory with the value from that environment variable. This can be used to help find use after free bugs when valgrind is too slow to be used
2010-11-07pytalloc: Make some arguments optional.Jelmer Vernooij1-6/+6
2010-11-05talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2-1/+90
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-11-05talloc: rename pytalloc.c to pytalloc_util.cJelmer Vernooij2-1/+1
2010-11-03build: a more portable way of finding waf in makefilesAndrew Tridgell1-3/+1
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
2010-11-03waf: added reconfigure targets to our librariesAndrew Tridgell1-0/+5
This allows you to do "make reconfigure" to re-run configure only if needed
2010-11-01talloc: Install pytalloc.h.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 17:25:07 UTC 2010 on sn-devel-104
2010-10-31replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij1-6/+0
as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
2010-10-31talloc: Look harder for waf.Jelmer Vernooij1-1/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
2010-10-31replace: Build using waf by default.Jelmer Vernooij1-1/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
2010-10-31talloc: Switch over to using waf as the default build system for the ↵Jelmer Vernooij5-15/+107
standalone build.
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-7/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30talloc.3: Remove documentation for deprecated talloc_append_string,Jelmer Vernooij1-11/+0
consistent with other deprecated functionality.
2010-10-30talloc: Fix manual pages in standalone build.Jelmer Vernooij1-2/+1
2010-10-27talloc: fix waf build for libtalloc-compat1Stefan Metzmacher1-4/+4
We need to use 'libtalloc.so.1' as soname, otherwise the compat library is useless. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104
2010-10-26talloc: change pytalloc-util to be a public library.Jelmer Vernooij1-1/+2
2010-10-26talloc: Install pytalloc-util as system library.Jelmer Vernooij2-3/+36
2010-10-26talloc: Avoid dependency on unknown EXT_LIB_PYTHON.Jelmer Vernooij1-1/+1
2010-10-26talloc: Move pytalloc to lib/talloc.Jelmer Vernooij1-0/+8