Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-23 | Refactored sys_fork() and sys_pid() into shared util library | Steven Danneman | 3 | -3/+42 | |
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid(). | |||||
2009-02-23 | More warning fixes for Solaris. | Jeremy Allison | 1 | -9/+0 | |
Jeremy. | |||||
2009-02-23 | all BSDs use this evironment variable | Björn Jacke | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-02-21 | Fix shadowed declaration warning | Tim Prouty | 1 | -1/+1 | |
2009-02-21 | pytevent: Fix include path - tevent_util is not installed. | Jelmer Vernooij | 1 | -1/+1 | |
2009-02-20 | Moved become_daemon() and close_low_fds() to shared util lib | Steven Danneman | 2 | -14/+17 | |
2009-02-18 | tevent: add tevent_wakeup_send/recv() | Stefan Metzmacher | 3 | -1/+76 | |
This can be used as tevent_req based timer event. metze | |||||
2009-02-18 | tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime() | Stefan Metzmacher | 2 | -2/+2 | |
This makes more clear what the function does. metze | |||||
2009-02-17 | async_sock: Use tevent_timeval instead of timeval functions | Kai Blin | 1 | -3/+4 | |
2009-02-17 | tevent: Rename ev_timeval* functions to tevent_timeval, export them. | Kai Blin | 7 | -23/+61 | |
Also add tevent_timeval_add() and tevent_timeval_current_ofs() to help not depending on lub/util/time.c for things that just need tevent | |||||
2009-02-16 | tevent: fix compiler warning in pytevent.c | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-02-16 | lib/tevent: change to LGPLv3+ | Stefan Metzmacher | 16 | -188/+253 | |
metze | |||||
2009-02-14 | Add missing prototype for "tevent_req_print" | Volker Lendecke | 1 | -0/+2 | |
2009-02-14 | Fix a warning and a bug: pipe(2) can fail | Volker Lendecke | 1 | -1/+4 | |
2009-02-14 | Add two variable assignments to shut up gcc | Volker Lendecke | 1 | -2/+4 | |
2009-02-13 | tevent: raise version to 0.9.3 | Stefan Metzmacher | 1 | -1/+1 | |
- aio events are removed - tevent_req infrastructure was added metze | |||||
2009-02-13 | lib/tevent: add tevent_req infrastructure | Stefan Metzmacher | 4 | -202/+303 | |
This is almost a copy of the async_req code, which will be removed later. metze | |||||
2009-02-13 | lib/tevent: add tevent_req.c as copy of lib/async_req/async_req.c | Stefan Metzmacher | 1 | -0/+338 | |
metze | |||||
2009-02-13 | lib/tevent: expose ev_timeval_zero() for internal usage | Stefan Metzmacher | 2 | -1/+2 | |
metze | |||||
2009-02-13 | lib/tevent: remove broken tevent_aio support | Stefan Metzmacher | 5 | -610/+0 | |
It makes no sense to support aio events because, the current implementation was based on IOCB_CMD_EPOLL_WAIT which never made it into the main kernel tree. The native linux aio can be used with select/epoll using eventfd(), which means we can implement aio with fd events and implement aio outside of tevent. metze | |||||
2009-02-13 | Replace get_myname() with the talloc version from v3-3-test | Volker Lendecke | 2 | -17/+13 | |
2009-02-13 | Fix Coverity ID 707 (RESOURCE_LEAK) | Volker Lendecke | 1 | -0/+1 | |
2009-02-11 | enable IPv6 support for NetBSD, FreeBSD | Björn Jacke | 1 | -0/+1 | |
most systems include netinet/in.h via netdb.h but *BSD don't. | |||||
2009-02-09 | s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME | Tim Prouty | 1 | -2/+2 | |
Fallback on EAGAIN | |||||
2009-02-09 | Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵ | Jelmer Vernooij | 1 | -2/+0 | |
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d. | |||||
2009-02-09 | async_sock: Map ASYNC_REQ_TIMEOUT to ETIMEDOUT instead of ETIME | Kai Blin | 1 | -1/+5 | |
Also, fall back to EIO if ETIMEDOUT is not present | |||||
2009-02-09 | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 2 | -30/+99 | |
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later. | |||||
2009-02-03 | lib/tdb: don't generate a static library for the samba4 build | Stefan Metzmacher | 1 | -1/+1 | |
We also don't do this for talloc and ldb. metze | |||||
2009-02-02 | Next step disentangling async_req from NTSTATUS | Volker Lendecke | 4 | -62/+86 | |
Now I need to document this :-) | |||||
2009-02-02 | Attempt to fix "make test" on host "tridge" | Volker Lendecke | 1 | -1/+1 | |
2009-02-02 | lib/tevent: the python bindings don't use swig anymore | Stefan Metzmacher | 1 | -7/+2 | |
metze | |||||
2009-02-02 | lib/tdb: the python bindings don't use swig anymore | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2009-02-02 | lib/tevent: s/private/private_data | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-02-02 | lib/util: s/new/pn in idtree.c | Stefan Metzmacher | 1 | -16/+16 | |
metze | |||||
2009-02-02 | lib/util: s/class/dclass | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-01 | Fix headers, only ldb.h is required | Simo Sorce | 1 | -2/+0 | |
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 6 | -80/+158 | |
2009-01-31 | lib/replace: move MAXHOSTNAMELEN to system/network.h | Stefan Metzmacher | 2 | -13/+5 | |
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze | |||||
2009-01-30 | Do not install private headers | Simo Sorce | 1 | -2/+0 | |
2009-01-30 | s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings | Tim Prouty | 1 | -4/+0 | |
2009-01-30 | lib/tevent: include replace.h in pytevent.c | Stefan Metzmacher | 1 | -0/+1 | |
This fixes the build on Tru64. metze | |||||
2009-01-30 | lib/tdb: include replace.h and system/filesys.h in pytdb.c | Stefan Metzmacher | 1 | -4/+3 | |
This fixes the build on Tru64. metze | |||||
2009-01-30 | lib/talloc: include replace.h in pytalloc.c | Stefan Metzmacher | 1 | -0/+1 | |
This fixes the build on Tru64. metze | |||||
2009-01-30 | lib/replace: check if we have dirfd() | Stefan Metzmacher | 1 | -0/+3 | |
Note: we only use this internally and don't replace it by default. metze | |||||
2009-01-30 | s4:lib/util: fix the build | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-01-30 | s4:build: kill DEFAULT_HEADERS variable | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-01-30 | Fix standalone configure scripts | Simo Sorce | 1 | -0/+1 | |
2009-01-29 | Fix coverity CID#66. Resource leak in error path. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2009-01-28 | async_sock: Move to top level | Kai Blin | 3 | -1/+755 | |
2009-01-27 | libreplace: fix detection of netinet/ip.h on solaris 8 | Michael Adam | 1 | -1/+5 | |
(The test needs to additionally include <netinet/in_systm.h>.) Michael |