Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-11-20 | libudev: coding style fixes | Yu Watanabe | 5 | -17/+17 | |
2018-11-20 | libudev-list: move libudev-list related definitions to libudev-list-internal.h | Yu Watanabe | 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 | |||||
2018-11-20 | libudev: drop prototypes for nonexistent functions | Yu Watanabe | 1 | -2/+0 | |
2018-11-20 | libudev-monitor: drop unused private functions | Yu Watanabe | 2 | -63/+25 | |
2018-11-20 | libudev-device: drop unused private functions | Yu Watanabe | 3 | -410/+0 | |
2018-11-20 | udev: move definition of READ_END and WRITE_END from libudev-private.h to udev.h | Yu Watanabe | 2 | -4/+4 | |
2018-11-20 | zsh-completion: Add support for set-property (#10322) | Xuanwo | 1 | -1/+2 | |
2018-11-20 | bootspec: introduce SYSTEMD_ESP_PATH for overriding where to look for the ↵ | Lennart Poettering | 2 | -0/+19 | |
ESP (#10834) | |||||
2018-11-20 | process-util: check for correct kill return value (#10841) | David Leeds | 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. | |||||
2018-11-20 | tree-wide: use __ prefixed gcc attributes (#10843) | Lennart Poettering | 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. " | |||||
2018-11-20 | tests: always use the right vtable wrapper calls | Lennart Poettering | 2 | -10/+10 | |
Prompted by https://github.com/systemd/systemd/pull/10836#discussion_r234598868 | |||||
2018-11-20 | tests: add a fuzzer for journald streams | Evgeny Vereshchagin | 6 | -5/+60 | |
2018-11-19 | test-execute: fix killing of unit processes | Lennart Poettering | 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 | |||||
2018-11-19 | doc: document the boot menu entry identifier vocabulary | Lennart Poettering | 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. | |||||
2018-11-19 | meson: order source files alphabetically | Lennart Poettering | 1 | -2/+2 | |
2018-11-19 | debug-generator: port over to using static destructors | Lennart Poettering | 1 | -13/+7 | |
2018-11-19 | debug-generator: port over to DEFINE_MAIN_FUNCTION() | Lennart Poettering | 1 | -3/+5 | |
2018-11-19 | main-func: automatically call static destructors from main-func.h macros | Lennart Poettering | 1 | -0/+4 | |
2018-11-19 | util: add set of macros for declaring _cleanup_-style destructors for static ↵ | Lennart Poettering | 2 | -0/+52 | |
variables | |||||
2018-11-19 | util-lib: move main() definition macros to its own header file | Lennart Poettering | 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. | |||||
2018-11-19 | pam_systemd: suppress LOG_DEBUG log messages if debugging is off | Lennart Poettering | 1 | -2/+4 | |
In the PAM module we need to suppress LOG_DEBUG messages manually, if debug logging is not on, as PAM won't do this for us. We did this correctly for most log messages already, but two were missing. Let's fix those too. Fixes: #10822 | |||||
2018-11-19 | main: when reloading PID 1 let's reset the default environment | Lennart Poettering | 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 | |||||
2018-11-19 | manager: log on two OOM occasions | Lennart Poettering | 1 | -2/+2 | |
2018-11-19 | test: kill all processes launched by test-execute before exiting | Evgeny Vereshchagin | 1 | -0/+3 | |
As was shown in https://github.com/systemd/systemd/issues/10696#issuecomment-439613204, currently `meson` waits for 1080 seconds (which is three times the global timeout) for the test to fail completely even though it takes just two minutes for it to really fail. This happens because the test itself leaves the services it has launched behind, which, in turn, makes meson think that the test is still in progress. KILL_ALL with SIGKILL should make the issue go away. | |||||
2018-11-19 | catalog: update Polish translation | Piotr Drąg | 1 | -20/+52 | |
2018-11-19 | test: let the shell find "touch" instead of hard-coded "/bin/touch" | Xi Ruoyao | 1 | -1/+1 | |
2018-11-18 | basic/missing: drop _ETHTOOL_LINK_MODE_MAX | Zbigniew Jędrzejewski-Szmek | 2 | -8/+1 | |
It was only used in one place, where we don't actually need it, and it is too easy to forget to update it when adding new items to the table. Let's just drop it. | |||||
2018-11-18 | udev: use an "inline" array instead of allocating for advertise mode | Zbigniew Jędrzejewski-Szmek | 3 | -23/+12 | |
The code is a bit shorter and we don't allocate the uint32_t[127] array. | |||||
2018-11-18 | basic/util: import memeqzero from casync | Zbigniew Jędrzejewski-Szmek | 3 | -0/+41 | |
2018-11-18 | cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't required | Chris Down | 2 | -5/+14 | |
We now don't enable the CPU controller just for CPU accounting if we are on 4.15+ and using pure unified hierarchy, as this is provided externally to the CPU controller. This makes CPUAccounting=yes essentially free, so enabling it by default when it's cheap seems like a good idea. | |||||
2018-11-18 | cgtop: Still try to get CPU statistics if controller-free | Chris Down | 1 | -1/+1 | |
If CPU accounting is cheap, no controller necessarily needs to be enabled here for us to be able to read statistics. | |||||
2018-11-18 | cgroup v2: Don't require CPU controller for CPU accounting in 4.15+ | Chris Down | 6 | -32/+105 | |
systemd only uses functions that are as of Linux 4.15+ provided externally to the CPU controller (currently usage_usec), so if we have a new enough kernel, we don't need to set CGROUP_MASK_CPU for CPUAccounting=true as the CPU controller does not need to necessarily be enabled in this case. Part of this patch is modelled on an earlier patch by Ryutaroh Matsumoto (see PR #9665). | |||||
2018-11-18 | test-util: modernize | Zbigniew Jędrzejewski-Szmek | 1 | -2/+28 | |
2018-11-18 | ethtool: drop NetDevAdvertise | Yu Watanabe | 4 | -52/+81 | |
Fixes #10807. | |||||
2018-11-18 | missing: add ETHTOOL_LINK_MODE_* and struct ethtool_link_settings | Yu Watanabe | 2 | -26/+159 | |
2018-11-17 | test: also tests enumerating subsystems | Yu Watanabe | 1 | -41/+57 | |
2018-11-17 | udevd: replace udev_device in struct event by sd_device | Yu Watanabe | 1 | -66/+130 | |
2018-11-17 | udevd: update several log messages | Yu Watanabe | 1 | -50/+49 | |
2018-11-17 | udevd: decrease indentation | Yu Watanabe | 1 | -10/+6 | |
2018-11-17 | udevd: rename event sources in struct event | Yu Watanabe | 1 | -6/+7 | |
2018-11-17 | udevd: capitalize log messages in on_sigchld() | Yu Watanabe | 1 | -9/+13 | |
2018-11-17 | udevd: also use sd_device_monitor_start() in worker_main() | Yu Watanabe | 1 | -67/+53 | |
2018-11-17 | udevd: use sd_device_monitor_start() in manager_new() | Yu Watanabe | 1 | -16/+9 | |
2018-11-17 | udevd: replace udev_monitor by sd_device_monitor | Yu Watanabe | 1 | -51/+62 | |
2018-11-17 | udevd: use safe_fork() to spawn worker process | Yu Watanabe | 1 | -27/+20 | |
2018-11-17 | udevd: make worker_process_device() take sd_device instead of udev_device | Yu Watanabe | 1 | -8/+17 | |
2018-11-17 | udevd: make worker_lock_block_device() take sd_device instead of udev_device | Yu Watanabe | 1 | -16/+38 | |
Also adds many debug logs. | |||||
2018-11-17 | udevd: split worker_spawn() and manager_free() in small pieces | Yu Watanabe | 1 | -171/+187 | |
2018-11-17 | tests: introduce dummy_server_init and use it in all journald fuzzers | Evgeny Vereshchagin | 5 | -40/+32 | |
2018-11-17 | travis: make the ASan & UBsan job a little bit stricter | Evgeny Vereshchagin | 2 | -1/+7 | |