Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | misc | Mattias Andrée | 2014-05-06 | 4 | -27/+58 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add xsigaction | Mattias Andrée | 2014-05-06 | 4 | -19/+53 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add foreach_linked_list_node | Mattias Andrée | 2014-05-06 | 2 | -22/+16 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-05-06 | 1 | -1/+0 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add util.c | Mattias Andrée | 2014-05-06 | 5 | -51/+131 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | move config.h into libmdsserver | Mattias Andrée | 2014-05-06 | 3 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add monotone macro | Mattias Andrée | 2014-05-06 | 2 | -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 user | Mattias Andrée | 2014-05-06 | 3 | -10/+44 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-05-06 | 1 | -2/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | use macros in mds.c | Mattias Andrée | 2014-05-06 | 2 | -48/+25 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add buf_set/get_next macros | Mattias Andrée | 2014-05-06 | 5 | -74/+74 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | kill all threads | Mattias Andrée | 2014-05-06 | 2 | -20/+57 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | close files before running initrc | Mattias Andrée | 2014-05-06 | 1 | -15/+29 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | close untracked files if unmarshal from re-exec fails | Mattias Andrée | 2014-05-06 | 2 | -2/+32 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | use more macros | Mattias Andrée | 2014-05-05 | 6 | -161/+253 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | use more macros | Mattias Andrée | 2014-05-05 | 2 | -32/+44 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add xsnprintf macro | Mattias Andrée | 2014-05-05 | 2 | -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 pipe | Mattias Andrée | 2014-05-05 | 3 | -46/+51 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | change doc in preparation for upcoming change | Mattias Andrée | 2014-05-04 | 2 | -14/+14 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | restart slave threads after a re-exec | Mattias Andrée | 2014-05-04 | 1 | -79/+102 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | unlist clients we failed to load | Mattias Andrée | 2014-05-04 | 1 | -43/+61 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | populate address remap table | Mattias Andrée | 2014-05-04 | 3 | -20/+82 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | read the marshalled data from the pipe | Mattias Andrée | 2014-05-04 | 1 | -1/+43 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | some work on unmarshalling | Mattias Andrée | 2014-05-03 | 2 | -24/+155 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + doc | Mattias Andrée | 2014-05-03 | 1 | -4/+41 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-05-03 | 1 | -1/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | compile-time configurable api-fs path | Mattias Andrée | 2014-05-03 | 2 | -1/+9 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | separation of server state marshaling into a new method | Mattias Andrée | 2014-05-03 | 2 | -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 cmdline | Mattias Andrée | 2014-05-03 | 1 | -3/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | more re-exec stuff | Mattias Andrée | 2014-05-02 | 1 | -4/+79 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | some more work on re-exec | Mattias Andrée | 2014-05-02 | 2 | -17/+141 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | some re-exec stuff | Mattias Andrée | 2014-05-02 | 1 | -7/+54 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add version when marshaling | Mattias Andrée | 2014-04-28 | 8 | -4/+38 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | use sig_atomic_t for running | Mattias Andrée | 2014-04-28 | 1 | -1/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add todo | Mattias Andrée | 2014-04-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | store the socket's state | Mattias Andrée | 2014-04-28 | 2 | -0/+7 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | handle closing of sockets by peer | Mattias Andrée | 2014-04-28 | 1 | -4/+13 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | we should of cause use recv and not read | Mattias Andrée | 2014-04-28 | 1 | -1/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | derp | Mattias Andrée | 2014-04-28 | 1 | -4/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-04-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | read messages from client | Mattias Andrée | 2014-04-28 | 2 | -2/+45 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | fix readme | Mattias Andrée | 2014-04-27 | 1 | -10/+43 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | whoops | Mattias Andrée | 2014-04-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-04-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | doc | Mattias Andrée | 2014-04-27 | 1 | -2/+9 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m fixes + doc | Mattias Andrée | 2014-04-27 | 1 | -6/+61 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | return -1 not 1 on failure | Mattias Andrée | 2014-04-27 | 1 | -4/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | well, that was unnecessary | Mattias Andrée | 2014-04-27 | 1 | -1/+0 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | finish mds-message | Mattias Andrée | 2014-04-27 | 2 | -13/+199 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | ipc message class, does not do reading yet | Mattias Andrée | 2014-04-27 | 3 | -1/+353 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> |