summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23177: Add in a new provision-backend script. This helps set up the ↵Andrew Bartlett1-2/+21
OpenLDAP or Fedora DS backend. This required a new mkdir() call in ejs. We can now provision just the schema for ad2oLschema to operate on (with provision_schema(), without performing the whole provision, just to wipe it again (adjustments to 'make test' to come soon). Andrew Bartlett (This used to be commit 01d54d13dc66ef2127ac52c64ede53d0790738ec)
2007-10-10r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.plJelmer Vernooij1-0/+8
(This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c)
2007-10-10r23158: Set version to 1.0.1.Jelmer Vernooij1-1/+1
(This used to be commit db065db67a5edcefc6dbe2e504a4922b9b9f7f21)
2007-10-10r23157: Add news file for talloc.Jelmer Vernooij1-0/+13
(This used to be commit cb92da26799d27975dd27255007573cef6397d8a)
2007-10-10r23153: a first cut at a fix for the dgram flood problem that volkerAndrew Tridgell1-1/+41
found. Not sure this is the best solution, but it should work. (This used to be commit 80002cd12a64fa2679e48c58906cb9b26ad17e49)
2007-10-10r23123: Fix two utterly simply typos that broke the whole build farm...Michael Adam1-2/+2
Michael (This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)
2007-10-10r23118: Make inet_pton and inet_ntop available through lib/replace.Michael Adam6-0/+418
The code for inet_pton.c and inet_ntop.c is taken from the rsync code. I will put this into 3_0 and 3_0_26 too, but let's sort the readahead issue in lib/replace of 3_0 first... Michael (This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)
2007-10-10r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.Michael Adam1-0/+6
Fixing build of ldb for instance on some systems without dlfcn.h. (This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)
2007-10-10r23064: Clarify comment and indentAndrew Bartlett1-12/+12
(This used to be commit 607e8409f86b28c51a058555021cd45c1cb72a26)
2007-10-10r23059: reject_free needs to be initialisedAndrew Tridgell1-0/+1
(This used to be commit ffb8b493161f6951dabb94f2e9ee4c2f2c11b4e0)
2007-10-10r23021: test some boundary conditions for idtree, after I saw some suspiciousAndrew Tridgell1-1/+18
behaviour (This used to be commit e862cf17b891885f3a733819869a06895c1fb324)
2007-10-10r23013: fixed a bug in the string_replace_w() test that caused OpenBSD to dieAndrew Tridgell1-1/+1
(This used to be commit 1fe20a4555aac6f011eca98f138e125de0de4321)
2007-10-10r22989: allow '@foo' attributes searchable as we allow '@foo' attributesStefan Metzmacher1-0/+4
in all other places too... metze (This used to be commit 4e32aafb9ebdcc70966aaa2e3891ec9a0959535d)
2007-10-10r22988: fixed 2 bugs in our unsetenv() replacement codeAndrew Tridgell1-11/+15
1) you must not free the memory, as it is possible the memory did not come from malloc (try it under valgrind to test) 2) the old code didn't cope with duplicate environment variables I hope this will fix some of the build farm errors on irix, and maybe solaris (This used to be commit ec6900171d066e927f004b621fb39cc7b8dcfd90)
2007-10-10r22985: don't do checkins late at night ....Andrew Tridgell1-2/+0
thanks to Volker for spotting this! (This used to be commit d28fc5f87fd4d9a9843d1295fe2a181922a476fc)
2007-10-10r22971: fix build on systems without epollAndrew Tridgell1-0/+1
(This used to be commit 146303d91b4c64c87c356c3ed44ccb5774297a71)
2007-10-10r22970: the events code calls close(), which needs to use socket_wrapper.h inAndrew Tridgell3-0/+3
the build farm (This used to be commit 603d8b6f1702d10234b81ccde0649d8be63ae616)
2007-10-10r22968: andrew bartlett pointed out that the parent process could add a fd toAndrew Tridgell3-33/+33
the epoll context which would then appear in the children. To fix this we need to check for pid changes in more places. Luckily on platforms where we have epoll(), getpid() is very very cheap. (This used to be commit 4f84e6d569f9c9d7dd902f4550735f3ce2d3b424)
2007-10-10r22964: log an error on epoll_create failing on reopenAndrew Tridgell3-1/+4
(This used to be commit a69f28599845d3ea3868a574c6b0ba8db8486ef5)
2007-10-10r22963: fixed the epoll/fork interaction in the epoll and aio backendsAndrew Tridgell2-0/+86
(This used to be commit aeca07659aa612bee0c4dd6bdbb24c799e912909)
2007-10-10r22960: added a SOCKET_FLAG_NOCLOSE to allow us to tell the socket layer thatAndrew Tridgell2-1/+12
we will handle the close of the socket (This used to be commit d57aaf5ba60464e5e782353a0879a84f8c70dd32)
2007-10-10r22959: cope with a rather interesting interaction between epoll() andAndrew Tridgell1-1/+41
fork(). See http://junkcode.samba.org/ftp/unpacked/junkcode/epoll_fork.c for why this is needed (This used to be commit 6d06132ea9c5a1c7d098ba13f4146dc60e811e44)
2007-10-10r22952: Make sure we look at extra_cflags when building custom targets.James Peach1-1/+5
(This used to be commit 2d990cd37410cec03fa96767b0cf84d7c17ca9c4)
2007-10-10r22931: Fix logic in detection of the need to replace dlopen and friends.Michael Adam1-6/+7
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen was found in libdl but header dlfcn.h was not appropriate. Michael (This used to be commit 7afa8d2a4707e999a380e747ccaae1de53a00251)
2007-10-10r22832: merged the latest tdb changes from ctdb to Samba4Andrew Tridgell3-15/+107
(This used to be commit a88ab4fa3a07c31bc45c612043f9e096f384eda4)
2007-10-10r22830: merged the latest lib/events updates from ctdb to Samba4. ThisAndrew Tridgell9-8/+74
includes a new EVENT_FD_AUTOCLOSE flag that prevents race conditions where code using fd events might close a fd before releasing the struct fd_event. That causes headaches for epoll. (This used to be commit f1ad216de13b154a1f8747a44b0970dcc47a784a)
2007-10-10r22829: system/select.h needs to bring in epoll.h for epoll usage inAndrew Tridgell1-0/+4
lib/events (This used to be commit 2c9d0b57f9cef96ac0878a9761f3c15774fda336)
2007-10-10r22827: Change license to LGPL (discussed with tridge).Jelmer Vernooij18-201/+288
(This used to be commit 1193c759622edd9e6843d9b7f53d9532748ce8a0)
2007-10-10r22789: fix loading of internal samba4 modulesStefan Metzmacher1-3/+3
metze (This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
2007-10-10r22762: Some ldb_map changes:Jelmer Vernooij10-93/+104
* Change license to LGPL, so it can be used by non-Samba users of LDB (cleared with Martin as well). * Include ldb_map in standalone build. * Move ldb_map to its own directory (This used to be commit a90202abca26c0da5425a2f3dd8494077c3290fd)
2007-10-10r22758: - add missing _talloc_set_name_const(ret, ret); to ↵Stefan Metzmacher3-1/+41
talloc_append_string() - update manpage and add comments about _talloc_set_name_const(ret, ret); in all places which use them metze (This used to be commit 5cd100de829b75b83e49bd572a33a267cf86f215)
2007-10-10r22757: test if calling talloc_free() works on parent elements from within a ↵Stefan Metzmacher1-1/+41
destrutor metze (This used to be commit 305117fae0b4692b27b9cc7204fc59fb1312eabb)
2007-10-10r22750: dlopen() is always available now (and returns a correct error if not ↵Jelmer Vernooij1-5/+0
supported by the system), thanks to libreplace. (This used to be commit 1152a4f56d7402bf3aa00b5b108c5c6c668cec6b)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher2-3/+4
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r22746: fix the build of the sqlite moduleStefan Metzmacher1-2/+1
metze (This used to be commit cd958034df67a606492b69e55f1f4bc5fa95383b)
2007-10-10r22743: set the talloc name to the string...Stefan Metzmacher1-0/+4
metze (This used to be commit d907fb26a7b0a6543a4bf0b848327a0b7d0da9fa)
2007-10-10r22723: fix compiler warningsStefan Metzmacher1-1/+1
metze (This used to be commit d8440f0579a87e7edff466269bc1dfab8796af34)
2007-10-10r22722: fix dependenciesStefan Metzmacher1-2/+1
metze (This used to be commit 0397eca102e17d2da726d1669e3ff6d925e50e89)
2007-10-10r22699: Reduce amount of magic required for popt detection.Jelmer Vernooij2-3/+8
(This used to be commit 05ca6ecef70b0e66348b479badcb77d0a0bef9f2)
2007-10-10r22698: Support using system tdb, when available.Jelmer Vernooij1-1/+0
(This used to be commit 4d3f02e845577be4a995398dbc5322da8d470009)
2007-10-10r22697: Support building with external talloc.Jelmer Vernooij1-1/+0
(This used to be commit 3a2f9e0977bc311daa8171ea709a9cbcdd0a0c85)
2007-10-10r22696: Make sure this is an ascii charSimo Sorce1-0/+12
spotted by Volker (This used to be commit e24812016f60f506f0df2cb5ba8c2c6987f7da40)
2007-10-10r22694: It seems that AIX 5.3 with XLC has difficulties with <ctype.h>. This isVolker Lendecke1-1/+1
an attempt to work around this: Maybe it helps if we include other stuff first. This raises a question however: Do we want the DN handling to be locale dependent? isalpha() can return different things depending on the current locale. (This used to be commit 75ba82dee052fa5f4141e66e1cb748101aa95d71)
2007-10-10r22687: use DESTDIR.Jelmer Vernooij1-6/+6
(This used to be commit 0b34da929f2a482c6470a18a6b365634cb1f5b22)
2007-10-10r22684: Fix native Samba build.Jelmer Vernooij2-3/+4
(This used to be commit 582e743e68a1dbfafe06e7e283ff998140149ae7)
2007-10-10r22682: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij2-6/+5
(This used to be commit 532f28724dcc9e0fe7051e27d145469398041101)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij46-130/+110
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r22668: Fix ldb buildJelmer Vernooij1-2/+0
(This used to be commit 331a0f608f3ae2199a8e3290d79d3a0623fb8a35)
2007-10-10r22665: Change version back to 0.9.Jelmer Vernooij1-1/+3
(This used to be commit 5037373c4c788ed5a74fbc90a190dd8245fe2029)
2007-10-10r22661: optimize the handling of directly triggered timed events:Stefan Metzmacher6-48/+60
- if someone adds a timed_event with a zero timeval we now avoid serval gettimeofday() calls and the event handler doesn't get the current time when it's called, instead we also pass a zero timeval - this also makes sure multiple timed events with a zero timeval are processed in the order there're added. the little benchmark shows that processing 2000000 directly timed events is now much faster, while avoiding syscalls at all! > time ./evtest (with the old code) real 0m6.388s user 0m1.740s sys 0m4.632s > time ./evtest (with the new code) real 0m1.498s user 0m1.496s sys 0m0.004s metze@SERNOX:~/devel/samba/4.0/samba4-ci/source> cat evtest.c #include <stdio.h> #include <stdint.h> #include <sys/time.h> #include <talloc.h> #include <events.h> static void dummy_fde_handler(struct event_context *ev_ctx, struct fd_event *fde, uint16_t flags, void *private_data) { } static void timeout_handler(struct event_context *ev, struct timed_event *te, struct timeval tval, void *private_data) { uint32_t *countp = (uint32_t *)private_data; (*countp)++; if (*countp > 2000000) exit(0); event_add_timed(ev, ev, tval, timeout_handler, countp); } int main(void) { struct event_context *ev; struct timeval tval = { 0, 0 }; uint32_t count = 0; ev = event_context_init(NULL); event_add_fd(ev, ev, 0, 0, dummy_fde_handler, NULL); event_add_timed(ev, ev, tval, timeout_handler, &count); return event_loop_wait(ev); } (This used to be commit 4db64b4ce2320b88d648078cbf86385f6fb44f1f)