aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-base.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mds-base: missed to change this earlier, protocol family is PF_, not AF_, which would be address familyMattias Andrée2015-08-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* signal handlers that return should not modify errnoMattias Andrée2015-08-231-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add and use xclose and xfclose, we do not want close or fclose to be ignored because a singal interrupts it.Mattias Andrée2015-08-211-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* resolve warningMattias Andrée2015-07-071-1/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m doc + iprint and iprintf macros + siginfo on mds, mds-vt and mds-respawnMattias Andrée2015-04-181-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* noop implementation of siginfo supportMattias Andrée2015-04-121-0/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* bump yearMattias Andrée2015-02-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-101-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* missed to change some partsMattias Andrée2014-12-091-17/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make exit_if easier on the syntaxMattias Andrée2014-12-091-5/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make fail_if friendlier to complex if-statementsMattias Andrée2014-12-091-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-081-17/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rename pfail to failMattias Andrée2014-12-081-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more goto failMattias Andrée2014-12-081-16/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-11-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* doc style fixMattias Andrée2014-09-131-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* styloMattias Andrée2014-09-091-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not resend danger to other threadsMattias Andrée2014-09-081-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* set danger in mds-base's receive_dangerMattias Andrée2014-09-081-15/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add received_dangerMattias Andrée2014-09-081-12/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + info: mds-baseMattias Andrée2014-08-291-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* if the system is awesome enough to have sigupdate defined, use it instead of sigusr1Mattias Andrée2014-08-241-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + do not any assumtion of int typedefsMattias Andrée2014-08-241-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* full_read returns lengthMattias Andrée2014-08-231-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add --immortal optionMattias Andrée2014-08-201-2/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add sigdanger supportMattias Andrée2014-08-201-3/+48
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-121-2/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* the kernel messes with /proc/*/exe (security precaution?), so we read /proc/self/exec when we start the serverMattias Andrée2014-08-111-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fork_for_safety option + beginning of kernel-based keyboardMattias Andrée2014-08-111-2/+66
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-021-8/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-021-0/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2014-07-281-0/+45
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* styloMattias Andrée2014-07-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-base: add server_initialisedMattias Andrée2014-07-271-0/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of mds-respawnMattias Andrée2014-06-071-6/+47
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix incorrect detection of conflicting argumentsMattias Andrée2014-06-061-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Modify mds-server to use mds-base (some regression...)Mattias Andrée2014-05-201-3/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* misc, mostly mds-base re-execMattias Andrée2014-05-201-7/+165
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + store master threadMattias Andrée2014-05-191-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* set up signal handlingMattias Andrée2014-05-191-1/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add --alarm= optionsMattias Andrée2014-05-191-4/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* begin on base for serversMattias Andrée2014-05-191-0/+159
Signed-off-by: Mattias Andrée <maandree@operamail.com>