Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-04-22 | Prevent reallocs of the talloc pool itself | Simo Sorce | 1 | -0/+5 | |
2009-04-22 | Avoid using deprecated form of AC_CHECK_TYPE. | Brad Hards | 2 | -3/+13 | |
libreplace makes use of an older form of AC_CHECK_TYPE which basically provides a fallback definition for the type if it isn't available. http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros shows why this isn't a good idea (its not so important, except for pointer types). This patch partly addresses the issue. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-04-20 | Error out at runtime when seteuid/setresuid or setegid/setresgid are not | Jelmer Vernooij | 1 | -2/+4 | |
available. This means it's possible to compile libreplace when these functions are not available and use it, as long as this particular function is not used. | |||||
2009-04-20 | Only define waitpid replacement if wait4 is available. (It isn't on | Jelmer Vernooij | 3 | -2/+6 | |
Windows.) | |||||
2009-04-20 | Cope with the fact that only _mkdir() exists on Windows and that it | Jelmer Vernooij | 3 | -0/+12 | |
doesn't take a mode argument. | |||||
2009-04-20 | Move check for syslog out of libreplace to source3/ and source4/. | Jelmer Vernooij | 2 | -1/+3 | |
This should help compiling talloc on Windows. | |||||
2009-04-20 | Ensure we have all the definitions needed in both threaded and non-threaded ↵ | Jeremy Allison | 1 | -9/+4 | |
versions. Jeremy. | |||||
2009-04-20 | Attempt to fix build farm on platforms where pthread_once_t is a struct. | Jeremy Allison | 2 | -3/+6 | |
Jeremy. | |||||
2009-04-20 | Fix the pthread_once initialization issue. Make talloc_stackframe use | Jeremy Allison | 4 | -38/+85 | |
this. Jeremy. | |||||
2009-04-16 | tsocket: fix the build without ipv6 support | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-04-15 | Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+ | Jeremy Allison | 1 | -1/+1 | |
What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy. | |||||
2009-04-14 | Ensure a tls key is only generated once - wrap create & destroy in a mutex. | Jeremy Allison | 4 | -40/+71 | |
Change the function names to add _once to the tls_create & tls_destroy to make this obvious. Jeremy. | |||||
2009-04-14 | Make talloc_stack threadsafe using TLS. Volker please | Jeremy Allison | 4 | -25/+93 | |
check. Passes make test and basic valgrind testing. Jeremy. | |||||
2009-04-14 | socket_wrapper: fix the build on systems without ipv6 support | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-04-10 | socket_wrapper: fix crash bug in swrap_readv/writev | Stefan Metzmacher | 1 | -4/+10 | |
metze | |||||
2009-04-09 | Merge branch 'wspp-schema' | Andrew Tridgell | 2 | -6/+173 | |
2009-04-09 | added _const versions of some of the str_list_*() functions | Andrew Tridgell | 2 | -0/+84 | |
These const versions don't copy the strings themselves, which is useful when those strings point at known constant data (into the schema in this case) | |||||
2009-04-09 | added str_list_unique() and str_list_show() | Andrew Tridgell | 2 | -36/+62 | |
I also undid some of the const changes from Andrew, as they didn't in fact resolve the const warnings. | |||||
2009-04-08 | Add the thread functions to top level lib/util. | Jeremy Allison | 3 | -0/+277 | |
Not yet used, that's the next step. Jeremy. | |||||
2009-04-08 | Remove async_req | Volker Lendecke | 7 | -614/+1 | |
2009-04-08 | Rework util_strlist prototypes to use a bit more and less const | Andrew Bartlett | 2 | -9/+43 | |
Hopefully this produces less warnings, but it might produce more... Andrew Bartlett | |||||
2009-04-07 | s3/popt.h: Fix typo. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2009-04-07 | added a str_list_append() function | Andrew Tridgell | 1 | -0/+23 | |
2009-04-06 | tsocket: reduce size of dummy variable | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-04-06 | tsocket: use the correct 'ret' variable for tdgram_disconnect_send/recv() | Stefan Metzmacher | 1 | -8/+2 | |
metze | |||||
2009-04-05 | Use recv instead of read in read_packet_handler | Volker Lendecke | 1 | -1/+2 | |
This way the socket wrapper pcap file also sees the replies :-) | |||||
2009-04-02 | tsocket: remove DGRAM support from tsocket_context | Stefan Metzmacher | 7 | -564/+0 | |
metze | |||||
2009-04-02 | tsocket: optimize tdgram_bsd a lot | Stefan Metzmacher | 1 | -27/+54 | |
The desire is to do as less syscalls during the tdgram_sendto_send/recv() and tdgram_recvfrom_send/recv() operations. 1. we first try the sendto()/recvfrom() syscall and only use a fd event if we got EAGAIN. 2. we cache the fd event and only change it's flags if really needed. For the highload case we do almost no epoll_ctl() and epoll_wait()/select() syscalls anymore. This speeds up the LDAP-BENCH-CLDAP test by more than 20%. (With a modified version of this test which let the server skip any ldb calls and just return success I'm getting about 8000 requests per second, while I'm getting just about 6000 requests per second without optimization) metze | |||||
2009-04-02 | tsocket: add tdgram_sendto_queue_send/recv() | Stefan Metzmacher | 2 | -0/+143 | |
metze | |||||
2009-04-02 | tsocket: split out a smaller tdgram_context abstraction | Stefan Metzmacher | 4 | -0/+1192 | |
The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze | |||||
2009-04-01 | lib/util: fallback to any id in idr_get_new_random() | Stefan Metzmacher | 1 | -2/+6 | |
metze | |||||
2009-03-31 | tdb: Remove unused variable | Tim Prouty | 1 | -1/+0 | |
2009-03-31 | tsocket: try to fix the build on solaris FIONREAD was missing | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-03-31 | up the version to 1.1.4 with the addition of | Andrew Tridgell | 1 | -1/+1 | |
tdb_transaction_prepare_commit() | |||||
2009-03-31 | added basic testing of tdb_transaction_prepare_commit() in tdbtorture | Andrew Tridgell | 1 | -0/+6 | |
2009-03-31 | Add tdb_transaction_prepare_commit() | Howard Chu | 3 | -52/+133 | |
Using tdb_transaction_prepare_commit() gives us 2-phase commits. This allows us to safely commit across multiple tdb databases at once, with reasonable transaction semantics Signed-off-by: tridge@samba.org | |||||
2009-03-28 | tsocket: more s/sun/un to make the build on solaris happy | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-03-27 | tsocket: try to fix the build on solaris systems | Stefan Metzmacher | 1 | -18/+18 | |
It seems that 'sun' is somewhere defined and we can use it as name for variables or struct/union members. metze | |||||
2009-03-26 | Merge branch 'master' of git://git.samba.org/samba | Jelmer Vernooij | 5 | -7/+66 | |
2009-03-24 | Add tevent_req_simple_recv_ntstatus() | Volker Lendecke | 2 | -0/+11 | |
2009-03-23 | libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS | Michael Adam | 1 | -2/+2 | |
This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael | |||||
2009-03-23 | socket_wrapper: fix connect() for dgram sockets, if the destination isn't ↵ | Stefan Metzmacher | 1 | -4/+52 | |
there yet Now we defer the real_connect() for dgram sockets to the first send()/sendto() call, as the destination might not be there at connect time. Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this problem. metze | |||||
2009-03-22 | talloc_array_length: talloc_get_size deals fine with NULL | Volker Lendecke | 1 | -1/+1 | |
2009-03-22 | Revert "socket_wrapper: fix connect() for dgram sockets, if the destination ↵ | Stefan Metzmacher | 1 | -7/+3 | |
isn't there yet" This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1. Somehow this leads to timeouts in some tests, samba4.ldb.ldapi and samba4.rpc.schannel. I need to look at it more closely later... metze | |||||
2009-03-22 | Revert "Add a basic Doxyfile for talloc" | Volker Lendecke | 1 | -8/+0 | |
This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355. | |||||
2009-03-22 | Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h ↵ | Volker Lendecke | 1 | -1023/+1 | |
comments" This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d. | |||||
2009-03-22 | Revert "Delete talloc_guide.txt" | Volker Lendecke | 1 | -0/+694 | |
This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b. | |||||
2009-03-22 | Revert "Add a default "undocumented" module" | Volker Lendecke | 1 | -9/+0 | |
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318. | |||||
2009-03-22 | Revert "Add some initial hook to the front page" | Volker Lendecke | 1 | -3/+0 | |
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422. | |||||
2009-03-22 | Revert "Reformatting" | Volker Lendecke | 1 | -10/+5 | |
This reverts commit db447d0c476699dbf7fa0567c67f5938674ec811. |