summaryrefslogtreecommitdiff
path: root/source3/lib/talloc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18027: Fix some 64-bit warningsVolker Lendecke1-1/+1
(This used to be commit 54706285f7394e458b6481d0285f67ed225ea34e)
2007-10-10r17949: change the comment, talloc_enable_null_tracking() shouldStefan Metzmacher1-1/+5
stay here. metze (This used to be commit 8eff4787428fddf83cd9d7ea07645f8640157db2)
2007-10-10r17923: turn on null_tracking with the first talloc_init() call,Stefan Metzmacher1-0/+3
(this needs to be moved to a samba3 specific place) I commit this because I habe no time to test smbcontrol .... pool-usage and don't want to break it. I'll try to find a better fix tomorrow. metze (This used to be commit ae313ab4caa5652199b9aaceb30b4d432ab4f393)
2007-10-10r17922: sync samba3's talloc with samba4's and move the samba3 specific ↵Stefan Metzmacher1-195/+161
stuff to tallocmsg.c metze (This used to be commit 7704e3e51dec1768772663024a0579cb4a271cc1)
2007-10-10r17554: CleanupVolker Lendecke1-40/+0
(This used to be commit 761cbd52f0cff6b864c506ec03c94039b6101ef9)
2007-10-10r17477: Add talloc_asprintf_len and make use of it.Volker Lendecke1-0/+40
Volker (This used to be commit c0ff2afe0683095401fa7b7654aa3b2fe950f7b3)
2007-10-10r17315: Make talloc and tdb C++-warning-free. Would this also be interesting ↵Volker Lendecke1-13/+17
in talloc and tdb "upstream"? Volker (This used to be commit 68c43191c8aa4faa9801e0ab084a216ceaf4379d)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-4/+3
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r15838: Back-port tridge's talloc fixes (r15824, r15828) from Samba4.Jeremy Allison1-3/+36
Jeremy. (This used to be commit f6c110ddb8cfaa1a57dea52818e7611134c2dcfe)
2007-10-10r15003: patch based on code from Arkady Glabek <aglabek@centeris.com> to ↵Gerald Carter1-0/+10
ensure that global memory is freed when unloading pam_winbind.so (needs more testing on non-linux platforms) (This used to be commit 1e0b79e591d70352a96e0a0487d8f394dc7b36ba)
2007-10-10r14292: Janitor for tridge (samba3 talloc is almost identicalJeremy Allison1-3/+19
to Samba4 talloc). Jeremy - make the snprintf call in talloc portable to older solaris boxes - fixed an error found sing the beam analyser (This used to be commit 1e1bae7afd9cd0051878ff1810c8ddfc28129233)
2007-10-10r14131: Fix Coverity bug # 127Volker Lendecke1-1/+3
(This used to be commit c105bfae2647752b31d8c3b59a0ee80c56f97138)
2007-10-10r11985: Move to LGPL as per tridge's Samba4 change.Jeremy Allison1-14/+18
Jeremy. (This used to be commit 3804c4ca3914788e3d3780817ef016421418e11f)
2007-10-10r11962: Bring talloc up to date with Samba4, re-add theJeremy Allison1-47/+216
talloc_describe_all() function. Fix smbcontrol <pid> pool-usage as we desparately need it working in the field to track down memory leaks. Seriously, when new functionality like the Samba4 talloc is added, don't just disable working functionality like "pool-usage", fix the damn thing first ! Jeremy. (This used to be commit 2e262a75cca4575edd00db3d24e7e35760943120)
2007-10-10r10730: Janitor for tridge on the "fix to talloc_parent() from Michael O'Brien".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2f3750d95b75b186771cab13b842c91bd7926df1)
2007-10-10r10606: pdb_*sql patches fromGerald Carter1-4/+1
Uli Meis <a.sporto@gmail.com> Peter Rindfuss <rindfuss@wz-berlin.de> (This used to be commit 8bf124adaf4d6cacc18ebca82d96eabe47088151)
2007-10-10r6849: Merge revision 6845 from Samba 4Volker Lendecke1-8/+11
(This used to be commit 44365075d22d395992b167e5a04d7083c05878cc)
2007-10-10r6743: Merge r6741 from 4_0Volker Lendecke1-1/+1
(This used to be commit fdfce3292aa84b70e220961540126ef4873aebea)
2007-10-10r6658: Sorry for the spam... I think now I've got a version that should ↵Volker Lendecke1-1/+1
compile on trunk, 3_0 and 4_0. Volker (This used to be commit 978c7250f7927a805d1ab89f97496aba9ef9e31f)
2007-10-10r6656: Samba 4 is Samba 3.9...Volker Lendecke1-1/+1
(This used to be commit 52c73deac72fd88c83ac53481e56f6a04d6def69)
2007-10-10r6654: Make talloc.c 4.0-readyVolker Lendecke1-0/+2
(This used to be commit be6949362f6be0eb5aa1ddf86061bad2a5674073)
2007-10-10r6651: It's not the smartest thing in the world to #define _SAMBA_BUILD_ in ↵Volker Lendecke1-0/+8
a file that is only included if _SAMBA_BUILD_ is defined... Let's see how far this gets us. Volker (This used to be commit 563275b35f76107e3d2a8b0b6e14394b20ecd81b)
2007-10-10r6648: do not annoy make protoSimo Sorce1-1/+2
(This used to be commit 62a662dea928545d9585d6b79879a844d8044d50)
2007-10-10r6646: keep samba3 talloc inline with samba4 oneSimo Sorce1-0/+9
(This used to be commit 4deebbbe50932792621114bf1e74b0c994bda7be)
2007-10-10r6595: This is Volkers new-talloc patch. Just got the go-ahead fromJeremy Allison1-339/+881
Volker to commit. Woo Hoo ! Jeremy. (This used to be commit 316df944a456f150944761dab34add5e8c4ab699)
2007-10-10r6014: rather large change set....Gerald Carter1-0/+13
pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-11/+73
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2004-03-27Based on the detective work of Jianliang Lu <j.lu@tiesse.com>, allow yetAndrew Bartlett1-0/+18
another NTLMv2 combination. We should allow the NTLMv2 response to be calculated with either the domain as supplied, or the domain in UPPER case (as we always did in the past). As a client, we always UPPER case it (as per the spec), but we also make sure to UPPER case the domain, when we send it. This should give us maximum compatability. Andrew Bartlett (This used to be commit 1e91cd0cf87b29899641585f46b0dcecaefd848e)
2003-10-06split some security related functions in their own files.Simo Sorce1-21/+0
(no need to include all of smbd files to use some basic sec functions) also minor compile fixes couldn't compile to test these due to some kerberos problems wirh 3.0, but on HEAD they're working well, so I suppose it's ok to commit (This used to be commit c78f2d0bd15ecd2ba643bb141cc35a3405787aa1)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+0
Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-3/+3
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-14The name pointer in the talloc context must not be a talloced entry asJeremy Allison1-2/+13
calling talloc_destroy_pool(as we do sometimes) will destroy it. Jeremy. (This used to be commit bcd22a9039b0fb3697ebc4377898cc7ecfd853cc)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-6/+25
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-03-18more verbose checking in talloc and util_pwSimo Sorce1-39/+49
fixed tdbsam memory corruption (and segfault) reducing calls to pdb_uid_to_user_rid and countrary to 0 to move to a non alghoritmic rid allocation with some passdb modules. (This used to be commit 9836af7cd623357feaec07bc49cfb78f0aa01fc3)
2002-03-14getpid() -> sys_getpid()Tim Potter1-1/+1
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
2002-03-10Fix typo.Martin Pool1-1/+1
(This used to be commit 58c1b11439ef58313895a23a2e9a0ec735903eb6)
2002-01-30Removed version number from file header.Tim Potter1-1/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-25picky about reallocJean-François Micouleau1-5/+6
J.F. (This used to be commit 873dba59cf4e1f7ebb3593d890b9de7c8cd25653)
2002-01-14FIXME We should turn the global list off when using Insure++,Martin Pool1-0/+3
otherwise all the memory will be seen as still reachable. (This used to be commit 682e7cd394c1e1cc9a83f7e8e5e3694e083946c4)
2002-01-03Cope nicely with pools with no name.Martin Pool1-1/+10
(This used to be commit 86abefc17260387b6b68c71ad5587ef0212162c0)
2002-01-03talloc accounting now includes number of chunks and bytes allocated.Martin Pool1-9/+42
(This used to be commit cd25d01e42e7874bc93f6ca336c5b2cde453bb52)
2002-01-03Add talloc_asprintf_append, which grows an existing string buffer toMartin Pool1-4/+76
contain new print-formatted information. (Also talloc_vasprintf_append.) Idea borrowed from glib. (This used to be commit 53723e874885936dd67483ebf46601fc73489d17)
2001-12-20Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool1-1/+7
It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)
2001-12-19Make TALLOC_CTX and talloc_chunk private to talloc.c.Martin Pool1-4/+74
Add a global singly-linked list of all active talloc pools, so that we can eventually show how much memory is used for different purposes. This also gives a check that pools are not being doubly freed. talloc_init_named now handle a NULL name properly (ie does nothing) Add accessor talloc_pool_name(). (This used to be commit 4c6c03c8c7c18762dd9ef1a1bd88350b8960542f)
2001-12-19DocMartin Pool1-8/+12
(This used to be commit 7da982e9268be7eb93fe7d6ad7da5b33ce44181c)
2001-12-19DocMartin Pool1-1/+7
(This used to be commit 5dc2827b6eaca8f7b833fdf9977528084e3a3ff0)
2001-12-19Put PRINTF_ATTRIBUTE on talloc_init_named, talloc_asprintf,Martin Pool1-3/+3
talloc_vasprintf. (This used to be commit e6be48671d520f952be0b6dc0848569d0d834179)
2001-12-19Doc.Martin Pool1-0/+6
(This used to be commit 5b6c22a209a26cb9adbf6d7733d396038c729633)
2001-12-19Start adding some debugging features to talloc based on Samba'sMartin Pool1-7/+38
ancient mem_man.c: Each TALLOC_CTX now has a field to store its purpose, to aid in tracking down memory bloat. A new call talloc_init_named() should be used instead of talloc_init() so that this is set. Added talloc_vasprintf to be called by varargs functions. (This used to be commit 25b97a743573b8c5e0ac886e4bfab581c11b3714)
2001-12-05fixed an off by 1 bug in talloc_asprintf()Andrew Tridgell1-1/+1
(This used to be commit 2b2155beaef17a13c0e867c3dcfe8c323e84a9a3)