Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | logind: voidify more things | Lennart Poettering | 2018-11-16 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | logind: when we need to execute a sleep operation we don't support, fall ↵ | Lennart Poettering | 2018-11-16 | 1 | -0/+8 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | back to suspend If suspend-then-hibernate, hybrid-sleep or plain hibernation is supposed to be execute due to a key press/lid switch but is not supported, automatically fall back to plain suspend (and log about it). Fixes: #10558 | |||||
* | | | | Merge pull request #10825 from keszybz/advertize-followup | Lennart Poettering | 2018-11-19 | 7 | -33/+82 | |
|\ \ \ \ | | | | | | | | | | | udev link advertizing followup | |||||
| * | | | | basic/missing: drop _ETHTOOL_LINK_MODE_MAX | Zbigniew Jędrzejewski-Szmek | 2018-11-18 | 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. | |||||
| * | | | | udev: use an "inline" array instead of allocating for advertise mode | Zbigniew Jędrzejewski-Szmek | 2018-11-18 | 3 | -23/+12 | |
| | | | | | | | | | | | | | | | | | | | | The code is a bit shorter and we don't allocate the uint32_t[127] array. | |||||
| * | | | | basic/util: import memeqzero from casync | Zbigniew Jędrzejewski-Szmek | 2018-11-18 | 3 | -0/+41 | |
| | | | | | ||||||
| * | | | | test-util: modernize | Zbigniew Jędrzejewski-Szmek | 2018-11-18 | 1 | -2/+28 | |
| | | | | | ||||||
* | | | | | Merge pull request #10507 from cdown/cpu_acct | Lennart Poettering | 2018-11-19 | 9 | -38/+120 | |
|\ \ \ \ \ | | | | | | | | | | | | | cgroup v2: Don't require CPU controller for CPU accounting in 4.15+ | |||||
| * | | | | | cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't required | Chris Down | 2018-11-18 | 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. | |||||
| * | | | | | cgtop: Still try to get CPU statistics if controller-free | Chris Down | 2018-11-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CPU accounting is cheap, no controller necessarily needs to be enabled here for us to be able to read statistics. | |||||
| * | | | | | cgroup v2: Don't require CPU controller for CPU accounting in 4.15+ | Chris Down | 2018-11-18 | 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). | |||||
* | | | | | | test: kill all processes launched by test-execute before exiting | Evgeny Vereshchagin | 2018-11-19 | 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. | |||||
* | | | | | | catalog: update Polish translation | Piotr Drąg | 2018-11-19 | 1 | -20/+52 | |
| | | | | | | ||||||
* | | | | | | test: let the shell find "touch" instead of hard-coded "/bin/touch" | Xi Ruoyao | 2018-11-19 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #10819 from yuwata/fix-10807 | Zbigniew Jędrzejewski-Szmek | 2018-11-18 | 6 | -78/+240 | |
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | ethtool: drop NetDevAdvertise | |||||
| * | | | | | ethtool: drop NetDevAdvertise | Yu Watanabe | 2018-11-18 | 4 | -52/+81 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #10807. | |||||
| * | | | | | missing: add ETHTOOL_LINK_MODE_* and struct ethtool_link_settings | Yu Watanabe | 2018-11-18 | 2 | -26/+159 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #10817 from evverx/audit-fuzzer | Zbigniew Jędrzejewski-Szmek | 2018-11-17 | 9 | -26/+55 | |
|\ \ \ \ \ | | | | | | | | | | | | | Add a fuzzer for process_audit_string | |||||
| * | | | | | tests: introduce dummy_server_init and use it in all journald fuzzers | Evgeny Vereshchagin | 2018-11-17 | 5 | -40/+32 | |
| | | | | | | ||||||
| * | | | | | journald: check whether sscanf has changed the value corresponding to %n | Evgeny Vereshchagin | 2018-11-17 | 2 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible for sscanf to receive strings containing all three fields and not matching the template at the same time. When this happens the value of k doesn't change, which basically means that process_audit_string tries to access memory randomly. Sometimes it works and sometimes it doesn't :-) See also https://bugzilla.redhat.com/show_bug.cgi?id=1059314. | |||||
| * | | | | | tests: add a fuzzer for process_audit_string | Evgeny Vereshchagin | 2018-11-16 | 5 | -1/+36 | |
| | |/ / / | |/| | | | ||||||
* | | | | | test: also tests enumerating subsystems | Yu Watanabe | 2018-11-17 | 1 | -41/+57 | |
| |_|/ / |/| | | | ||||||
* | | | | travis: make the ASan & UBsan job a little bit stricter | Evgeny Vereshchagin | 2018-11-17 | 2 | -1/+7 | |
| |/ / |/| | | ||||||
* | | | conf-parse: use strjoina() where appropriate | Lennart Poettering | 2018-11-17 | 1 | -12/+5 | |
| | | | ||||||
* | | | conf-parse: drop unused prototype | Lennart Poettering | 2018-11-17 | 1 | -1/+0 | |
| | | | ||||||
* | | | macro: remove double evaluation in FLAGS_SET() | Lennart Poettering | 2018-11-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | rc-local-generator: add comment explaining the background of the generator | Lennart Poettering | 2018-11-17 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not obvious, hence it deserves some form of documentation. However, it's also ultimately an implementation detail, hence let's not add this to the man page, but as a code comment, that is visible right at the top of source file. Fixes: #10675 | |||||
* | | | fix build with -Defi=false | asavah | 2018-11-16 | 1 | -12/+12 | |
|/ / | ||||||
* | | Merge pull request #10805 from poettering/migrate-boot-loader-interface | Lennart Poettering | 2018-11-16 | 5 | -32/+100 | |
|\ \ | | | | | | | migrate boot loader interface doc from wiki into markdown (split out of #10495) | |||||
| * | | docs: tweak index.md generation and run it again | Lennart Poettering | 2018-11-16 | 2 | -25/+19 | |
| | | | ||||||
| * | | docs: migrate boot loader interface from fdo wiki to git | Lennart Poettering | 2018-11-16 | 3 | -7/+81 | |
| | | | | | | | | | | | | | | | | | | | | | This imports https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface/ into our sources, and extends it substantially with various variables now supported. | |||||
* | | | Merge pull request #10751 from yuwata/sd-event-util | Lennart Poettering | 2018-11-16 | 13 | -608/+545 | |
|\ \ \ | | | | | | | | | Reuse sd_event_source object for timer event | |||||
| * | | | sd-ndisc: do not unref() event sources when update or disable them | Yu Watanabe | 2018-11-16 | 1 | -41/+24 | |
| | | | | ||||||
| * | | | sd-ndisc: use structured initializer at one more place | Yu Watanabe | 2018-11-16 | 1 | -3/+5 | |
| | | | | ||||||
| * | | | sd-radv: do not unref() event sources when update or disable them | Yu Watanabe | 2018-11-16 | 1 | -31/+17 | |
| | | | | ||||||
| * | | | sd-radv: use structured initializer at one more place | Yu Watanabe | 2018-11-16 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | lldp: do not unref() event sources when update or disable them | Yu Watanabe | 2018-11-16 | 1 | -27/+11 | |
| | | | | ||||||
| * | | | lldp: use structured initializer at one more place | Yu Watanabe | 2018-11-16 | 1 | -5/+7 | |
| | | | | ||||||
| * | | | ipv4acd: do not unref() event sources when update or disable them | Yu Watanabe | 2018-11-16 | 1 | -17/+9 | |
| | | | | ||||||
| * | | | ipv4acd: use structured initializer at one more place | Yu Watanabe | 2018-11-16 | 1 | -5/+7 | |
| | | | | ||||||
| * | | | dhcp6-client: do not unref() event sources when update or disable them | Yu Watanabe | 2018-11-16 | 1 | -86/+42 | |
| | | | | ||||||
| * | | | dhcp6-client: use structured initializer at one more place | Yu Watanabe | 2018-11-16 | 1 | -13/+17 | |
| | | | | ||||||
| * | | | sd-dhcp6: fix crash by unrefing event sources before re-adding them | Benjamin Berg | 2018-11-16 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In certain cases the timeouts may not have been unref'ed before they need to be re-added. Add the appropriate unref calls to ensure we don't register the timeout multiple times. This fixes possible cases where timeouts are triggered multiple times and even on destroyed DHCPv6 clients. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/73 Fixes #10749. | |||||
| * | | | dhcp-client: do not unref() event sources when update or disable them | Yu Watanabe | 2018-11-16 | 1 | -112/+47 | |
| | | | | ||||||
| * | | | dhcp-client: use structured initializer at one more place | Yu Watanabe | 2018-11-16 | 1 | -10/+11 | |
| | | | | ||||||
| * | | | udevd: use event_source_disable() | Yu Watanabe | 2018-11-16 | 1 | -17/+14 | |
| | | | | ||||||
| * | | | udevd: use event_reset_time() to update kill_workers_event | Yu Watanabe | 2018-11-16 | 1 | -44/+4 | |
| | | | | ||||||
| * | | | sd-event: also introduce event_source_is_enabled() | Yu Watanabe | 2018-11-16 | 2 | -0/+8 | |
| | | | | ||||||
| * | | | sd-event: introduce event_source_disable() | Yu Watanabe | 2018-11-16 | 2 | -0/+8 | |
| | | | | ||||||
| * | | | sd-event: introduce event_reset_time() | Yu Watanabe | 2018-11-16 | 3 | -0/+95 | |
| | | | |