aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearMattias Andrée2016-07-0922-22/+22
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* everything except mds-kkbd and mds-vt compiles with musl; mds-kkbd and mds-vt does not because they require <linux/> headersMattias Andrée2015-08-281-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* attributesMattias Andrée2015-08-2513-10/+51
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-server: styleMattias Andrée2015-08-243-6/+49
| | | | 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-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* bump yearMattias Andrée2015-02-1322-22/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xmemdup macroMattias Andrée2014-12-104-12/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-104-11/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* merge track-errors and resolve conflictMattias Andrée2014-12-0911-119/+128
|\ | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * with a few exceptions, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-098-66/+69
| | | | | | | | 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-083-12/+18
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * rename pfail to failMattias Andrée2014-12-084-13/+13
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * m + make sure we never lose errnoMattias Andrée2014-12-082-6/+5
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * no more goto failMattias Andrée2014-12-083-29/+30
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * replace all goto pfail with fail_if, so that we can take whence it failedMattias Andrée2014-12-081-2/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | improve with_mutex and with_mutex_if alsoMattias Andrée2014-12-091-3/+1
|/ | | | 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-138-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* pack client_list on dangerMattias Andrée2014-09-082-4/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todos on things to do on dangerMattias Andrée2014-08-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add sigdanger supportMattias Andrée2014-08-201-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-123-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* missed explicit castMattias Andrée2014-08-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make it possible to consume messagesMattias Andrée2014-08-121-1/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-121-41/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fork_for_safety option + beginning of kernel-based keyboardMattias Andrée2014-08-111-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-026-20/+20
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-022-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix multiple clients bug: minor bug in linked_list caused removal of old clients + add dump method for linked listMattias Andrée2014-07-271-3/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mark temporary printsMattias Andrée2014-07-261-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + fix: include header value in interception conditionsMattias Andrée2014-06-081-0/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-06-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of mds-respawnMattias Andrée2014-06-071-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix some client marshalling errorsMattias Andrée2014-06-073-5/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add zero length checkMattias Andrée2014-06-071-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix errors in client marshallingMattias Andrée2014-06-071-6/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix file namesMattias Andrée2014-06-0711-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add some zero length checksMattias Andrée2014-06-061-8/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-05-201-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Modify mds-server to use mds-base (some regression...)Mattias Andrée2014-05-2011-449/+221
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* misc, mostly mds-base re-execMattias Andrée2014-05-201-14/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add broadcast supportMattias Andrée2014-05-191-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add --alarm= optionsMattias Andrée2014-05-192-22/+45
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* exit cleanly on terminal interruption (sigint)Mattias Andrée2014-05-191-2/+24
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* store structure version for all structures when marshallingMattias Andrée2014-05-198-8/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Do not just queue "Client close" message, but also send itMattias Andrée2014-05-191-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Fix memory leakMattias Andrée2014-05-191-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-195-268/+377
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-191-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add to fixme:sMattias Andrée2014-05-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>