summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* talloc: Remove an unused variableVolker Lendecke2011-09-071-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 7 16:47:26 CEST 2011 on sn-devel-104
* lib/addns: Remove unused TALLOC_ macrosAndrew Bartlett2011-09-071-42/+0
|
* s4-ldb: allow decoding of trustAuthIncoming and trustAuthOutgoingAndrew Tridgell2011-09-052-0/+23
| | | | | | | this allows --show-binary to display trustAuthOutgoing and trustAuthIncoming NDR blobs. Useful for debugging trust issues Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix bug 8433, segfault in iconv.cVolker Lendecke2011-09-011-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Sep 1 18:25:34 CEST 2011 on sn-devel-104
* ldb: make the 'spy' code more paranoidAndrew Tridgell2011-09-012-10/+12
| | | | | | | | | | | | | | the spy code in ldb_tdb was added a while ago to overcome a memory hierarchy problem with async ldb errors. Recently we started to get valgrind errors related to the order of free in the spy code. This patch ensures that we don't try to use a freed spy pointer. This prevents the valgrind errors, although I suspect that the memory hierarchy we have here is more complex than it needs to be Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Sep 1 08:54:23 CEST 2011 on sn-devel-104
* ldb: fixed ldbsearch when no baseDN specified and cross-ncs is usedAndrew Tridgell2011-09-011-4/+24
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pyldb: added OID_COMPARATOR constantsAndrew Tridgell2011-09-011-9/+11
| | | | | | | This also changes the other constants to remove the LDB_ prefix, which is redundent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tdb2: add full LGPL headersRusty Russell2011-08-312-0/+34
| | | | | | | | | | | This is for SAMBA, so we follow their rules and do full license headers. Two files were missing them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 58025731) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Aug 31 09:52:43 CEST 2011 on sn-devel-104
* ccan: fix likely redefinition warnings with --enable-tdb2Rusty Russell2011-08-311-0/+8
| | | | | | | | | | | | | | | | | | | When we do --enable-tdb2, we start clashing with the replace.h version: In file included from ../lib/tdb2/tools/../private.h:25:0, from ../lib/tdb2/tools/tdb2torture.c:60: ../lib/ccan/likely/likely.h:32:0: warning: "likely" redefined ../lib/replace/replace.h:762:0: note: this is the location of the previous definition ../lib/ccan/likely/likely.h:53:0: warning: "unlikely" redefined ../lib/replace/replace.h:765:0: note: this is the location of the previous definition I don't like to #ifndef-protect them in general, since you don't want different parts of the code to silently have different definitions, but it's the simplest fix for now. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* dnspython: Update to latest upstream snapshot.Jelmer Vernooij2011-08-27109-858/+1197
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Aug 27 17:40:39 CEST 2011 on sn-devel-104
* subunit: Update to latest upstream snapshot.Jelmer Vernooij2011-08-2722-609/+1281
|
* testtools: Update to latest upstream snapshot.Jelmer Vernooij2011-08-2759-876/+5255
|
* s3: Fix bug 8385Volker Lendecke2011-08-251-26/+14
| | | | | | | | | | | | Poll and select behave differently regarding error handling. When doing the connect(2), we can not rely on poll telling us both readability and writability upon error. Just always try a second connect(2). At least on Linux it returns 0 when it succeeded. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Aug 25 19:39:12 CEST 2011 on sn-devel-104
* pyldb: fixed a warningAndrew Tridgell2011-08-251-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* talloc: Fix talloc-compat pc files/headers.Jelmer Vernooij2011-08-211-1/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 21 04:53:07 CEST 2011 on sn-devel-104
* wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij2011-08-214-16/+7
|
* tdb: Install pkg-config file.Jelmer Vernooij2011-08-211-1/+3
|
* wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij2011-08-211-1/+2
| | | | explicitly specified that they don't need one.
* ldb:ldb_controls.c - cosmetic indentation fixMatthias Dieter Wallnöfer2011-08-191-5/+4
|
* ldb - two cosmetic fixesMatthias Dieter Wallnöfer2011-08-192-4/+2
| | | | | @ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* tdb: increment sequence number in tdb_wipe_all().Rusty Russell2011-08-161-0/+2
| | | | | | | | | TDB2 testing revealed that tdb1 doesn't do this. It's minor, but fix it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Aug 16 10:47:41 CEST 2011 on sn-devel-104
* util: add function to extend anonymous shared memorySimo Sorce2011-08-142-0/+65
|
* replace: Check if we have mremap() availableSimo Sorce2011-08-142-0/+55
|
* ldb: Remove use after free in error caseAndrew Bartlett2011-08-131-1/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Aug 13 13:49:44 CEST 2011 on sn-devel-104
* socket-wrapped: added wrappers for dup() and dup2()Andrew Tridgell2011-08-122-2/+131
| | | | | | | | | | The Samba4 standard process model uses dup() on incoming sockets as an optimisation (it makes select() a tiny bit faster when used). Adding dup() to socket wrapper allows us to use the standard process model in selftest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tevent: don't force the nesting flag to false in the destructorAndrew Tridgell2011-08-121-3/+7
| | | | | | | | | | | the tevent destructor is called in tevent_re_initialise(), to reset the event context back to its original state for creating child processes. We need the nesting flag to stay the same Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Aug 12 05:18:25 CEST 2011 on sn-devel-104
* tevent: fix documentation for tevent_context_init_byname()Sumit Bose2011-08-111-2/+2
| | | | | | | Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Aug 11 21:56:37 CEST 2011 on sn-devel-104
* tevent: Set FD_CLOEXEC on epoll handleSumit Bose2011-08-114-2/+52
| | | | | | | | If an application using libtevent starts a new process the epoll file descriptor is leaked to the new process if the event context is not freed explicitly. By setting FD_CLOEXEC this is not needed anymore. Signed-off-by: Simo Sorce <idra@samba.org>
* Adapt tally_histogram to Samba coding conventionsVolker Lendecke2011-08-101-10/+16
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 10 21:12:59 CEST 2011 on sn-devel-104
* Adapt get_max_bucket to Samba coding conventionsVolker Lendecke2011-08-101-2/+4
|
* Adapt tally_approx_median to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt bucket_range to Samba coding conventionsVolker Lendecke2011-08-101-2/+3
|
* Adapt tally_mean to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt divls64 to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Avoid some // style comments in divls64Volker Lendecke2011-08-101-9/+10
|
* Adapt divlu64 to Samba coding conventionsVolker Lendecke2011-08-101-2/+5
|
* Avoid some // style comments in divlu64Volker Lendecke2011-08-101-26/+26
|
* Adapt fls64 to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt tally_num to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt tally_add to Samba coding conventionsVolker Lendecke2011-08-101-3/+5
|
* Adapt renormalize to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt shift_overflows to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt bucket_min to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt bucket_of to Samba coding conventionsVolker Lendecke2011-08-101-1/+2
|
* Adapt tally_new to Samba coding conventionsVolker Lendecke2011-08-101-2/+5
|
* Slightly simplify tally_newVolker Lendecke2011-08-101-7/+9
|
* Fix a c++ warningVolker Lendecke2011-08-101-1/+1
|
* Fix a c++ warningVolker Lendecke2011-08-101-1/+2
|
* tevent: cleanup nesting counter when doing a full reinit.Simo Sorce2011-08-101-0/+7
| | | | | | | We may be forking from within a loop, so we need to clean-up to avoid aborts when nesting is not allowed and we are in a new children. Signed-off-by: Andreas Schneider <asn@samba.org>