aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* change doc in preparation for upcoming changeMattias Andrée2014-05-042-14/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* restart slave threads after a re-execMattias Andrée2014-05-041-79/+102
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* unlist clients we failed to loadMattias Andrée2014-05-041-43/+61
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* populate address remap tableMattias Andrée2014-05-043-20/+82
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* read the marshalled data from the pipeMattias Andrée2014-05-041-1/+43
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some work on unmarshallingMattias Andrée2014-05-032-24/+155
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + docMattias Andrée2014-05-031-4/+41
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-031-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* compile-time configurable api-fs pathMattias Andrée2014-05-032-1/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* separation of server state marshaling into a new methodMattias Andrée2014-05-032-98/+117
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no need to marshal the socket's fd, it is already included in the cmdlineMattias Andrée2014-05-031-3/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* more re-exec stuffMattias Andrée2014-05-021-4/+79
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some more work on re-execMattias Andrée2014-05-022-17/+141
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* some re-exec stuffMattias Andrée2014-05-021-7/+54
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add version when marshalingMattias Andrée2014-04-288-4/+38
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use sig_atomic_t for runningMattias Andrée2014-04-281-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add todoMattias Andrée2014-04-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* store the socket's stateMattias Andrée2014-04-282-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* handle closing of sockets by peerMattias Andrée2014-04-281-4/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* we should of cause use recv and not readMattias Andrée2014-04-281-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-04-281-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-04-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* read messages from clientMattias Andrée2014-04-282-2/+45
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix readmeMattias Andrée2014-04-271-10/+43
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whoopsMattias Andrée2014-04-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-04-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* docMattias Andrée2014-04-271-2/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixes + docMattias Andrée2014-04-271-6/+61
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* return -1 not 1 on failureMattias Andrée2014-04-271-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* well, that was unnecessaryMattias Andrée2014-04-271-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* finish mds-messageMattias Andrée2014-04-272-13/+199
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ipc message class, does not do reading yetMattias Andrée2014-04-273-1/+353
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-04-266-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-04-264-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* take care of realloc failuresMattias Andrée2014-04-262-10/+34
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add table optimised for file descriptorsMattias Andrée2014-04-267-47/+567
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixes + store client information in a hash table and in a linked listMattias Andrée2014-04-234-7/+101
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add value remapping to hash table unmarshalingMattias Andrée2014-04-232-10/+22
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>