summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-08-12tevent: don't force the nesting flag to false in the destructorAndrew Tridgell1-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
2011-08-11tevent: fix documentation for tevent_context_init_byname()Sumit Bose1-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
2011-08-11tevent: Set FD_CLOEXEC on epoll handleSumit Bose4-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>
2011-08-10Adapt tally_histogram to Samba coding conventionsVolker Lendecke1-10/+16
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 10 21:12:59 CEST 2011 on sn-devel-104
2011-08-10Adapt get_max_bucket to Samba coding conventionsVolker Lendecke1-2/+4
2011-08-10Adapt tally_approx_median to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt bucket_range to Samba coding conventionsVolker Lendecke1-2/+3
2011-08-10Adapt tally_mean to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt divls64 to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Avoid some // style comments in divls64Volker Lendecke1-9/+10
2011-08-10Adapt divlu64 to Samba coding conventionsVolker Lendecke1-2/+5
2011-08-10Avoid some // style comments in divlu64Volker Lendecke1-26/+26
2011-08-10Adapt fls64 to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt tally_num to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt tally_add to Samba coding conventionsVolker Lendecke1-3/+5
2011-08-10Adapt renormalize to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt shift_overflows to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt bucket_min to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt bucket_of to Samba coding conventionsVolker Lendecke1-1/+2
2011-08-10Adapt tally_new to Samba coding conventionsVolker Lendecke1-2/+5
2011-08-10Slightly simplify tally_newVolker Lendecke1-7/+9
2011-08-10Fix a c++ warningVolker Lendecke1-1/+1
2011-08-10Fix a c++ warningVolker Lendecke1-1/+2
2011-08-10tevent: cleanup nesting counter when doing a full reinit.Simo Sorce1-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>
2011-08-10lib-util: Make create_unlink_tmp argument optionalSimo Sorce1-1/+6
Use tmpdir() if no dir is provided. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-08-10lib-util: Make useful function a common utility.Simo Sorce2-0/+37
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-08-10libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not definedSimo Sorce1-5/+11
This flag prevents startup w/o ip addresses assigned to any interface. If AI_NUMERIC is passed it should be safe to avoid it. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-08-10pytalloc: Regenerate ABI file.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Aug 10 16:51:11 CEST 2011 on sn-devel-104
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij5-51/+57
2011-08-10tsocket: make use of tevent_queue_add_optimize_empty() to optimize for the ↵Stefan Metzmacher1-37/+48
empty queue case metze
2011-08-09tevent: change the version to 0.9.14 after the tevent_queue changesStefan Metzmacher2-1/+79
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 23:02:17 CEST 2011 on sn-devel-104
2011-08-09tevent: fix some comments in tevent.hStefan Metzmacher1-2/+2
metze
2011-08-09tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()Stefan Metzmacher2-2/+131
This adds more flexible handling for the add operation: - It allows the caller to remove a tevent_req from the queue by calling talloc_free() on the returned tevent_queue_entry. - It allows the caller to optimize for the empty queue case, where it the caller wants to avoid the delay caused by the immediate event. metze
2011-08-09tevent: splitout tevent_queue_add_internal() from tevent_queue_add()Stefan Metzmacher1-8/+26
metze
2011-08-09tevent: allow tevent_queue_add() to take a NULL trigger functionStefan Metzmacher2-1/+10
This way the caller can add a blocker to the queue. metze
2011-08-09tevent: add tevent_queue_running() functionStefan Metzmacher2-0/+16
metze
2011-08-09ldb: fix the canonicalisation of booleansAndrew Tridgell1-3/+3
we were canonicalising "FALSE" to "FALS" Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-09talloc: prepare for 2.0.6 releaseAndrew Tridgell2-1/+63
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Aug 9 04:03:49 CEST 2011 on sn-devel-104
2011-08-09talloc: ensure the sibling linked list remains valid during a freeAndrew Tridgell1-15/+3
This ensures that the sibling list of a pointer doesn't become invalid during a free operation. It is an alternative fix to the fix in 6f51a1f45bf4de062cce7a562477e8140630a53d, and avoids the problem of trying to calculate the parent pointer early This should fix the subtle spoolss talloc bug that Simo found Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Aug 9 01:53:17 CEST 2011 on sn-devel-104
2011-08-08pyldb: fix uninitialized memory bug in PyArg_ParseTuple() argumentStefan Metzmacher1-1/+1
"s#", &str, &len) required 'len' as 'int' not as 'Py_ssize_t'. With Py_ssize_t the 2nd half of a 64bit Py_ssize_t, will be uninitialized as 'int' is only 32bit. metze
2011-08-08build: provide tevent-util as a public libraryAndrew Bartlett3-3/+4
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
2011-08-07pyldb: Generate ABI file.Jelmer Vernooij2-2/+6
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij4-131/+135
2011-08-04s4-ldb: two DNs only match if they have the same deletion statusAndrew Tridgell1-0/+13
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Aug 4 09:34:08 CEST 2011 on sn-devel-104
2011-08-04talloc: check block count aftter references testAndrew Tridgell1-0/+1
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-08-04ldb: rule_id in ldb_parse_tree should be constAndrew Tridgell1-1/+1
this allows assignment to a constant string without allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-04ldb: added a new always-fail ldap extended match OIDAndrew Tridgell2-1/+14
this is used when rewriting filter rules to replace a filter rule with one that is guaranteed not to match Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-04ldb: changed DN matching rules to obey GUID/SID/string orderingAndrew Tridgell1-0/+54
when matching two DNs, the GUID takes priority, then the SID, then the string component Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-08-04ldb: added signatures for 1.1.2Andrew Tridgell1-0/+256
2011-08-04ldb: raise minor versionAndrew Tridgell1-1/+1
needed for new module function ldb_dn_replace_components() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>