Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | generators: introduce a common implementation for the log setup boilerplate | Lennart Poettering | 2018-11-20 | 13 | -44/+26 |
| | |||||
* | libudev: coding style fixes | Yu Watanabe | 2018-11-20 | 5 | -17/+17 |
| | |||||
* | libudev-list: move libudev-list related definitions to libudev-list-internal.h | Yu Watanabe | 2018-11-20 | 25 | -142/+114 |
| | | | | | This also rename libudev-private.h to libudev-util.h, and cleanups several unnecessary headers from udev.h and libudev-util.h | ||||
* | libudev: drop prototypes for nonexistent functions | Yu Watanabe | 2018-11-20 | 1 | -2/+0 |
| | |||||
* | libudev-monitor: drop unused private functions | Yu Watanabe | 2018-11-20 | 2 | -63/+25 |
| | |||||
* | libudev-device: drop unused private functions | Yu Watanabe | 2018-11-20 | 3 | -410/+0 |
| | |||||
* | udev: move definition of READ_END and WRITE_END from libudev-private.h to udev.h | Yu Watanabe | 2018-11-20 | 2 | -4/+4 |
| | |||||
* | Merge pull request #10847 from evverx/journald-stream-fuzzer | Yu Watanabe | 2018-11-20 | 5 | -5/+52 |
|\ | | | | | tests: add a fuzzer for journald streams | ||||
| * | tests: add a fuzzer for journald streams | Evgeny Vereshchagin | 2018-11-20 | 5 | -5/+52 |
| | | |||||
* | | Merge pull request #10835 from poettering/transient-env-fix | Yu Watanabe | 2018-11-20 | 3 | -5/+8 |
|\ \ | | | | | | | fix flushing out of transient env vars from PID1's Manager object | ||||
| * | | main: when reloading PID 1 let's reset the default environment | Lennart Poettering | 2018-11-19 | 3 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we keep collecting stuff from env generators, and we really shouldn't. This was working properly on reexec but not on reload, as for reexec we would always start fresh, but for reload would reuse the Manager object and hence its default environment set. Fixes: #10671 | ||||
| * | | manager: log on two OOM occasions | Lennart Poettering | 2018-11-19 | 1 | -2/+2 |
| | | | |||||
* | | | bootspec: introduce SYSTEMD_ESP_PATH for overriding where to look for the ↵ | Lennart Poettering | 2018-11-20 | 1 | -0/+13 |
| | | | | | | | | | | | | ESP (#10834) | ||||
* | | | process-util: check for correct kill return value (#10841) | David Leeds | 2018-11-20 | 1 | -2/+2 |
| | | | | | | | | | Code was not doing a wait() after kill() due to checking for a return value > 0, and was leaving zombie processes. This affected things like sd-bus unixexec connections. | ||||
* | | | tree-wide: use __ prefixed gcc attributes (#10843) | Lennart Poettering | 2018-11-20 | 9 | -49/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggest here: https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax "You may optionally specify attribute names with ‘__’ preceding and following the name. This allows you to use them in header files without being concerned about a possible macro of the same name. For example, you may use the attribute name __noreturn__ instead of noreturn. " | ||||
* | | | Merge pull request #10845 from poettering/static-destruct | Yu Watanabe | 2018-11-20 | 37 | -38/+127 |
|\ \ \ | | | | | | | | | RFC: introduce automatic destructors for static variables | ||||
| * | | | debug-generator: port over to using static destructors | Lennart Poettering | 2018-11-19 | 1 | -13/+7 |
| | | | | |||||
| * | | | debug-generator: port over to DEFINE_MAIN_FUNCTION() | Lennart Poettering | 2018-11-19 | 1 | -3/+5 |
| | | | | |||||
| * | | | main-func: automatically call static destructors from main-func.h macros | Lennart Poettering | 2018-11-19 | 1 | -0/+4 |
| | | | | |||||
| * | | | util: add set of macros for declaring _cleanup_-style destructors for static ↵ | Lennart Poettering | 2018-11-19 | 2 | -0/+52 |
| | | | | | | | | | | | | | | | | variables | ||||
| * | | | util-lib: move main() definition macros to its own header file | Lennart Poettering | 2018-11-19 | 35 | -23/+60 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | This way, we can extend the macro a bit with stuff pulled in from other headers without this affecting everything which pulls in macro.h, which is one of our most basic headers. This is just refactoring, no change in behaviour, in prepartion for later changes. | ||||
* | | | tests: always use the right vtable wrapper calls | Lennart Poettering | 2018-11-20 | 2 | -10/+10 |
| | | | | | | | | | | | | Prompted by https://github.com/systemd/systemd/pull/10836#discussion_r234598868 | ||||
* | | | test-execute: fix killing of unit processes | Lennart Poettering | 2018-11-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's use the correct wrapper for calling unit vtable functions. Let's make sure we always use the right wrappers, and never bypass them needlessly. Moreover use SIGKILL rather than "9" as signal name. Let's not be needlessly cryptic. Follow-up for: f7f8e8cbb953686c520969a66a9718675a972af5 | ||||
* | | | meson: order source files alphabetically | Lennart Poettering | 2018-11-19 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #10811 from keszybz/define-main-through-macro | Lennart Poettering | 2018-11-19 | 32 | -701/+472 |
|\ \ | | | | | | | Define main through macro | ||||
| * | | volatile-root: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -22/+12 |
| | | | |||||
| * | | tty-ask-password-agent: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -21/+18 |
| | | | |||||
| * | | sysv-generator: configure logging before use and define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -21/+16 |
| | | | |||||
| * | | stdio-bridge: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -94/+48 |
| | | | |||||
| * | | sleep: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -9/+8 |
| | | | |||||
| * | | remount-fs: configure logging before use and define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -44/+31 |
| | | | |||||
| * | | random-seed: configure logging before use and define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -46/+27 |
| | | | |||||
| * | | quotacheck: configure logging before use and define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -11/+12 |
| | | | |||||
| * | | portabled: add missing STOPPING=1 notification | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -0/+3 |
| | | | |||||
| * | | portabled: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -16/+9 |
| | | | |||||
| * | | path: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -6/+7 |
| | | | |||||
| * | | makefs: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -19/+14 |
| | | | |||||
| * | | notify: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -40/+25 |
| | | | |||||
| * | | machined: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -15/+9 |
| | | | |||||
| * | | user-runtime-dir: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -14/+11 |
| | | | |||||
| * | | logind: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -19/+11 |
| | | | |||||
| * | | inhibit: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -21/+12 |
| | | | |||||
| * | | cat: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -15/+10 |
| | | | |||||
| * | | import: define mains through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 4 | -35/+25 |
| | | | |||||
| * | | id128: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -6/+5 |
| | | | |||||
| * | | hwdb: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -6/+5 |
| | | | |||||
| * | | hostnamectl: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -10/+7 |
| | | | |||||
| * | | fsck: configure logging before use and define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -60/+36 |
| | | | | | | | | | | | | | | | | | | | | | There's a slight change in logic: before, when rebooting the machine, we could also request quotacheck (by touching /run/systemd/quotacheck) if the fsck helper set FSCK_ERROR_CORRECTED. This is just a race, and doesn't matter much in practice. | ||||
| * | | escape: use free_and_replace | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -5/+3 |
| | | | |||||
| * | | escape: define main through macro | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 1 | -50/+30 |
| | | |