summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* r20969: remove unused function, found my lcovStefan Metzmacher2007-10-101-49/+0
| | | | | metze (This used to be commit 0c5eb19ebc12bc954c23e9f561d5f96644a19aca)
* r20960: attempt to fix a valgrind error in the signals backend.Andrew Tridgell2007-10-101-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)
* r20952: when a component is changed we need to rebuild the linearized stringStefan Metzmacher2007-10-101-0/+1
| | | | | metze (This used to be commit beb816fb78ec4a7816680611af6619740e159424)
* r20941: avoid races in the block/unblock codeAndrew Tridgell2007-10-101-3/+11
| | | | (This used to be commit 83353ec0cd05464abb581f51d8c26ade7f0876fe)
* r20940: allow SA_SIGINFO signals to be oneshot. Why you would ever want thisAndrew Tridgell2007-10-101-0/+3
| | | | | is beyond me :-) (This used to be commit e892cbdb4bb0779f8abb0902bee4a2e79456808d)
* r20939: reduce the amount of static state for signal handlers from 96k to 1.2kAndrew Tridgell2007-10-101-4/+23
| | | | (This used to be commit bf060ce4fe3b58fc3e58214490c4da9c6644c365)
* r20938: use a double counter trick to avoid the need for atomic incrementAndrew Tridgell2007-10-101-10/+31
| | | | (This used to be commit 7c7b79ed042abebc48d8eaa71c252df3200a84d9)
* r20934: I *hate* deep indents :-)Volker Lendecke2007-10-101-26/+28
| | | | (This used to be commit c98dd55e32a1d2df016e7a4deba218cd54efcdd2)
* r20930: use sigaction() instead of signal()Andrew Tridgell2007-10-105-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)
* r20929: fixed typoAndrew Tridgell2007-10-101-4/+4
| | | | (This used to be commit bad87e2c82208646c331507d3999a3311ed153d9)
* r20928: added signal events to lib/eventsAndrew Tridgell2007-10-1010-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)
* r20865: remove useless warning, we now always pass the current partitionStefan Metzmacher2007-10-101-25/+10
| | | | | | | control as non critical control metze (This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)
* r20852: add a function to add a ldb control to a ldb_requestStefan Metzmacher2007-10-102-0/+40
| | | | | metze (This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
* r20819: - include system/aio.hStefan Metzmacher2007-10-102-2/+3
| | | | | | | | - use full prototype for main - use ifdef instead if metze (This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)
* r20816: merge from samba3:Stefan Metzmacher2007-10-102-0/+5
| | | | | | | include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
* r20815: merge from samba3Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 5b8387969dcc1575a71eaf2daa8f42b94c87bbd0)
* r20810: unlink the test file when the test is doneStefan Metzmacher2007-10-101-0/+1
| | | | | metze (This used to be commit d3e10679afe436b994813e60b117bc42e6c2ed8f)
* r20794: hopefully fix the build on systems without native linux aioStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 4787b8e1f7a7bb6b1e0f8ca64a27e4c5e6f53c2c)
* r20788: - remove epoll configure checks from libreplaceStefan Metzmacher2007-10-105-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)
* r20787: a subsystem doesn't need explicit dependencies to its modulesStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 017cf3f13799b03e0aef995bc4fa9ae74bc1acb7)
* r20772: fix segfault caused by ldb_set_default_dns() from init_context hook ↵Stefan Metzmacher2007-10-101-0/+3
| | | | | | | of the root dse module metze (This used to be commit a201d3fc4ddfa336e2a98412d05eac4e51d01cea)
* r20761: let ldb modules call ldb_set_default_dns()Stefan Metzmacher2007-10-102-1/+2
| | | | | metze (This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
* r20734: always terminate the string... so that an empty data_blobStefan Metzmacher2007-10-101-0/+1
| | | | | | | gets '\0' as "" string metze (This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)
* r20731: we need the complex memmove() handling for removing an attribute ↵Stefan Metzmacher2007-10-101-16/+12
| | | | | | | only in one place metze (This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)
* r20730: this can be constStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)
* r20697: A couple of minot cross-compile fixes.James Peach2007-10-101-1/+4
| | | | (This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d)
* r20684: if we don't have any indexes, then we should not waste timeStefan Metzmacher2007-10-101-0/+5
| | | | | | | to traverse the whole tdb and unpack each record metze (This used to be commit 492c79de13eab8db6079f880a8f0857dc7a29fa8)
* r20670: Make the logic more clearSimo Sorce2007-10-101-16/+22
| | | | (This used to be commit 906630f18e5fab4be6c40018aafe67df1e27c92e)
* r20669: Simplifing moreSimo Sorce2007-10-101-88/+56
| | | | (This used to be commit 03de577059cb71bb6d5df7a65b5f5ba30bdea746)
* r20665: put in my version of aio.hAndrew Tridgell2007-10-101-4/+4
| | | | | sorry about that .... (This used to be commit a91373291422e2f50b91fd7c2317dce5d2a4ab63)
* r20659: add missing system/aio.hStefan Metzmacher2007-10-101-0/+29
| | | | | | | tridge: please commit your version and merge it to both samba3 branches metze (This used to be commit ba492e2c3a64dfc5d4743ba568c63cb9a59e2849)
* r20656: This way the process flow should be much more readable.Simo Sorce2007-10-101-104/+131
| | | | | | We need to make it easier, but this should be a step in the right direction. (This used to be commit ad58177ee46a4f02ee2e2d97882b851226bd3af2)
* r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell2007-10-101-34/+0
| | | | (This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
* r20649: fixed strlower_talloc() and strupper_talloc() to end with right size,Andrew Tridgell2007-10-101-0/+6
| | | | | so talloc_append_string() works (This used to be commit 0d36b036b381d4f81a22ce31066d89932d73597b)
* r20647: add cluster codeAndrew Tridgell2007-10-101-0/+34
| | | | (This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
* r20646: first preparations for cluster enablement. This changes "Andrew Tridgell2007-10-103-43/+56
| | | | | | | | | | | uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
* r20623: change where the smb.conf parm event:backend is checked to ensure itAndrew Tridgell2007-10-101-4/+6
| | | | | affects all event_context_init() calls (This used to be commit 803e6cf6ef5caaf7c9faefcc111c97e1a97e9b82)
* r20621: - enable the aio events backend on systems that support itAndrew Tridgell2007-10-103-7/+19
| | | | | - allow the events backend to be chosen in smb.conf (This used to be commit 4a8e07286f827a6f57b2c54d97d31172553ceb0d)
* r20598: add comments and make clear that the void *data element for extended ↵Stefan Metzmacher2007-10-101-5/+7
| | | | | | | | | operations needs to be NULL or a valid talloc pointer as talloc_get_type() will be called on it. metze (This used to be commit 5731617ea9103eaaef2c5591aab89d59ded35fd8)
* r20596: add prototypes for the ldb_extended functionsStefan Metzmacher2007-10-101-2/+62
| | | | | metze (This used to be commit 8d3a3117c313c2950381e8d21eb92469a82c3afe)
* r20594: Match popt.h declaration.James Peach2007-10-101-1/+1
| | | | (This used to be commit c12fc86a936392922a7f22a3a6a1766f43db7ff5)
* r20593: Kill annoying warning.James Peach2007-10-101-1/+1
| | | | (This used to be commit d225481e49eb8ae22f255be1a0d146cebaad04b9)
* r20588: handle extended operations in the ldb_next_request() callStefan Metzmacher2007-10-101-0/+3
| | | | | metze (This used to be commit b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
* r20583: implement the frontend calls for extended operationsStefan Metzmacher2007-10-102-5/+112
| | | | | metze (This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
* r20582: use void *data in the ldb_extended struct to match what we have in ↵Stefan Metzmacher2007-10-101-4/+4
| | | | | | | | | ldb_control add a request element for extended requests metze (This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)
* r20581: - the ldb modules have explicit hooks for extended operationsStefan Metzmacher2007-10-102-2/+6
| | | | | | | | so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
* r20540: darn, also need to fix this event_context referenceAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit c8bd3ec09d3c370475df3a3cd77de6743b316c9e)
* r20539: - split the common timer related events code into events_timed.cAndrew Tridgell2007-10-1010-265/+1137
| | | | | | | | | | | - make it easier to plug in a new events backend - add simpler 'select' and 'epoll' backends This is part of the effort to add good AIO support. The events_aio.c backend is done, but sometimes dies with a SEGV, which is why it isn't enabled yet. (This used to be commit 934f18283dbc7958944931a93a854526bcd54884)
* r20467: Don't segfault if we don't have an OID mapAndrew Bartlett2007-10-101-1/+1
| | | | (This used to be commit c0276c373c51696b5168cdd1b048e1b9858baf62)
* r20464: Make it clear what does the process group stuffAndrew Bartlett2007-10-101-1/+1
| | | | (This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)