Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-30 | talloc: move the original abi_checks script to script/abi_checks_gcc.sh | Michael Adam | 1 | -0/+0 | |
Michael | |||||
2009-08-30 | talloc: remove talloc_free from the exports | Michael Adam | 1 | -1/+0 | |
Michael | |||||
2009-08-30 | talloc: run abi_checks as part of "make test" | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-08-30 | talloc: remove files generated by "make abi_check" in "make clean" | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-08-30 | talloc: add a target "abi_checks" to talloc. | Michael Adam | 1 | -0/+4 | |
Simply run "make abi_checks" to call the abi check script appropriately. Michael | |||||
2009-08-30 | talloc: add script/abi_checks.sh. check for abi changes without gcc magic. | Michael Adam | 1 | -0/+91 | |
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...] This creates symbol signature lists using the mksyms and mksigs scripts and compares them with the checked in lists. Michael | |||||
2009-08-30 | talloc: add script to extract signatures from header files. | Michael Adam | 1 | -0/+178 | |
This produces output like the output gcc produces when invoked with the -aux-info switch. Run like this: cat talloc.h | ./script/mksigs.pl This simple parser is probably too coarse to handle all possible header files, but it does treat talloc.h correctly. Michael | |||||
2009-08-30 | talloc: add scripts to extract library symbols (exports file) from headers | Michael Adam | 2 | -0/+121 | |
Michael | |||||
2009-08-29 | tevent: Fix a segfault upon the first signal | Volker Lendecke | 1 | -0/+6 | |
When the first signal arrives, tevent_common_signal_handler() crashed: "ev" is initialized to NULL, so the first "write(ev->pipe_fds[1], &c, 1);" dereferences NULL. Rusty, Tridge, please check. Also, can you tell me a bit more about the environment you tested this in? I'd be curious to see where this survived. Thanks, Volker | |||||
2009-08-28 | lib/tevent: close pipe_fds on event_context destruction | Rusty Russell | 1 | -0/+2 | |
The "hack_fds" were never closed before; now they're inside event_context they should be closed when that is destroyed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2009-08-28 | lib/tevent: handle tevent_common_add_signal on different event contexts. | Rusty Russell | 2 | -14/+31 | |
I don't know if this is a problem in real life. The code assumes there's only one tevent_context; all signals will notify the first event context. That's counter-intuitive if you ever use more than one, and there's nothing else in this code which prevents it AFAICT. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2009-08-28 | lib/tevent: fix race with signals and tevent_common_add_signal | Rusty Russell | 1 | -20/+20 | |
We carefully preserve the old signal handler, but we replace it before we've set up everything; in particular, if we fail setting up the pipe_hack we could write a NUL char to stdout (fd 0), instead of calling the old signal handler. Replace the signal handler as the very last thing we do. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2009-08-28 | lib/tdb: don't overwrite TDBs with different version numbers. | Rusty Russell | 1 | -5/+7 | |
In future, this may happen, and we don't want to clobber them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2009-08-28 | lib/tevent: remove spectacularly complicated manual subtraction | Rusty Russell | 1 | -4/+1 | |
To be completely honest, I don't quite know whether to laugh or cry at this one: 1 + (0xFFFFFFFF & ~(s.seen - s.count)) == 1 + (~(s.seen - s.count)) # s.seen, s.count are uint32_t == s.count - s.seen # -A == ~A + 1 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2009-08-27 | util: fix comment and clarify argument name in DLIST_DEMOTE() | Michael Adam | 1 | -3/+3 | |
Michael | |||||
2009-08-24 | Fix make test. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2009-08-24 | tevent: avoid using reserved c++ word. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-08-24 | note the semantic change in talloc_free from 2.0 | Andrew Tridgell | 2 | -8/+9 | |
2009-08-24 | fixed typo in talloc doc XML | Andrew Tridgell | 1 | -1/+2 | |
2009-08-24 | LIBREPLACEOBJ now contains the full path | Andrew Tridgell | 1 | -4/+1 | |
2009-08-24 | updated XML source for talloc man page | Andrew Tridgell | 1 | -1/+73 | |
2009-08-24 | added talloc_set_log_* documentation | Andrew Tridgell | 1 | -0/+11 | |
2009-08-24 | updated talloc guide for recent API changes | Andrew Tridgell | 1 | -2/+54 | |
2009-08-24 | make lib/replace more usable in standalone builds | Andrew Tridgell | 1 | -2/+2 | |
This makes the lib/replace m4 work in lib/talloc as a standalone build | |||||
2009-08-24 | fixed getpass m4 | Andrew Tridgell | 1 | -2/+2 | |
This allows the getpass.m4 code to work in standalone talloc builds | |||||
2009-08-24 | talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.x | Stefan Metzmacher | 5 | -0/+89 | |
metze | |||||
2009-08-24 | talloc: update talloc.exports and talloc.signatures | Stefan Metzmacher | 2 | -4/+8 | |
metze | |||||
2009-08-24 | talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION | Stefan Metzmacher | 6 | -11/+72 | |
We also use the major and minor versions in the TALLOC_MAGIC, so that we can detect if two conflicting versions of talloc are loaded in one process. In this case we use talloc_log() to output a very useful debug message before we call talloc_abort(). metze | |||||
2009-08-24 | talloc: change version to 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-24 | talloc: remove ABI compat functions | Stefan Metzmacher | 2 | -31/+0 | |
metze | |||||
2009-08-24 | talloc: remove unused build dependecies to samba | Stefan Metzmacher | 1 | -18/+0 | |
metze | |||||
2009-08-24 | talloc/testsuite: use talloc_set_log_fn() and log to stdout | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2009-08-24 | talloc: add talloc_set_log_fn() and talloc_set_log_stderr() | Stefan Metzmacher | 2 | -12/+51 | |
So that the application can setup a log function to get ERROR and WARNING messages. metze | |||||
2009-08-24 | talloc: let talloc_steal() only generate a warning if it's used with references | Stefan Metzmacher | 1 | -2/+1 | |
We have to many callers, which rely on that talloc_steal() never fails. metze | |||||
2009-08-24 | talloc/testsuite: report __location__ of testsuite failures | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-08-24 | talloc/testsuite: add infrastructure to test aborts | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2009-08-24 | talloc/testsuite: reset the globals after each subtest | Stefan Metzmacher | 1 | -3/+29 | |
metze | |||||
2009-08-24 | talloc: call return after abort, because an overloaded abort function might ↵ | Stefan Metzmacher | 1 | -0/+4 | |
not exit This will be useful in the testsuite, where we could check if an abort would happen. metze | |||||
2009-08-24 | talloc: report the size of reference handles as 0 | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-08-24 | talloc: let talloc_total_blocks() and talloc_get_size() operate on the ↵ | Stefan Metzmacher | 1 | -2/+15 | |
null_context metze | |||||
2009-08-21 | Fix for bug 6651 - smbd SIGSEGV when breaking oplocks. | Jeremy Allison | 1 | -17/+54 | |
Based on a patch submitted by Petr Vandrovec <petr@vandrovec.name>. Multiple pending signals with siginfo_t's weren't being handled correctly leading to smbd abort with kernel oplock signals. Jeremy | |||||
2009-08-19 | tevent: fix a comment | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-08-17 | tevent: change version to 0.9.7 after adding tevent_req_cancel infrastructure | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-17 | tevent: add tevent_req_cancel() infrastructure | Stefan Metzmacher | 3 | -0/+70 | |
This offers a generic way for callers to cancel an async request. metze | |||||
2009-08-15 | tevent: add some more doxygen comments for tevent_req functions | Stefan Metzmacher | 1 | -0/+38 | |
metze | |||||
2009-08-12 | libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630) | Matt Kraai | 1 | -0/+14 | |
Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX 6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This prevents smbd from opening any sockets. If I undefine AI_ADDRCONFIG on such systems and allow lib/replace/system/network.h to define it to be 0, this works around the issue. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-08-11 | Rename ASN1_BITFIELD to ASN1_BIT_STRING. | Kouhei Sutou | 1 | -1/+1 | |
X.690 uses "BIT STRING" not "BIT FIELD". | |||||
2009-08-08 | libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNX | Matt Kraai | 1 | -1/+1 | |
2009-08-06 | Add define guards around otherwise unused variable. | Jeremy Allison | 1 | -0/+3 | |
Jeremy. | |||||
2009-08-06 | There is one signedness issue in tdb which prevents traverses of TDB records | Rusty Russell | 1 | -9/+21 | |
over the 2G offset on systems which support 64 bit file offsets. This fixes that case. On systems with 32 bit offsets, expansion and fcntl locking on these records will fail anyway. SAMBA already does '#define _FILE_OFFSET_BITS 64' in config.h (on my 32-bit x86 Linux system at least) to get 64 bit file offsets. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |