summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | logind: voidify more thingsLennart Poettering2018-11-161-1/+1
| | | | |
| * | | | logind: when we need to execute a sleep operation we don't support, fall ↵Lennart Poettering2018-11-161-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-followupLennart Poettering2018-11-197-33/+82
|\ \ \ \ | | | | | | | | | | udev link advertizing followup
| * | | | basic/missing: drop _ETHTOOL_LINK_MODE_MAXZbigniew Jędrzejewski-Szmek2018-11-182-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 modeZbigniew Jędrzejewski-Szmek2018-11-183-23/+12
| | | | | | | | | | | | | | | | | | | | The code is a bit shorter and we don't allocate the uint32_t[127] array.
| * | | | basic/util: import memeqzero from casyncZbigniew Jędrzejewski-Szmek2018-11-183-0/+41
| | | | |
| * | | | test-util: modernizeZbigniew Jędrzejewski-Szmek2018-11-181-2/+28
| | | | |
* | | | | Merge pull request #10507 from cdown/cpu_acctLennart Poettering2018-11-199-38/+120
|\ \ \ \ \ | | | | | | | | | | | | cgroup v2: Don't require CPU controller for CPU accounting in 4.15+
| * | | | | cgroup v2: DefaultCPUAccounting=yes if CPU controller isn't requiredChris Down2018-11-182-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-freeChris Down2018-11-181-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 Down2018-11-186-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 exitingEvgeny Vereshchagin2018-11-191-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 translationPiotr Drąg2018-11-191-20/+52
| | | | | |
* | | | | | test: let the shell find "touch" instead of hard-coded "/bin/touch"Xi Ruoyao2018-11-191-1/+1
| | | | | |
* | | | | | Merge pull request #10819 from yuwata/fix-10807Zbigniew Jędrzejewski-Szmek2018-11-186-78/+240
|\ \ \ \ \ \ | | |/ / / / | |/| | | | ethtool: drop NetDevAdvertise
| * | | | | ethtool: drop NetDevAdvertiseYu Watanabe2018-11-184-52/+81
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #10807.
| * | | | | missing: add ETHTOOL_LINK_MODE_* and struct ethtool_link_settingsYu Watanabe2018-11-182-26/+159
|/ / / / /
* | | | | Merge pull request #10817 from evverx/audit-fuzzerZbigniew Jędrzejewski-Szmek2018-11-179-26/+55
|\ \ \ \ \ | | | | | | | | | | | | Add a fuzzer for process_audit_string
| * | | | | tests: introduce dummy_server_init and use it in all journald fuzzersEvgeny Vereshchagin2018-11-175-40/+32
| | | | | |
| * | | | | journald: check whether sscanf has changed the value corresponding to %nEvgeny Vereshchagin2018-11-172-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_stringEvgeny Vereshchagin2018-11-165-1/+36
| | |/ / / | |/| | |
* | | | | test: also tests enumerating subsystemsYu Watanabe2018-11-171-41/+57
| |_|/ / |/| | |
* | | | travis: make the ASan & UBsan job a little bit stricterEvgeny Vereshchagin2018-11-172-1/+7
| |/ / |/| |
* | | conf-parse: use strjoina() where appropriateLennart Poettering2018-11-171-12/+5
| | |
* | | conf-parse: drop unused prototypeLennart Poettering2018-11-171-1/+0
| | |
* | | macro: remove double evaluation in FLAGS_SET()Lennart Poettering2018-11-171-1/+1
| | |
* | | rc-local-generator: add comment explaining the background of the generatorLennart Poettering2018-11-171-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=falseasavah2018-11-161-12/+12
|/ /
* | Merge pull request #10805 from poettering/migrate-boot-loader-interfaceLennart Poettering2018-11-165-32/+100
|\ \ | | | | | | migrate boot loader interface doc from wiki into markdown (split out of #10495)
| * | docs: tweak index.md generation and run it againLennart Poettering2018-11-162-25/+19
| | |
| * | docs: migrate boot loader interface from fdo wiki to gitLennart Poettering2018-11-163-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-utilLennart Poettering2018-11-1613-608/+545
|\ \ \ | | | | | | | | Reuse sd_event_source object for timer event
| * | | sd-ndisc: do not unref() event sources when update or disable themYu Watanabe2018-11-161-41/+24
| | | |
| * | | sd-ndisc: use structured initializer at one more placeYu Watanabe2018-11-161-3/+5
| | | |
| * | | sd-radv: do not unref() event sources when update or disable themYu Watanabe2018-11-161-31/+17
| | | |
| * | | sd-radv: use structured initializer at one more placeYu Watanabe2018-11-161-5/+5
| | | |
| * | | lldp: do not unref() event sources when update or disable themYu Watanabe2018-11-161-27/+11
| | | |
| * | | lldp: use structured initializer at one more placeYu Watanabe2018-11-161-5/+7
| | | |
| * | | ipv4acd: do not unref() event sources when update or disable themYu Watanabe2018-11-161-17/+9
| | | |
| * | | ipv4acd: use structured initializer at one more placeYu Watanabe2018-11-161-5/+7
| | | |
| * | | dhcp6-client: do not unref() event sources when update or disable themYu Watanabe2018-11-161-86/+42
| | | |
| * | | dhcp6-client: use structured initializer at one more placeYu Watanabe2018-11-161-13/+17
| | | |
| * | | sd-dhcp6: fix crash by unrefing event sources before re-adding themBenjamin Berg2018-11-161-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 themYu Watanabe2018-11-161-112/+47
| | | |
| * | | dhcp-client: use structured initializer at one more placeYu Watanabe2018-11-161-10/+11
| | | |
| * | | udevd: use event_source_disable()Yu Watanabe2018-11-161-17/+14
| | | |
| * | | udevd: use event_reset_time() to update kill_workers_eventYu Watanabe2018-11-161-44/+4
| | | |
| * | | sd-event: also introduce event_source_is_enabled()Yu Watanabe2018-11-162-0/+8
| | | |
| * | | sd-event: introduce event_source_disable()Yu Watanabe2018-11-162-0/+8
| | | |
| * | | sd-event: introduce event_reset_time()Yu Watanabe2018-11-163-0/+95
| | | |