summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add tevent_req_is_unix_errorVolker Lendecke2009-02-242-0/+73
| |
* | Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman2009-02-233-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().
* | More warning fixes for Solaris.Jeremy Allison2009-02-231-9/+0
| | | | | | | | Jeremy.
* | all BSDs use this evironment variableBjörn Jacke2009-02-231-1/+1
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* | Fix shadowed declaration warningTim Prouty2009-02-211-1/+1
| |
* | pytevent: Fix include path - tevent_util is not installed.Jelmer Vernooij2009-02-211-1/+1
| |
* | Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2009-02-202-14/+17
|/
* tevent: add tevent_wakeup_send/recv()Stefan Metzmacher2009-02-183-1/+76
| | | | | | This can be used as tevent_req based timer event. metze
* tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime()Stefan Metzmacher2009-02-182-2/+2
| | | | | | This makes more clear what the function does. metze
* async_sock: Use tevent_timeval instead of timeval functionsKai Blin2009-02-171-3/+4
|
* tevent: Rename ev_timeval* functions to tevent_timeval, export them.Kai Blin2009-02-177-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
* tevent: fix compiler warning in pytevent.cStefan Metzmacher2009-02-161-1/+3
| | | | metze
* lib/tevent: change to LGPLv3+Stefan Metzmacher2009-02-1616-188/+253
| | | | metze
* Add missing prototype for "tevent_req_print"Volker Lendecke2009-02-141-0/+2
|
* Fix a warning and a bug: pipe(2) can failVolker Lendecke2009-02-141-1/+4
|
* Add two variable assignments to shut up gccVolker Lendecke2009-02-141-2/+4
|
* tevent: raise version to 0.9.3Stefan Metzmacher2009-02-131-1/+1
| | | | | | | - aio events are removed - tevent_req infrastructure was added metze
* lib/tevent: add tevent_req infrastructureStefan Metzmacher2009-02-134-202/+303
| | | | | | | This is almost a copy of the async_req code, which will be removed later. metze
* lib/tevent: add tevent_req.c as copy of lib/async_req/async_req.cStefan Metzmacher2009-02-131-0/+338
| | | | metze
* lib/tevent: expose ev_timeval_zero() for internal usageStefan Metzmacher2009-02-132-1/+2
| | | | metze
* lib/tevent: remove broken tevent_aio supportStefan Metzmacher2009-02-135-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
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-132-17/+13
|
* Fix Coverity ID 707 (RESOURCE_LEAK)Volker Lendecke2009-02-131-0/+1
|
* enable IPv6 support for NetBSD, FreeBSDBjörn Jacke2009-02-111-0/+1
| | | | most systems include netinet/in.h via netdb.h but *BSD don't.
* s3 async: Fix the build on systems that have ETIMEDOUT but not ETIMETim Prouty2009-02-091-2/+2
| | | | Fallback on EAGAIN
* Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij2009-02-091-2/+0
| | | | | | | | and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
* async_sock: Map ASYNC_REQ_TIMEOUT to ETIMEDOUT instead of ETIMEKai Blin2009-02-091-1/+5
| | | | Also, fall back to EIO if ETIMEDOUT is not present
* async_sock: Use unix errnos instead of NTSTATUSKai Blin2009-02-092-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.
* lib/tdb: don't generate a static library for the samba4 buildStefan Metzmacher2009-02-031-1/+1
| | | | | | We also don't do this for talloc and ldb. metze
* Next step disentangling async_req from NTSTATUSVolker Lendecke2009-02-024-62/+86
| | | | Now I need to document this :-)
* Attempt to fix "make test" on host "tridge"Volker Lendecke2009-02-021-1/+1
|
* lib/tevent: the python bindings don't use swig anymoreStefan Metzmacher2009-02-021-7/+2
| | | | metze
* lib/tdb: the python bindings don't use swig anymoreStefan Metzmacher2009-02-021-4/+2
| | | | metze
* lib/tevent: s/private/private_dataStefan Metzmacher2009-02-021-6/+6
| | | | metze
* lib/util: s/new/pn in idtree.cStefan Metzmacher2009-02-021-16/+16
| | | | metze
* lib/util: s/class/dclassStefan Metzmacher2009-02-021-1/+1
| | | | metze
* Fix headers, only ldb.h is requiredSimo Sorce2009-02-011-2/+0
|
* Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke2009-02-016-80/+158
|
* lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2009-01-312-13/+5
| | | | | | | Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
* Do not install private headersSimo Sorce2009-01-301-2/+0
|
* s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warningsTim Prouty2009-01-301-4/+0
|
* lib/tevent: include replace.h in pytevent.cStefan Metzmacher2009-01-301-0/+1
| | | | | | This fixes the build on Tru64. metze
* lib/tdb: include replace.h and system/filesys.h in pytdb.cStefan Metzmacher2009-01-301-4/+3
| | | | | | This fixes the build on Tru64. metze
* lib/talloc: include replace.h in pytalloc.cStefan Metzmacher2009-01-301-0/+1
| | | | | | This fixes the build on Tru64. metze
* lib/replace: check if we have dirfd()Stefan Metzmacher2009-01-301-0/+3
| | | | | | Note: we only use this internally and don't replace it by default. metze
* s4:lib/util: fix the buildStefan Metzmacher2009-01-301-1/+1
| | | | metze
* s4:build: kill DEFAULT_HEADERS variableStefan Metzmacher2009-01-301-0/+1
| | | | metze
* Fix standalone configure scriptsSimo Sorce2009-01-301-0/+1
|
* Fix coverity CID#66. Resource leak in error path.Jeremy Allison2009-01-291-0/+1
| | | | Jeremy.
* async_sock: Move to top levelKai Blin2009-01-283-1/+755
|