Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-12 | socket-wrapped: added wrappers for dup() and dup2() | Andrew Tridgell | 2 | -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> | |||||
2011-08-12 | tevent: don't force the nesting flag to false in the destructor | Andrew Tridgell | 1 | -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-11 | tevent: fix documentation for tevent_context_init_byname() | Sumit Bose | 1 | -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-11 | tevent: Set FD_CLOEXEC on epoll handle | Sumit Bose | 4 | -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-10 | Adapt tally_histogram to Samba coding conventions | Volker Lendecke | 1 | -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-10 | Adapt get_max_bucket to Samba coding conventions | Volker Lendecke | 1 | -2/+4 | |
2011-08-10 | Adapt tally_approx_median to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt bucket_range to Samba coding conventions | Volker Lendecke | 1 | -2/+3 | |
2011-08-10 | Adapt tally_mean to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt divls64 to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Avoid some // style comments in divls64 | Volker Lendecke | 1 | -9/+10 | |
2011-08-10 | Adapt divlu64 to Samba coding conventions | Volker Lendecke | 1 | -2/+5 | |
2011-08-10 | Avoid some // style comments in divlu64 | Volker Lendecke | 1 | -26/+26 | |
2011-08-10 | Adapt fls64 to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt tally_num to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt tally_add to Samba coding conventions | Volker Lendecke | 1 | -3/+5 | |
2011-08-10 | Adapt renormalize to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt shift_overflows to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt bucket_min to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt bucket_of to Samba coding conventions | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | Adapt tally_new to Samba coding conventions | Volker Lendecke | 1 | -2/+5 | |
2011-08-10 | Slightly simplify tally_new | Volker Lendecke | 1 | -7/+9 | |
2011-08-10 | Fix a c++ warning | Volker Lendecke | 1 | -1/+1 | |
2011-08-10 | Fix a c++ warning | Volker Lendecke | 1 | -1/+2 | |
2011-08-10 | tevent: cleanup nesting counter when doing a full reinit. | Simo Sorce | 1 | -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-10 | lib-util: Make create_unlink_tmp argument optional | Simo Sorce | 1 | -1/+6 | |
Use tmpdir() if no dir is provided. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | lib-util: Make useful function a common utility. | Simo Sorce | 2 | -0/+37 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not defined | Simo Sorce | 1 | -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-10 | pytalloc: Regenerate ABI file. | Jelmer Vernooij | 1 | -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-10 | pytalloc: Use consistent prefix for functions, add ABI file. | Jelmer Vernooij | 5 | -51/+57 | |
2011-08-10 | tsocket: make use of tevent_queue_add_optimize_empty() to optimize for the ↵ | Stefan Metzmacher | 1 | -37/+48 | |
empty queue case metze | |||||
2011-08-09 | tevent: change the version to 0.9.14 after the tevent_queue changes | Stefan Metzmacher | 2 | -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-09 | tevent: fix some comments in tevent.h | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-08-09 | tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty() | Stefan Metzmacher | 2 | -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-09 | tevent: splitout tevent_queue_add_internal() from tevent_queue_add() | Stefan Metzmacher | 1 | -8/+26 | |
metze | |||||
2011-08-09 | tevent: allow tevent_queue_add() to take a NULL trigger function | Stefan Metzmacher | 2 | -1/+10 | |
This way the caller can add a blocker to the queue. metze | |||||
2011-08-09 | tevent: add tevent_queue_running() function | Stefan Metzmacher | 2 | -0/+16 | |
metze | |||||
2011-08-09 | ldb: fix the canonicalisation of booleans | Andrew Tridgell | 1 | -3/+3 | |
we were canonicalising "FALSE" to "FALS" Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-09 | talloc: prepare for 2.0.6 release | Andrew Tridgell | 2 | -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-09 | talloc: ensure the sibling linked list remains valid during a free | Andrew Tridgell | 1 | -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-08 | pyldb: fix uninitialized memory bug in PyArg_ParseTuple() argument | Stefan Metzmacher | 1 | -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-08 | build: provide tevent-util as a public library | Andrew Bartlett | 3 | -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-07 | pyldb: Generate ABI file. | Jelmer Vernooij | 2 | -2/+6 | |
2011-08-07 | pyldb: Consistently use pyldb_ prefix. | Jelmer Vernooij | 4 | -131/+135 | |
2011-08-04 | s4-ldb: two DNs only match if they have the same deletion status | Andrew Tridgell | 1 | -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-04 | talloc: check block count aftter references test | Andrew Tridgell | 1 | -0/+1 | |
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-04 | ldb: rule_id in ldb_parse_tree should be const | Andrew Tridgell | 1 | -1/+1 | |
this allows assignment to a constant string without allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-04 | ldb: added a new always-fail ldap extended match OID | Andrew Tridgell | 2 | -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-04 | ldb: changed DN matching rules to obey GUID/SID/string ordering | Andrew Tridgell | 1 | -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-04 | ldb: added signatures for 1.1.2 | Andrew Tridgell | 1 | -0/+256 | |