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 |
| | |||||
* | Merge pull request #10787 from yuwata/libudev-cleanups | Zbigniew Jędrzejewski-Szmek | 2018-11-20 | 27 | -638/+160 |
|\ | | | | | libudev: drop unused private functions | ||||
| * | 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 | 6 | -5/+60 |
|\ | | | | | tests: add a fuzzer for journald streams | ||||
| * | tests: add a fuzzer for journald streams | Evgeny Vereshchagin | 2018-11-20 | 6 | -5/+60 |
| | | |||||
* | | zsh-completion: Add support for set-property (#10322) | Xuanwo | 2018-11-20 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #10801 from ssc-services/zsh-completion_machinectl_clone | Yu Watanabe | 2018-11-20 | 1 | -1/+3 |
|\ \ | | | | | | | zsh-completion: complete available, not running machines for `clone` | ||||
| * | | zsh-completion: typo (`proerties` > `properties`) | Elias Probst | 2018-11-16 | 1 | -1/+1 |
| | | | |||||
| * | | zsh-completion: complete available, not running machines for `clone` | Elias Probst | 2018-11-16 | 1 | -0/+2 |
| | | | |||||
* | | | 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 | 2 | -0/+19 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | | | | doc: document the boot menu entry identifier vocabulary | Lennart Poettering | 2018-11-19 | 1 | -0/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing text already said "See below regarding a recommended vocabulary for boot loader entry identifiers.", but the section for it was still missing. Let's fill in the missing bits, and describe basic suggested rules for the boot menu entry identifier vocabulary, in particular how to identify Windows and MacOS X installations, and how to name automatic entries vs. explicitly configured ones. This basically follows the logic implemented in sd-boot these days. | ||||
* | | | | 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 |
| | | | |