aboutsummaryrefslogtreecommitdiffstats
path: root/src/arpa (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-05mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-25allocsize is dangerousMattias Andrée2-2/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11todo: add procinitMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-06-13stack_will_overflow: we could forkMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-04-03explicit_bzero: set all bits to 1 before setting all bits to 0Mattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-30whoops, wrong typeMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-30strfry: forgot to declare bMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-30strfry: reset n to max when the do..while loop resetsMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-26strfry: fix random int range boundary, document that srand should have been called, support huge strings, and use uniform randomMattias Andrée2-3/+35
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-26mMattias Andrée1-3/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-26strfry: fix support for empty stringsMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-21Fix issue #11 on githubMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-18update todoMattias Andrée1-1/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-17update todoMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-05mMattias Andrée3-4/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-01derpMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-03-01strfry: use Durstenfeld's algorithm instead of Satallo's algorithmMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-02-29strfry: non-uniform random number generationMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-02-24fix terrible mistake in bsearchMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-02-20add bsearchMattias Andrée2-0/+100
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-02-14Fix issue #10 on githubMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2016-02-09improve machinemodeMattias Andrée1-14/+73
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-01-14misread specificationMattias Andrée2-22/+8
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2016-01-01partially split malloc.cMattias Andrée7-156/+281
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2016-01-01docMattias Andrée1-0/+24
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2016-01-01extension: free will perserve errnoMattias Andrée4-0/+20
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2016-01-01mMattias Andrée3-8/+25
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2016-01-01portabilityMattias Andrée2-3/+12
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
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>