Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dfork: honour _SC_OPEN_MAX | Lennart Poettering | 2009-10-17 | 1 | -7/+6 |
| | |||||
* | libdaemon 0.13 compiler warning issue | Stefan Seyfried | 2009-10-17 | 1 | -1/+2 |
| | | | | | see https://bugzilla.novell.com/show_bug.cgi?id=449728 The patch I packaged up for this is attached. | ||||
* | Merge remote branch 'flameeyes/noundefined' | Lennart Poettering | 2009-10-17 | 1 | -1/+1 |
|\ | |||||
| * | If the linker suppors it, ensure that the library has no undefined | Diego E. 'Flameeyes' Pettenò | 2008-11-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | references. This is important to make sure that no bugs are introduced that breaks when using --as-needed. | ||||
* | | dnonblock: use O_NONBLOCK instead of O_NDELAY to follow current POSIX naming | Lennart Poettering | 2009-04-20 | 1 | -2/+2 |
| | | |||||
* | | dnonblock: make daemon_nonblock() actually work | Lennart Poettering | 2009-04-20 | 1 | -1/+1 |
|/ | | | | Issue pointed out by Charles Lindsay. | ||||
* | add missing inclusion of sys/time.h | Lennart Poettering | 2008-10-26 | 1 | -0/+1 |
| | |||||
* | Add support for setting verbosity level for stdout/stderr output. | Diego 'Flameeyes' Pettenò | 2008-10-01 | 2 | -0/+32 |
| | |||||
* | Conditionally declare variables if their use is conditional. | Diego 'Flameeyes' Pettenò | 2008-10-01 | 1 | -1/+3 |
| | | | | | Reduces warnings about unused variables by not declaring them if they are under an #ifdef conditional. | ||||
* | Fix building on OpenSolaris (without _NSIG definition). | Diego 'Flameeyes' Pettenò | 2008-10-01 | 1 | -1/+9 |
| | | | | | | | On OpenSolaris, the _NSIG macro is not defined, but NSIG is; as it's not possible to use NSIG under glibc (it would miss the SIGRT* series), define a SIGNAL_UPPER_BOUND depending on the system (and error out if the system lacks both NSIG and _NSIG). | ||||
* | Revert "bump soname/version" which was innappropriately named and a bad idea ↵v0.13 | Lennart Poettering | 2008-07-29 | 1 | -1/+0 |
| | | | | | | anyway This reverts commit b05a9ea7518befdae73772becaf9bc4b11711f80. | ||||
* | bump soname/version | Lennart Poettering | 2008-07-29 | 1 | -0/+1 |
| | |||||
* | fix indenting | Lennart Poettering | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | close fds/reset sigs for exec'ed processes | Lennart Poettering | 2008-07-28 | 1 | -0/+2 |
| | |||||
* | add a bit more error checking | Lennart Poettering | 2008-07-28 | 1 | -4/+14 |
| | |||||
* | save/restore errno where applicable | Lennart Poettering | 2008-07-28 | 1 | -2/+17 |
| | |||||
* | decrement number of possible args | Lennart Poettering | 2008-07-28 | 1 | -2/+1 |
| | |||||
* | shorten code a bit | Lennart Poettering | 2008-07-28 | 1 | -4/+1 |
| | |||||
* | make retval checking more portable | Lennart Poettering | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | be a bit more explicative | Lennart Poettering | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | save/restore errno where applicable | Lennart Poettering | 2008-07-28 | 1 | -1/+3 |
| | |||||
* | fix a few thinkos in handling of exception lists | Lennart Poettering | 2008-07-28 | 1 | -12/+28 |
| | |||||
* | create retval pipes once only | Lennart Poettering | 2008-07-28 | 1 | -2/+8 |
| | |||||
* | save and restore errno where necessary | Lennart Poettering | 2008-07-28 | 1 | -0/+7 |
| | |||||
* | add more error checking | Lennart Poettering | 2008-07-28 | 1 | -1/+9 |
| | |||||
* | reorder a few things, so that logging works properly very early already | Lennart Poettering | 2008-07-28 | 1 | -14/+15 |
| | |||||
* | add a bit more error checking | Lennart Poettering | 2008-07-28 | 1 | -3/+10 |
| | |||||
* | fix indentation | Lennart Poettering | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | save and restore errno in destructor | Lennart Poettering | 2008-07-28 | 1 | -0/+4 |
| | |||||
* | make sure we don't keep a round a va_list that is started but not stopped | Lennart Poettering | 2008-07-28 | 1 | -5/+3 |
| | |||||
* | destruct signal fds on failure | Lennart Poettering | 2008-07-28 | 1 | -1/+3 |
| | |||||
* | don't call fcntl unless we have to | Lennart Poettering | 2008-07-28 | 1 | -6/+7 |
| | |||||
* | update licenses/file headers | Lennart Poettering | 2008-07-28 | 14 | -298/+284 |
| | |||||
* | modernize build system | Lennart Poettering | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | add API to block/reset signals | Lennart Poettering | 2008-04-25 | 2 | -61/+275 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@139 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | fix doc wording | Lennart Poettering | 2008-04-25 | 1 | -4/+4 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@138 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | Use asprintf() to set the path of the pidfile rather than using a 4KB static ↵ | Lennart Poettering | 2008-03-26 | 1 | -17/+23 |
| | | | | | | buffer. Modified patch from Flameeyes git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@136 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | Respect what the user requested as localstate directory, rather than ↵ | Lennart Poettering | 2008-03-26 | 2 | -1/+3 |
| | | | | | | hardcoding /var. Patch from Flameeyes git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@135 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | document daemon_logv() a bit better. Patch from tedp | Lennart Poettering | 2007-11-14 | 1 | -1/+4 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@133 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | save and restore errno in sighandler | Lennart Poettering | 2007-10-30 | 1 | -0/+2 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@132 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | if opening the pid file on O_RDWR doesn't work, fallback to O_RDONLY | Lennart Poettering | 2007-09-10 | 1 | -3/+13 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@131 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | bump version and soname | Lennart Poettering | 2007-07-10 | 1 | -1/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@128 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | Fix brown paper bag bug with handling the first argument passed to ↵ | Lennart Poettering | 2007-07-10 | 1 | -6/+10 |
| | | | | | | daemon_close_all(). Patch supplied by Sjoerd Simons git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@127 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | Hurd build fix | Lennart Poettering | 2007-06-22 | 1 | -0/+4 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@125 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | fix pid file parsing | Lennart Poettering | 2007-06-11 | 1 | -0/+2 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@123 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | bump soname and package version | Lennart Poettering | 2007-06-11 | 1 | -1/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@122 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | minor fixup | Lennart Poettering | 2007-06-11 | 1 | -1/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@120 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | make use of gcc sentinel attribute | Lennart Poettering | 2007-06-11 | 1 | -1/+8 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@119 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | Reenable linux-specifc daemon_close_all() code | Lennart Poettering | 2007-06-11 | 1 | -1/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@118 153bfa13-eec0-0310-be40-b0cb6a0e1b4b | ||||
* | Make sure that we always return a sensible errno | Lennart Poettering | 2007-06-11 | 6 | -14/+52 |
| | | | | git-svn-id: file:///home/lennart/svn/public/libdaemon/trunk@117 153bfa13-eec0-0310-be40-b0cb6a0e1b4b |