aboutsummaryrefslogtreecommitdiffstats
path: root/src/error (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-01bump yearMattias Andrée264-264/+264
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-31m bug fix: reopen: closed wrong fdMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-31fix DAEMONISE_KEEP_FDSMattias Andrée1-3/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-31mMattias Andrée2-8/+15
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-31daemonise: add option to override pid fileMattias Andrée2-2/+12
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-31m bug fixMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30m bug fixMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30SIGKILL and SIGSTOP cannot be cought, for you get an exception even if SIG_DFL is usedMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30typo + other ways to catch fireMattias Andrée2-2/+55
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30needstack: We cannot protect ourself from death by SIGSEGV, the CPU would halt and catch fire.Mattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30needstack: forgot to set the maskMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30needstack: use pthread_sigmask rather than sigprocmaskMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30deferencing null is legalMattias Andrée1-0/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-30add reopenMattias Andrée2-4/+122
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29halt + hcfMattias Andrée3-0/+100
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29use pthread_sigmask, not sigprocmaskMattias Andrée4-12/+12
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29more functions to add + implement readn, writen, preadn, and pwritenMattias Andrée6-5/+404
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29typoMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28fix dup_at_least_3: must duplicate at least onceMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28daemonise: support keeping arbitrary fd:s openMattias Andrée2-8/+118
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28fix errorsMattias Andrée1-16/+19
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix errors and warningsMattias Andrée6-33/+35
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix warningMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27permission bitsMattias Andrée1-1/+204
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27docMattias Andrée1-0/+14
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix errorsMattias Andrée2-8/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix punctuationMattias Andrée2-8/+8
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix errors and warningsMattias Andrée12-23/+25
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix errorsMattias Andrée1-22/+27
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27suppress a bunch of warningsMattias Andrée1-0/+79
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-27fix a few errorsMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-26fix issue #9 on githubMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-25add undaemoniseMattias Andrée2-4/+68
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-23typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-23mMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-23daemonise: user-private daemonsMattias Andrée2-3/+21
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-23daemonise: may also be redistributed under the term of the expat licenseMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-23daemonise: etymologyMattias Andrée2-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-22update todoMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21doc F_OK, X_OK, W_OK, and R_OK, the placeholder values were the correct valuesMattias Andrée1-1/+60
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21typo + redirected .h filesMattias Andrée11-6/+106
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21add getenvMattias Andrée2-0/+99
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21add clearenvMattias Andrée2-0/+101
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21in case environ is set to nullMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21add getpassMattias Andrée2-0/+234
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-21attributesMattias Andrée2-4/+5
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>