aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* a much of multicasting stuffMattias Andrée2014-05-1110-46/+623
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + release all resources before re-execingMattias Andrée2014-05-113-36/+66
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* move mutex_created into client_t + error handling for pthread_*_initMattias Andrée2014-05-113-7/+30
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-05-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* race conditionMattias Andrée2014-05-101-20/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix compare overflowMattias Andrée2014-05-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add full_write and add full_readMattias Andrée2014-05-083-48/+99
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use the data structure marshallersMattias Andrée2014-05-086-182/+109
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* split up mds-server structs into their own .h-files and add marshal functionsMattias Andrée2014-05-0810-135/+490
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Move mds-server into its own directoryMattias Andrée2014-05-083-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-05-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* work on supporting re-exec during message coordinationMattias Andrée2014-05-082-30/+97
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-05-071-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-9/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macros and do not du null-check before free:ing, free does that for usMattias Andrée2014-05-078-292/+241
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* send to clients (does not implement modifiers yet)Mattias Andrée2014-05-071-1/+29
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* sort interceptors by priorityMattias Andrée2014-05-071-0/+18
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* get multicast recipientsMattias Andrée2014-05-072-4/+92
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* collect headers in preparation to multicastMattias Andrée2014-05-072-10/+109
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + ignore EINTR when sending a messageMattias Andrée2014-05-071-5/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* do not destroy the mutex and condition before we have used to to join with all slavesMattias Andrée2014-05-071-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + docMattias Andrée2014-05-071-5/+36
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* list interception conditionsMattias Andrée2014-05-072-2/+151
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* I should really write better commit messagesMattias Andrée2014-05-072-41/+186
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-05-071-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-05-072-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-05-075-7/+126
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add a todoMattias Andrée2014-05-061-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-05-064-27/+58
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xsigactionMattias Andrée2014-05-064-19/+53
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add foreach_linked_list_nodeMattias Andrée2014-05-062-22/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-061-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add util.cMattias Andrée2014-05-065-51/+131
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* move config.h into libmdsserverMattias Andrée2014-05-063-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add monotone macroMattias Andrée2014-05-062-2/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strequals and startswith macros + add drop_privileges macro that drops the group before the userMattias Andrée2014-05-063-10/+44
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-061-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use macros in mds.cMattias Andrée2014-05-062-48/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add buf_set/get_next macrosMattias Andrée2014-05-065-74/+74
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* kill all threadsMattias Andrée2014-05-062-20/+57
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* close files before running initrcMattias Andrée2014-05-061-15/+29
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* close untracked files if unmarshal from re-exec failsMattias Andrée2014-05-062-2/+32
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macrosMattias Andrée2014-05-056-161/+253
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macrosMattias Andrée2014-05-052-32/+44
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xsnprintf macroMattias Andrée2014-05-052-9/+47
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* it would be a shame if we could not re-exec because we have filled the pipeMattias Andrée2014-05-053-46/+51
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>