summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21445: Apply tdb_parse_record Tridges error return, merge to 3_0_25 and 4_0Volker Lendecke4-13/+94
(This used to be commit afe7d7855841066b88859976ac748cbf438a9a9f)
2007-10-10r21433: Get rid of the COM support code - it's not used and unmaintained. We canJelmer Vernooij1-26/+26
always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. (This used to be commit 1ad0f99a439f0d52a735b391bf9900d50171aca5)
2007-10-10r21412: The last patch also incremented the seqnum when tdb_store failed. ↵Volker Lendecke1-8/+10
Not as bad as not doing it at all, but needs fixing. Also simplify the logic, I had missed the "goto out" at the end of the function. Volker (This used to be commit ed30a0ff602d0a1d4409bee4faf12b6979b5f4b8)
2007-10-10r21410: We have to increment the sequence number also when tdb_update_hash()Volker Lendecke1-1/+1
succeeded. Found while testing the brlock seqnum patch. Tridge, please check! Volker (This used to be commit e518c68fc5446304611d096ac2e3cab744734fc3)
2007-10-10r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij1-1/+2
Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10r21354: fix commentStefan Metzmacher1-1/+1
metze (This used to be commit 545f769c2fb29323f2fa06e076af894c0be678d0)
2007-10-10r21311: fix very ugly "using free'ed memory" bugStefan Metzmacher1-1/+1
This was there since 2005... metze (This used to be commit 393e4eeb82df8017eb0afb526f4d723cf8814311)
2007-10-10r21305: Change the skel module a little, so make it names clearer.Andrew Bartlett1-6/+7
Andrew Bartlett (This used to be commit 26758fc24ca0b28e1ed07cc20801175e94362d57)
2007-10-10r21303: As discussed on samba-technical: Change the static array for the ↵Volker Lendecke4-36/+96
in-memory mirrors of the hash chain locks to a dynamically allocated one. Jeremy, I count on you to revert it if the build farm freaks out, it's after midnight here :-) Volker (This used to be commit 7b5db2e472c7e27231fa432d3930789e708abd09)
2007-10-10r21302: Provide simple redirecting headers for standard headers.Jelmer Vernooij3-1/+17
(This used to be commit 74c47839536c9ccfa1240289d20df65d9d13839d)
2007-10-10r21299: Fix the build for those that don't have talloc.h installed.Jelmer Vernooij2-2/+2
(This used to be commit e782035251fd3d51a7a4221d107519fb1ba70ba7)
2007-10-10r21297: Remove the GTK+ tools and library from the main repository. They are ↵Jelmer Vernooij5-2/+12
now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. (This used to be commit 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
2007-10-10r21256: - msg_type is not needed in the cluster messaging APIAndrew Tridgell1-1/+1
- merge ctdb_get_num_nodes() from bzr tree (This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
2007-10-10r21233: first version of samba4 messaging using ctdb is working. This means weAndrew Tridgell1-9/+9
should now work on a real cluster, and not just a localhost simulator (This used to be commit f05072ad74fb08fd906bc500c5e89930bcc3387f)
2007-10-10r21230: added the hooks needed in the cluster layer and the messaging code forAndrew Tridgell1-0/+44
handling messages to remote nodes. Implemented dummy functions in the 'local' cluster backend for the messaging hooks, and modified the messaging layer to check if the destination is remote and redirect messages via the cluster layer (This used to be commit 4474552e8fb73efebef32ad8480d7fe9a1e379ef)
2007-10-10r21212: detect if the kernel does not support integrated epoll/aio when theAndrew Tridgell1-1/+11
event context is created. This allows the LOCAL-EVENT test to pass on systems with have libaio but not the necessary kernel patches (This used to be commit 2ff8abf0022824e6ae93019ee1b3391e651a8ee7)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell5-11/+18
matching va_end() for each va_copy(). This doesn't matter for most architectures, but there could be some obscure ones where it does matter. some of this should be ported to Samba3 (This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r21171: fixed a bug related to recursive event handling.Andrew Tridgell4-11/+7
If this happens: - two sockets are readable, and select/epoll/aio returns both of them - read event on socket1 is called - inside that read event an event_loop_once is called, this returns that socket2 is readable - read event on socket2 is called - event_loop_once returns - top level event handler then calls read event on socket2 (as it still has that listed as readable) - read handler for socket2 returns zero byte read, which is interpreted as end of file - socket is incorrectly closed this happened with ctdb, but it could happen anywhere (just rarely). The fix is trivial - ensure we break out of the event loop when we have been called recursively. (This used to be commit e042002bb5ee8974220e1ade56b64389571f75a6)
2007-10-10r20989: don't mark epoll as set until after the io_submit() succeedsAndrew Tridgell1-1/+1
this is part of the solution to LOCAL-EVENT on fort (This used to be commit 35f62bc12559e355d4ac73018afe255ea7c5866b)
2007-10-10r20984: Try to ensure we can't have sig_state dissapear before se.Andrew Bartlett1-0/+5
I think this happens when both are eventual children of the autofree context. (Trying to track down a valgrind error on fort). Andrew Bartlett (This used to be commit aee751497ca738fa0de72dd0748590a74d5af2fd)
2007-10-10r20981: Fix cut'n'paste error.James Peach1-1/+1
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)
2007-10-10r20969: remove unused function, found my lcovStefan Metzmacher1-49/+0
metze (This used to be commit 0c5eb19ebc12bc954c23e9f561d5f96644a19aca)
2007-10-10r20960: attempt to fix a valgrind error in the signals backend.Andrew Tridgell1-38/+48
This also reduces the static data in the signal backend when not using signals to 4 bytes. (This used to be commit 071a6e8eb1861b10b8a7aa61470f21a546ffa0ca)
2007-10-10r20952: when a component is changed we need to rebuild the linearized stringStefan Metzmacher1-0/+1
metze (This used to be commit beb816fb78ec4a7816680611af6619740e159424)
2007-10-10r20941: avoid races in the block/unblock codeAndrew Tridgell1-3/+11
(This used to be commit 83353ec0cd05464abb581f51d8c26ade7f0876fe)
2007-10-10r20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want thisAndrew Tridgell1-0/+3
is beyond me :-) (This used to be commit e892cbdb4bb0779f8abb0902bee4a2e79456808d)
2007-10-10r20939: reduce the amount of static state for signal handlers from 96k to 1.2kAndrew Tridgell1-4/+23
(This used to be commit bf060ce4fe3b58fc3e58214490c4da9c6644c365)
2007-10-10r20938: use a double counter trick to avoid the need for atomic incrementAndrew Tridgell1-10/+31
(This used to be commit 7c7b79ed042abebc48d8eaa71c252df3200a84d9)
2007-10-10r20934: I *hate* deep indents :-)Volker Lendecke1-26/+28
(This used to be commit c98dd55e32a1d2df016e7a4deba218cd54efcdd2)
2007-10-10r20930: use sigaction() instead of signal()Andrew Tridgell5-11/+91
add support for sa_flags argument to event_add_signal(). These are passed to sigaction(). Special handling is provided for SA_RESETHAND (which tells the event system to remove the handler after the signal) and SA_SIGINFO which allows the siginfo structure to be received per signal (This used to be commit 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)
2007-10-10r20929: fixed typoAndrew Tridgell1-4/+4
(This used to be commit bad87e2c82208646c331507d3999a3311ed153d9)
2007-10-10r20928: added signal events to lib/eventsAndrew Tridgell10-2/+261
Jeremy asked for this to allow Samba3 to use the Samba4 events library see torture/local/event.c for an example (This used to be commit 7e105482ff9a3da6b4708ff99a64f1881614fc5f)
2007-10-10r20865: remove useless warning, we now always pass the current partitionStefan Metzmacher1-25/+10
control as non critical control metze (This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)
2007-10-10r20852: add a function to add a ldb control to a ldb_requestStefan Metzmacher2-0/+40
metze (This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
2007-10-10r20819: - include system/aio.hStefan Metzmacher2-2/+3
- use full prototype for main - use ifdef instead if metze (This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)
2007-10-10r20816: merge from samba3:Stefan Metzmacher2-0/+5
include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
2007-10-10r20815: merge from samba3Stefan Metzmacher1-1/+1
metze (This used to be commit 5b8387969dcc1575a71eaf2daa8f42b94c87bbd0)
2007-10-10r20810: unlink the test file when the test is doneStefan Metzmacher1-0/+1
metze (This used to be commit d3e10679afe436b994813e60b117bc42e6c2ed8f)
2007-10-10r20794: hopefully fix the build on systems without native linux aioStefan Metzmacher1-1/+1
metze (This used to be commit 4787b8e1f7a7bb6b1e0f8ca64a27e4c5e6f53c2c)
2007-10-10r20788: - remove epoll configure checks from libreplaceStefan Metzmacher5-29/+15
- fix epoll configure checks for the epoll and aio events backends - we should only activate the epoll backend if sys/epoll.h and epoll_create() are found - we should only activate the aio backend if sys/epoll.h, epoll_create(), libaio.h and io_getevents() are found hopefully fix the build on 'bnhtest' in the build farm... metze (This used to be commit d46a5efb03ea1df50567cad00e1589870cdb31fe)
2007-10-10r20787: a subsystem doesn't need explicit dependencies to its modulesStefan Metzmacher1-1/+1
metze (This used to be commit 017cf3f13799b03e0aef995bc4fa9ae74bc1acb7)
2007-10-10r20772: fix segfault caused by ldb_set_default_dns() from init_context hook ↵Stefan Metzmacher1-0/+3
of the root dse module metze (This used to be commit a201d3fc4ddfa336e2a98412d05eac4e51d01cea)
2007-10-10r20761: let ldb modules call ldb_set_default_dns()Stefan Metzmacher2-1/+2
metze (This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
2007-10-10r20734: always terminate the string... so that an empty data_blobStefan Metzmacher1-0/+1
gets '\0' as "" string metze (This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)
2007-10-10r20731: we need the complex memmove() handling for removing an attribute ↵Stefan Metzmacher1-16/+12
only in one place metze (This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)
2007-10-10r20730: this can be constStefan Metzmacher1-1/+1
metze (This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)
2007-10-10r20697: A couple of minot cross-compile fixes.James Peach1-1/+4
(This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d)
2007-10-10r20684: if we don't have any indexes, then we should not waste timeStefan Metzmacher1-0/+5
to traverse the whole tdb and unpack each record metze (This used to be commit 492c79de13eab8db6079f880a8f0857dc7a29fa8)
2007-10-10r20670: Make the logic more clearSimo Sorce1-16/+22
(This used to be commit 906630f18e5fab4be6c40018aafe67df1e27c92e)
2007-10-10r20669: Simplifing moreSimo Sorce1-88/+56
(This used to be commit 03de577059cb71bb6d5df7a65b5f5ba30bdea746)