Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-22 | missing.h: add a cpp warning for __NR_memfd_create on MIPS | Daniel Mack | |
2014-08-22 | missing.h: add fake __NR_memfd_create for MIPS | Daniel Mack | |
We don't have the correct __NR_memfd_create syscall number yet, so set it to 0xffffffff for now to prevent compile time errors. | |||
2014-08-22 | shared: add MAXSIZE() and use it in resolved | David Herrmann | |
The MAXSIZE() macro takes two types and returns the size of the larger one. It is much simpler to use than MAX(sizeof(A), sizeof(B)) and also avoids any compiler-extensions, unlike CONST_MAX() and MAX() (which are needed to avoid evaluating arguments more than once). This was suggested by Daniele Nicolodi <daniele@grinta.net>. Also make resolved use this macro instead of CONST_MAX(). This enhances readability quite a bit. | |||
2014-08-22 | dbus1-generator: properly free the FILE* | Lennart Poettering | |
Also, rework the code to make use of fflush_and_check(). Issue discovered by Simon Danner. | |||
2014-08-21 | update TODO | Lennart Poettering | |
2014-08-21 | systemctl: in list-unit-files, always show legend, even if we know about no ↵ | Lennart Poettering | |
unit files | |||
2014-08-21 | install: simplify usage of _cleanup_ macros | Lennart Poettering | |
2014-08-21 | service: allow services of Type=oneshot that specify no ExecStart= commands | Lennart Poettering | |
This is useful for services that simply want to run something on shutdown, but not at bootup. They should only set ExecStop= but leave ExecStart= unset. | |||
2014-08-21 | update TODO | Lennart Poettering | |
2014-08-21 | service: use the right timeout for stop processes we fork | Lennart Poettering | |
2014-08-21 | execute: explain in a comment, why close_all_fds() is invoked the second ↵ | Lennart Poettering | |
time differently | |||
2014-08-21 | bus: when terminating our bus-actviated services that exit-on-idle send ↵ | Lennart Poettering | |
STOPPING=1 via sd_notify() This should fix a race where a service thatis idle drops its name, and is immediately requested by another client, which causes dbus-daemon to ask systemd to activate it again, but since systemd still assumes it is running it won't do anything. | |||
2014-08-21 | update TODO | Lennart Poettering | |
2014-08-21 | notify: send STOPPING=1 from our daemons | Lennart Poettering | |
2014-08-21 | core: allow informing systemd about service status changes with RELOADING=1 ↵ | Lennart Poettering | |
and STOPPING=1 sd_notify() messages | |||
2014-08-21 | manager: don#t dispatch sd_notify() messages and SIGCHLD multiple times to ↵ | Lennart Poettering | |
the same units | |||
2014-08-21 | manager: reuse sockaddr_union instead of redefining our own version of it | Lennart Poettering | |
2014-08-21 | service,strv: introduce strv_find_startswith() and make use of it | Lennart Poettering | |
Unlike strv_find_prefix() the new call will return a pointer to the suffix of the item we found, instead of the whole item. This is more closer inline with what startswith() does, and allows us to simplify a couple of invocations. | |||
2014-08-21 | service: don't invoke functions at the same time as declaring variables | Lennart Poettering | |
2014-08-21 | service: remove some pointless linebreaks, to make things more readable | Lennart Poettering | |
2014-08-21 | service: asynchronous_close() already checks for negative parameters, no ↵ | Lennart Poettering | |
need to duplicate that | |||
2014-08-21 | core: unify how we generate the prefix string when dumping unit state | Lennart Poettering | |
2014-08-21 | util: make asynchronous_close() really work like an asynchronous version of ↵ | Lennart Poettering | |
safe_close() Save/restore errno, like we do in safe_close(). And don't fork a thread if the parameter is already negative. | |||
2014-08-21 | util: simplify close_nointr() a bit | Lennart Poettering | |
2014-08-21 | util: change return value of startswith() to non-const | Lennart Poettering | |
This way we can use it on non-const strings, and don't end up with a const'ified result. This is similar to libc's strstr() which also takes a const string but returns a non-const one. | |||
2014-08-21 | CODING_STYLE: document that we don't break lines at 80ch | Lennart Poettering | |
2014-08-21 | journalctl: add "-t --identifier=STRING" option | Harald Hoyer | |
This turns journalctl to the counterpart of systemd-cat. Messages sent with systemd-cat --identifier foo --prioritiy debug can now be shown with journalctl --identifier foo --prioritiy debug "--identifier" is not merged with "--unit" to make a clear distinction between syslog and systemd units. syslog identifiers can be chosen freely by anyone. | |||
2014-08-20 | sd-event: add API to access epoll_fd | Tom Gundersen | |
This is a prerequisite for integrating sd-event into an external event loop. | |||
2014-08-20 | resolved: write resolv.conf search - switch arguments | Tom Gundersen | |
Found by Lukáš Nykrýn. | |||
2014-08-20 | journal-upload: make sure that 'r' is initialized | Lukas Nykryn | |
2014-08-20 | util: return after freeing all members of array | Lukas Nykryn | |
2014-08-20 | journal-remote: remove unreachable code | Lukas Nykryn | |
2014-08-20 | resolved: fix which return codes we check | Lennart Poettering | |
Discovered by Lukas Nykryn | |||
2014-08-20 | resolved-dns-rr: fix typo | Lukas Nykryn | |
a->rrsig.type_covered != a->rrsig.type_covered" is always false regardless of the values of its operands because those operands are identical. | |||
2014-08-20 | machine-id-setup: don't try to read UUID from VM/container manager if we ↵ | Lennart Poettering | |
operate on a root directory that's not / This should make sure no UUID from the host systemd-machine-id-setup is running on leaks onto a disk image that is provisioned with the tool. | |||
2014-08-20 | build: remove repeated KMOD section | Tom Gundersen | |
2014-08-20 | systemctl: fail in the case that no unit files were found | Lukas Nykryn | |
Previously systemctl died with message -bash-4.2# systemctl --root /rawhi list-unit-files (src/systemctl/systemctl.c:868) Out of memory. in the case that no unit files were found in the --root or the directory did not exist. So lets return ENOENT in the case that --root does not exist and empty list in the case that there are no unit files. | |||
2014-08-20 | CONST_MAX breaks gcc on fedora 20 with optimiztationsystemd/v216 | Lennart Poettering | |
2014-08-20 | build: include more optional modules in build string | Lennart Poettering | |
2014-08-20 | update hwdb | Lennart Poettering | |
2014-08-20 | indentation/spurious whitespace fixes | Lennart Poettering | |
2014-08-20 | journal-upload: allow the tool to start | Lennart Poettering | |
2014-08-20 | cmdline: for new tools avoid introduce new negative switches, and properly ↵ | Lennart Poettering | |
align --help texts Negative switches are a bad un-normalized thing. We alerady have some, but we should try harder to avoid intrdoucing new ones. Hence, instead of adding two switches: --foobar --no-foobar Let's instead use the syntax --foobar --foobar=yes --foobar=no Where the first two are equivalent. The boolean argument is parsed following the usual rules. Change all new negative switches this way. This patch also properly aligns the --help table, so that single char switches always get a column separate of the long switches. | |||
2014-08-20 | README: mention the new optional libidn dependency | Lennart Poettering | |
2014-08-20 | update NEWS | Lennart Poettering | |
2014-08-20 | man: fix typos | Ronny Chevalier | |
2014-08-19 | NEWS | Tom Gundersen | |
2014-08-19 | sysusers: initialize r | Thomas Hindoe Paaboel Andersen | |
Needed for the stdin case where it could otherwise end up being used uninitialized. | |||
2014-08-19 | NEWS: typo fixes | Thomas Hindoe Paaboel Andersen | |
2014-08-19 | remove unused variables | Thomas Hindoe Paaboel Andersen | |