Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move daemonization code to unix/ | Max Kellermann | 2014-01-24 | 1 | -268/+0 |
| | |||||
* | Daemon: fork as early as possible | Max Kellermann | 2014-01-18 | 1 | -25/+76 |
| | | | | | | | Keep the parent process around until MPD has finished initializing. This is important for libraries that are allergic to fork(), such as libupnp. | ||||
* | Daemon: move code to class PidFile | Max Kellermann | 2014-01-18 | 1 | -19/+5 |
| | |||||
* | Daemon: don't use daemon(), always require fork() | Max Kellermann | 2014-01-18 | 1 | -11/+0 |
| | | | | | | Prepare for more advanced daemonization code, which will not work with daemon(). Let's just require fork(). Everybody who supports daemon() also supports fork(). | ||||
* | copyright year 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'v0.18.x' | Max Kellermann | 2013-12-29 | 1 | -8/+11 |
|\ | |||||
| * | daemon: no initgroups() when already running as the configured user | Max Kellermann | 2013-12-29 | 1 | -1/+5 |
| | | | | | | | | | | We can assume that initgroups() would be a no-op in that case, however initgroups() is not allowed for unprivileged users anyway. | ||||
| * | Daemon: fix typo in comment | Max Kellermann | 2013-12-29 | 1 | -1/+1 |
| | | |||||
| * | Daemon: simplify nested "if" | Max Kellermann | 2013-12-29 | 1 | -5/+4 |
| | | |||||
| * | Daemon: fix typo in cast | Max Kellermann | 2013-12-29 | 1 | -1/+1 |
| | | |||||
* | | Daemon: use strdup() instead of g_strdup() | Max Kellermann | 2013-12-15 | 1 | -5/+3 |
| | | |||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 1 | -3/+0 |
|/ | |||||
* | fs/Path: rename to AllocatedPath | Max Kellermann | 2013-10-17 | 1 | -4/+4 |
| | | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. | ||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -5/+6 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | Daemon, Mapper: move-assign the Path objects | Max Kellermann | 2013-10-01 | 1 | -1/+1 |
| | |||||
* | ConfigPath: return a Path object | Max Kellermann | 2013-08-07 | 1 | -15/+22 |
| | | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller. | ||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 1 | -1/+1 |
| | |||||
* | FatalError: new library to replace mpd_error.h | Max Kellermann | 2013-08-07 | 1 | -23/+23 |
| | |||||
* | daemon: convert to C++ | Max Kellermann | 2013-08-07 | 1 | -0/+236 |