Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | attributes | Mattias Andrée | 2015-08-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | mds: style | Mattias Andrée | 2015-08-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | the first argument on socket() should be PF_, not AF_ as often documented, although it does not really matter because PF_ to AF_ is a bijective ↵ | Mattias Andrée | 2015-08-22 | 1 | -1/+1 |
| | | | | | | identity mapping (PF_UNSPEC was even added to make this true.) 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ée | 2015-08-21 | 1 | -5/+5 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | fix error where mode_t argument was not added when O_CREAT was used in open | Mattias Andrée | 2015-07-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m doc + iprint and iprintf macros + siginfo on mds, mds-vt and mds-respawn | Mattias Andrée | 2015-04-18 | 1 | -0/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | bump year | Mattias Andrée | 2015-02-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | no more direct allocations, always use macros, unless using alloca | Mattias Andrée | 2014-12-10 | 1 | -4/+3 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | make fail_if friendlier to complex if-statements | Mattias Andrée | 2014-12-09 | 1 | -19/+11 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | with a few exceptions, never return directly on failure, always goto fail by invoking fail_if | Mattias Andrée | 2014-12-09 | 1 | -24/+24 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | rename pfail to fail | Mattias Andrée | 2014-12-08 | 1 | -4/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + make sure we never lose errno | Mattias Andrée | 2014-12-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | no more goto fail | Mattias Andrée | 2014-12-08 | 1 | -6/+8 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | replace all goto pfail with fail_if, so that we can take whence it failed | Mattias Andrée | 2014-12-08 | 1 | -16/+9 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | kernel: remove umask until we exec into mds-server | Mattias Andrée | 2014-09-20 | 1 | -3/+17 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | create and export process group | Mattias Andrée | 2014-08-31 | 1 | -14/+20 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | if the system is awesome enough to have sigupdate defined, use it instead of sigusr1 | Mattias Andrée | 2014-08-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | setenv can fail | Mattias Andrée | 2014-08-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | remove old debug print + mds kernel should ignore danger | Mattias Andrée | 2014-08-20 | 1 | -1/+4 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add fork_for_safety option + beginning of kernel-based keyboard | Mattias Andrée | 2014-08-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | kernel: put process name in quotes and print exit status and termination signal on crashed processes | Mattias Andrée | 2014-06-09 | 1 | -3/+8 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | test and fix mds-respawn + add missed staging: monotonic clock should be raw | Mattias Andrée | 2014-06-07 | 1 | -1/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | begin on base for servers | Mattias Andrée | 2014-05-19 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-05-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | style + reduce code complexity | Mattias Andrée | 2014-05-18 | 1 | -132/+128 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | reduce code complexity | Mattias Andrée | 2014-05-18 | 1 | -119/+93 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + add test client | Mattias Andrée | 2014-05-14 | 1 | -3/+13 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add fix export of variable | Mattias Andrée | 2014-05-14 | 1 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m fix | Mattias Andrée | 2014-05-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-05-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + fix errors in mds.c | Mattias Andrée | 2014-05-12 | 1 | -23/+78 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add xsigaction | Mattias Andrée | 2014-05-06 | 1 | -2/+7 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | move config.h into libmdsserver | Mattias Andrée | 2014-05-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | add monotone macro | Mattias Andrée | 2014-05-06 | 1 | -2/+2 |
| | | | | 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 | 1 | -2/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | use macros in mds.c | Mattias Andrée | 2014-05-06 | 1 | -45/+22 |
| | | | | 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> | ||||
* | make it possible to select master server | Mattias Andrée | 2014-04-21 | 1 | -10/+30 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m misc + create directory for temporary data | Mattias Andrée | 2014-04-21 | 1 | -33/+132 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | unlink pid file on exit | Mattias Andrée | 2014-04-21 | 1 | -0/+5 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | mds-server: parse command line arguments | Mattias Andrée | 2014-04-21 | 1 | -7/+6 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + spawn and respawn master server | Mattias Andrée | 2014-04-21 | 1 | -3/+122 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + listen on socket | Mattias Andrée | 2014-04-20 | 1 | -1/+10 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | create and bind socket | Mattias Andrée | 2014-04-20 | 1 | -0/+24 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m | Mattias Andrée | 2014-04-20 | 1 | -1/+2 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | m + reuse display indices | Mattias Andrée | 2014-04-20 | 1 | -1/+50 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | create pid file and set environment | Mattias Andrée | 2014-04-20 | 1 | -10/+45 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | misc | Mattias Andrée | 2014-04-20 | 1 | -13/+75 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | not too much... | Mattias Andrée | 2014-04-20 | 1 | -0/+89 |
Signed-off-by: Mattias Andrée <maandree@operamail.com> |