Andrew Tridgell [Fri, 15 Feb 2008 03:27:06 +0000 (14:27 +1100)]
added blackbox testing for locktest
(This used to be commit
af6484f78d273407dd9b264bc4adb33497eee48b)
Andrew Tridgell [Fri, 15 Feb 2008 03:11:11 +0000 (14:11 +1100)]
add some info on running tests
(This used to be commit
b6ba0afc1424a1d202626aabf1cd0f28246319a6)
Andrew Tridgell [Fri, 15 Feb 2008 02:30:55 +0000 (13:30 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
9c12b5b49679d404ac623041f2da944019f97754)
Andrew Tridgell [Fri, 15 Feb 2008 02:29:32 +0000 (13:29 +1100)]
fixed loadparm handling in standalone tests
(This used to be commit
2633f4259ed30ab990017c4c3205f92bf38f0135)
Michael Adam [Thu, 14 Feb 2008 22:10:00 +0000 (23:10 +0100)]
Fix path to talloc guide. Noted by "teferi" on irc.
Michael
(This used to be commit
bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d)
Kai Blin [Wed, 13 Feb 2008 22:35:43 +0000 (23:35 +0100)]
util_ldb: Add a missing \n to debug string, fix trailing whitespaces.
(This used to be commit
b0991cc09b36171c18d2407c9f3153b6f7e8299b)
Kai Blin [Sun, 10 Feb 2008 12:01:20 +0000 (13:01 +0100)]
loadparm: Clean up trailing whitespace
No code change. Couldn't resist.
(This used to be commit
abc816b3884838441ab379c9e31e16937caa4734)
Jelmer Vernooij [Thu, 14 Feb 2008 11:15:28 +0000 (12:15 +0100)]
Don't create symlinks pointing at themselves.
(This used to be commit
96736eb556bfd7ab5b04ec40beefe23e475a438d)
Jelmer Vernooij [Thu, 14 Feb 2008 11:03:34 +0000 (12:03 +0100)]
Remove type before variables in data.mk
(This used to be commit
3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)
Jelmer Vernooij [Thu, 14 Feb 2008 11:03:11 +0000 (12:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit
50697762fd28e2fc77142c5fea528b12d4cc0ebc)
Andrew Tridgell [Thu, 14 Feb 2008 06:11:36 +0000 (17:11 +1100)]
updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
new docs
(This used to be commit
3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
Andrew Tridgell [Thu, 14 Feb 2008 03:54:21 +0000 (14:54 +1100)]
A better way to handle the different format of RenameInformation in SMB2
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2
and set that level when handling SMB2 packets. This makes the parsers clearer.
(This used to be commit
f6cdf3f1177f63d80be757f007eb15380839b4f5)
Andrew Tridgell [Thu, 14 Feb 2008 02:37:37 +0000 (13:37 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
309cf408e01c36e2a12ed2d1462f2bbe407d4597)
Andrew Tridgell [Thu, 14 Feb 2008 01:50:11 +0000 (12:50 +1100)]
we need to refuse a root_fid in rename on SMB but not SMB2
(This used to be commit
9a139c35b7f1326616d26ce13bbdc7d6b22cd9b5)
Andrew Tridgell [Thu, 14 Feb 2008 01:30:31 +0000 (12:30 +1100)]
Fixed SMB2 rename operations from Vista clients
We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does
Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
(This used to be commit
52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
Andrew Tridgell [Wed, 13 Feb 2008 23:12:33 +0000 (10:12 +1100)]
Convert SMB and SMB2 code to use a common buffer handling structure
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.
Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)
There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
(This used to be commit
ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
Jelmer Vernooij [Wed, 13 Feb 2008 20:39:25 +0000 (21:39 +0100)]
Remove some make variables that aren't necessary.
(This used to be commit
8d41cb23dea4fccfc2b3fc8a816cda54af6038fb)
Jelmer Vernooij [Wed, 13 Feb 2008 20:09:21 +0000 (21:09 +0100)]
Fix talloc .so installation.
(This used to be commit
ae522f907ed1b7533d0824224d692c64c7169057)
Jelmer Vernooij [Wed, 13 Feb 2008 20:05:58 +0000 (21:05 +0100)]
Fix corner case.
(This used to be commit
92dbbc479032ae3d0cf4b2b9e64291128185cf9c)
Jelmer Vernooij [Wed, 13 Feb 2008 20:03:01 +0000 (21:03 +0100)]
Use more variables in generated data.mk.
(This used to be commit
2dce9e4e0d5ba8785fdee3daba91e6c9f4a32040)
Jelmer Vernooij [Wed, 13 Feb 2008 17:59:57 +0000 (18:59 +0100)]
Put soversions and versions for libraries with a hard-coded version in the
generated .mk file.
Move CPPFLAGS to be generated entirely inside configure.ac (simplifies
makefile.pm).
(This used to be commit
a44af7c3872e900e1ea0da74ef796213030e29ac)
Jelmer Vernooij [Wed, 13 Feb 2008 16:42:10 +0000 (17:42 +0100)]
Allow tdb.mk and talloc.mk to be included at the same time.
(This used to be commit
af9e0421529104d2583c58f7723abe8612e78f53)
Jelmer Vernooij [Wed, 13 Feb 2008 16:03:49 +0000 (17:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit
b14d61a3b8055b7a8172e18e5bd69e7cab6eacdb)
Jelmer Vernooij [Wed, 13 Feb 2008 16:01:37 +0000 (17:01 +0100)]
Never build .so versions of tdb/talloc from Samba 4 itself. Rather,
use shared library versions if they are provided by the system.
This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
(This used to be commit
86f88eb7b51377344eebf0b6fabad0f5459b3f45)
Stefan Metzmacher [Wed, 13 Feb 2008 15:20:23 +0000 (16:20 +0100)]
torture/eventlog: the NTSTATUS of dcerpc_ functions is the same as r.out.result
metze
(This used to be commit
0c5539e5fedd4123f61d50ee29acdc5a5f0faf76)
Jelmer Vernooij [Wed, 13 Feb 2008 15:24:25 +0000 (16:24 +0100)]
Ignore pidl Makefile, which is autogenerated.
(This used to be commit
5572bf854d935f3fc526a38378d23791da249f0f)
Stefan Metzmacher [Wed, 13 Feb 2008 13:52:53 +0000 (14:52 +0100)]
torture/eventlog: fix crash bugs!
This bug was introduced in
92b8bde561277a6b83048ce003cc29ff1b380255
and this shows that we need to be very, very careful in changing
idl elements from scalars to [ref] pointers!
metze
(This used to be commit
3ec4bce0b64764e364aedea2800eed296805c51e)
Stefan Metzmacher [Wed, 13 Feb 2008 12:04:54 +0000 (13:04 +0100)]
pidl: $size can be 'foo / 2' so we need to add '(' and ')'
'foo / 5 * sizeof(bar)' isn't the same as
'(foo / 2) * sizeof(bar)'.
metze
(This used to be commit
a496abc4042a98835d485769e0972826da161984)
Stefan Metzmacher [Wed, 13 Feb 2008 09:41:57 +0000 (10:41 +0100)]
idl_types: remove unused lstring
metze
(This used to be commit
5100452cf3b3c3c5dcdb77a9efe27e8c506d1d43)
Stefan Metzmacher [Wed, 13 Feb 2008 09:36:49 +0000 (10:36 +0100)]
spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any more
metze
(This used to be commit
d6cdddbcf37d120cb365bc7f8188858c8776e2e0)
Stefan Metzmacher [Tue, 12 Feb 2008 13:39:52 +0000 (14:39 +0100)]
Makefile: --enable-automatic-dependencies usage
metze
(This used to be commit
36a31f31c4c01f4ebf1359650c497a1ba447e6d0)
Andrew Tridgell [Wed, 13 Feb 2008 06:36:41 +0000 (17:36 +1100)]
missed another spot in the SMB2 create conversion
(This used to be commit
df82b0aa6990b59cde20893cb690a8a260526178)
Andrew Tridgell [Wed, 13 Feb 2008 06:24:23 +0000 (17:24 +1100)]
missed a spot in the SMB2 create conversion
(This used to be commit
17357072dd175b7548122e40e4cecc6087e52561)
Andrew Tridgell [Wed, 13 Feb 2008 04:06:05 +0000 (15:06 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
b3793c6562b1a1e8711561f65594ba0676f9282d)
Andrew Tridgell [Wed, 13 Feb 2008 04:05:44 +0000 (15:05 +1100)]
updated SMB2 create operation to match WSPP.
Adding some defined for various new create options
(This used to be commit
d037dc23ced3df6bce98cbf4810fb5f1247336bd)
Jelmer Vernooij [Wed, 13 Feb 2008 01:28:41 +0000 (02:28 +0100)]
Add simple test for ETT_FIELD.
(This used to be commit
aea50426366dbe971d25d2a948db57885ce224b9)
Julien Kerihuel [Wed, 13 Feb 2008 01:24:11 +0000 (02:24 +0100)]
Support ETT_FIELD keyword.
(This used to be commit
ec8bd3991f76cf8746cf77c277c3491725711f9d)
Jelmer Vernooij [Wed, 13 Feb 2008 01:20:02 +0000 (02:20 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit
1a8f5ab78ae24607ff66b06e82aef9316f0ae54b)
Jelmer Vernooij [Wed, 13 Feb 2008 01:18:45 +0000 (02:18 +0100)]
Initial work on a test for samba.tests.samdb
(This used to be commit
8b33860954ca03be1ea45fd8d40963dbbd5b162f)
Jelmer Vernooij [Wed, 13 Feb 2008 00:22:09 +0000 (01:22 +0100)]
Add python version of newuser.py.
(This used to be commit
f70aef8e51e1a2f186fe71edaa4c81a39b837573)
Jelmer Vernooij [Wed, 13 Feb 2008 00:21:06 +0000 (01:21 +0100)]
Fix invalid symbol.
(This used to be commit
bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
Andrew Tridgell [Tue, 12 Feb 2008 23:14:04 +0000 (10:14 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
11102681bcd70b0abb2df38bcdc7fdec51e71600)
Andrew Tridgell [Tue, 12 Feb 2008 23:13:28 +0000 (10:13 +1100)]
updated SMB2 tcon as per WSPP docs
(This used to be commit
5913e3e549e71affc66c28cacb6563331fb0c790)
Michael Adam [Tue, 12 Feb 2008 21:52:58 +0000 (22:52 +0100)]
Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
Michael
(This used to be commit
38855a9f145b54d05f4a508562fc1a6595e0d895)
Jelmer Vernooij [Tue, 12 Feb 2008 21:15:06 +0000 (22:15 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit
842b4969cd08a8acc5584cfdcf1aaf8a751e4fa3)
Jelmer Vernooij [Tue, 12 Feb 2008 21:10:25 +0000 (22:10 +0100)]
Fix subunit runner exit codes.
(This used to be commit
7911308dbc1233838e44c533302f77b03ea41148)
Jelmer Vernooij [Tue, 12 Feb 2008 20:59:23 +0000 (21:59 +0100)]
Correctly increment counters in Subunit test runner.
(This used to be commit
c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
Stefan Metzmacher [Tue, 12 Feb 2008 15:16:35 +0000 (16:16 +0100)]
librpc: remove special support for fixed length strings
Fixed arrays with the charset() attribute do the same
metze
(This used to be commit
9620b86e96e8065c0ff6db0d95130ab53581d468)
Stefan Metzmacher [Tue, 12 Feb 2008 15:15:34 +0000 (16:15 +0100)]
spoolss.idl: don't use string32 anymore and use an charset() array
metze
(This used to be commit
746a715715c7af8036192ba6d74e282ceaec8c0d)
Stefan Metzmacher [Tue, 12 Feb 2008 15:14:43 +0000 (16:14 +0100)]
nbt.idl: don't use astring15 anymore and use an charset() array
metze
(This used to be commit
bb143c76fb971bc2a1d69954d37ab20a953f2b69)
Amin Azez [Tue, 29 Jan 2008 16:10:48 +0000 (16:10 +0000)]
Fix open file tracking in vfs_cifs so that oplock breaks can propagate
Oplock breaks were not propagating because the list of open files was not
being maintained.
This fixes that based on best-guess of how it should work.
It has been tested manually with windows XP client obtaining an oplock from a
windows 2003 server, which then broke the lock when smbclient read the same file.
Previously the smbclient read blocked until the oplock timed out
(This used to be commit
1a53aeff9a9e8fe83fde5a617463a5b363c45313)
Jelmer Vernooij [Tue, 12 Feb 2008 12:51:03 +0000 (13:51 +0100)]
Support using shared library during testsuite run if tdb was built with a shared lib internally.
(This used to be commit
28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
Jelmer Vernooij [Tue, 12 Feb 2008 12:34:19 +0000 (13:34 +0100)]
make sure libraries are built before attempting to install.
(This used to be commit
deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
Jelmer Vernooij [Tue, 12 Feb 2008 12:07:16 +0000 (13:07 +0100)]
Specify PICFLAG when compiling python modules.
(This used to be commit
981957165d09e82947f68475192f1ce1f0ddbdd3)
Stefan Metzmacher [Tue, 12 Feb 2008 11:16:38 +0000 (12:16 +0100)]
[PATCH] composite: make it possible to call composite_is_ok() without callback fn
metze
(This used to be commit
4e459f1fb3ab60c586df9a08cdc57db424a30b18)
Jelmer Vernooij [Tue, 12 Feb 2008 11:46:33 +0000 (12:46 +0100)]
Make sure talloc.so is build before installing.
(This used to be commit
51769f5cfc0f3a9f85ea533598a1f769e108d075)
Jelmer Vernooij [Tue, 12 Feb 2008 11:41:21 +0000 (12:41 +0100)]
Fix installation of python module for ldb and tdb.
(This used to be commit
6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
Andrew Tridgell [Tue, 12 Feb 2008 09:29:31 +0000 (20:29 +1100)]
fixed crash when 0 dialects (thanks metze!)
(This used to be commit
252bcf207b8117f325075cbb7bd05063756ac283)
Andrew Tridgell [Tue, 12 Feb 2008 06:00:35 +0000 (17:00 +1100)]
updated SMB2 header defines to match WSPP docs
(This used to be commit
d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
Andrew Tridgell [Tue, 12 Feb 2008 05:43:38 +0000 (16:43 +1100)]
converted SMB2 session setup to use WSPP protocol field names
(This used to be commit
3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
Andrew Tridgell [Tue, 12 Feb 2008 05:20:13 +0000 (16:20 +1100)]
converted the out side of SMB2 negprot handling
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server
and do basic operations
(This used to be commit
9dc284770df9393a1a619735dc7a148713936fa7)
Andrew Tridgell [Tue, 12 Feb 2008 05:18:51 +0000 (16:18 +1100)]
added some helper functions for GUID handling
(This used to be commit
7d3ffd4d2b59d7c87c0a81030f349db21c071967)
Andrew Tridgell [Tue, 12 Feb 2008 01:56:30 +0000 (12:56 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
3beaa04ef73ca21925d41745b30b6bbaadb7b939)
Andrew Tridgell [Tue, 12 Feb 2008 01:54:44 +0000 (12:54 +1100)]
fixed up the .in side of SMB2 negprot
fixed the input side of the SMB2 negprot structure and parsers according to the documentation
(This used to be commit
55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
Jelmer Vernooij [Tue, 12 Feb 2008 01:15:09 +0000 (02:15 +0100)]
tdb/ldb: Use prefix in case DESTDIR is not set.
(This used to be commit
ab19a8f62719eb0f347696a2e5f34f8847fd82cb)
Jelmer Vernooij [Tue, 12 Feb 2008 00:58:42 +0000 (01:58 +0100)]
Create the required directories when installing Python code.
(This used to be commit
8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
Jelmer Vernooij [Tue, 12 Feb 2008 00:52:07 +0000 (01:52 +0100)]
Mark the reprovision test as known failing for now.
(This used to be commit
5d4396ae232525be139a91b36f8c7177e46627ae)
Jelmer Vernooij [Tue, 12 Feb 2008 00:42:58 +0000 (01:42 +0100)]
Reintroduce samba3sam EJS test, at least until the Python test is ready.
(This used to be commit
13deb25214b2711836e243a87166b63a4a87270b)
Jelmer Vernooij [Tue, 12 Feb 2008 00:39:31 +0000 (01:39 +0100)]
Add blackbox test for provisioning code to make sure it can be run more than once in a row.
(This used to be commit
42466d960c86b692ef5e03c045ba24591c5c6f84)
Jelmer Vernooij [Tue, 12 Feb 2008 00:21:10 +0000 (01:21 +0100)]
Avoid using setup.py for intsallation.
(This used to be commit
7b93e43dad55454e9107a38e67764e08f51392d3)
Jelmer Vernooij [Mon, 11 Feb 2008 23:49:36 +0000 (00:49 +0100)]
Manually compile python files rather than use setup.py.
(This used to be commit
056843a5c2ca9e0ec59fd7e371852ecb5362ee32)
Jelmer Vernooij [Mon, 11 Feb 2008 23:35:11 +0000 (00:35 +0100)]
Manually compile python files rather than using setup.py.
(This used to be commit
94dfeb5e89a641e2af3d7426d9d25c87952198d2)
Jelmer Vernooij [Mon, 11 Feb 2008 22:51:59 +0000 (23:51 +0100)]
Fix out of tree builds.
(This used to be commit
35c8ebdca2612b52cd3eb2aafd35041d17173722)
Jelmer Vernooij [Mon, 11 Feb 2008 21:55:51 +0000 (22:55 +0100)]
Split actual content out of tdb Makefile into a separate file.
(This used to be commit
b5d4ab2cf4a73883fff867f878788d94bd8e1649)
Jelmer Vernooij [Mon, 11 Feb 2008 21:52:42 +0000 (22:52 +0100)]
Split actual content out of talloc Makefile into talloc.mk.
(This used to be commit
2b8939975267fc4774bccd2a35ea9a35129d0a2b)
Jelmer Vernooij [Mon, 11 Feb 2008 21:14:31 +0000 (22:14 +0100)]
Move some more rules to rules.mk
(This used to be commit
2ff3f72fd2559051000c34da9fcd5602514595e4)
Jelmer Vernooij [Mon, 11 Feb 2008 21:05:52 +0000 (22:05 +0100)]
Split rules.mk out of Makefile.
(This used to be commit
75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
Jelmer Vernooij [Mon, 11 Feb 2008 21:02:57 +0000 (22:02 +0100)]
Split rules out of tdb Makefile.
(This used to be commit
9f233c14540cd4b2d5f4c7fe01e2d89cb220abc8)
Jelmer Vernooij [Mon, 11 Feb 2008 20:54:13 +0000 (21:54 +0100)]
ldb: Split up the Makefile so it will be possible later on to directly include fragments in the Samba 3 or 4 makefile.
(This used to be commit
6d54e9104de577ab727ee99a76e690a2fae71636)
Jelmer Vernooij [Mon, 11 Feb 2008 18:28:59 +0000 (19:28 +0100)]
Use make variables in cflags file (now supported by cflags.pl)
(This used to be commit
d746fcde1006b4b7b33aa65bef9d2fea3ebc9162)
Jelmer Vernooij [Mon, 11 Feb 2008 18:10:21 +0000 (19:10 +0100)]
Support including files in the cflags.pl script.
(This used to be commit
742e50aeb54d779d383cbf73132224bad3b09777)
Jelmer Vernooij [Mon, 11 Feb 2008 17:26:28 +0000 (18:26 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:
source/Makefile
source/rules.mk
(This used to be commit
fc9b9853124c8d172172f88e1e4939db5970df25)
Jelmer Vernooij [Mon, 11 Feb 2008 17:07:22 +0000 (18:07 +0100)]
TORTUREDIR as target dir for binaries is no longer used, remove it.
(This used to be commit
df5b712001c16acf275d9a79fd765cf8976508d6)
Jelmer Vernooij [Mon, 11 Feb 2008 14:57:52 +0000 (15:57 +0100)]
Clean up data.mk file in distclean.
(This used to be commit
0d44e7a15a9f7e238c0702a0135beae2183455a8)
Jelmer Vernooij [Mon, 11 Feb 2008 14:52:34 +0000 (15:52 +0100)]
Print warning when config.status doesn't exist and the user tries to
run make.
(This used to be commit
8776a0d2badca9ebf39e27ba5e845d0f76f0834e)
Jelmer Vernooij [Mon, 11 Feb 2008 13:53:28 +0000 (14:53 +0100)]
Remove unused function.
(This used to be commit
e779cf4724610b5d737102d1f55d1367744b188a)
Jelmer Vernooij [Mon, 11 Feb 2008 13:48:39 +0000 (14:48 +0100)]
Move pidl bits to a separate file.
(This used to be commit
de7af6913487b51e44463bf1908e765477d28e5d)
Jelmer Vernooij [Mon, 11 Feb 2008 11:39:47 +0000 (12:39 +0100)]
Jelmer Vernooij [Mon, 11 Feb 2008 00:42:29 +0000 (01:42 +0100)]
Avoid autogenerating the Makefile but rather include a data.mk file
that is autogenerated.
(This used to be commit
ebf6e59dfef30e1f679ea6692385a09abcb220dd)
Michael Adam [Mon, 11 Feb 2008 11:50:03 +0000 (12:50 +0100)]
Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Not sure if we can produce one from the other, so I manually made
them equal for now.
Michael
(This used to be commit
1c14c457bea75fb3055712547cca501e8ef3fc20)
Volker Lendecke [Thu, 10 Jan 2008 10:35:40 +0000 (11:35 +0100)]
Fix a c++ warning
(This used to be commit
9f402c607f44663cab91cc7d2139f62b84c99cc0)
Volker Lendecke [Thu, 10 Jan 2008 10:35:17 +0000 (11:35 +0100)]
talloc_free_children can only reset pool if it's empty
(This used to be commit
5cc7a638e93e5f3540755b441a99d4fd3c9c7134)
Volker Lendecke [Thu, 10 Jan 2008 10:34:07 +0000 (11:34 +0100)]
Mark talloc_pool memory for valgrind
(This used to be commit
6deca23b6c66616fbf5ba004e9b778aa68790df6)
Volker Lendecke [Sat, 5 Jan 2008 17:26:54 +0000 (18:26 +0100)]
Implement talloc_pool()
A talloc pool is a chunk of memory that can be used as a context for further
talloc calls. Allocations with the pool as the parent just chew from that
memory by incrementing a pointer. If the talloc pool is full, then we fall back
to the normal system-level malloc(3) to get memory.
The use case for talloc pools is the transient memory that is used for handling
a single SMB request. Incrementing a pointer will be way faster than any malloc
implementation.
There is a downside of this: If you use talloc_steal() to move something out of
the pool, the whole pool memory is kept around until the last object inside the
pool is freed. So if you talloc_free() the pool, it might happen that the
memory is freed later. So don't hang anything off a talloc pool that should
live long.
Volker
(This used to be commit
60ef9a84f0bd18d48e453c08aa420d17275e0881)
Michael Adam [Wed, 9 Jan 2008 00:35:43 +0000 (01:35 +0100)]
Add a comment.
Michael
(This used to be commit
2a2c28584cdb65fcea8563eb3bf21fea497fdff3)
Michael Adam [Wed, 9 Jan 2008 00:34:21 +0000 (01:34 +0100)]
Fix talloctort: move size check after referenced ptr check.
Michael
(This used to be commit
a0caedb94f6f7c62ae706e35a4c0b2876f74978d)
Volker Lendecke [Tue, 8 Jan 2008 21:42:27 +0000 (22:42 +0100)]
Don't shrink a talloc area if we have less than 1k to gain
(This used to be commit
0c829e6ee6f43299cc5889c2af3d0402256da0d0)
Jelmer Vernooij [Mon, 11 Feb 2008 13:39:21 +0000 (14:39 +0100)]
Make data about what subsystems/libraries are enabled available in the mkconfig.mk file.
(This used to be commit
4cc93a98f984d322e41f403169cfa4945b469935)
Michael Adam [Mon, 11 Feb 2008 13:27:10 +0000 (14:27 +0100)]
Fix the build: remove reference to inexistent header samba3_proto.h
Michael
(This used to be commit
3b9b396292077b2d3ff1fb1712462b767cc2bf81)
Jelmer Vernooij [Mon, 11 Feb 2008 12:58:04 +0000 (13:58 +0100)]
Fix accidently introduced typo.
(This used to be commit
6c7aa271b1cb0f5604be54f1aa26e1e3531c8f36)