summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* analyze: include error cause in the log messageYu Watanabe2018-10-201-1/+1
|
* analyze: update log messageYu Watanabe2018-10-201-2/+2
|
* tree-wide: some automatic coccinelle fixes (#10463)Lennart Poettering2018-10-207-19/+16
| | | Nothing fancy, just coccinelle doing its work.
* Merge pull request #10457 from yuwata/fuzz-11019Lennart Poettering2018-10-195-110/+86
|\ | | | | sd-dhcp: fixes oss-fuzz#11019 and several cleanups
| * sd-dhcp6: drop empty 'error' labelYu Watanabe2018-10-191-36/+19
| |
| * test-dhcp6-client: normalize logsYu Watanabe2018-10-191-21/+15
| |
| * fuzz: add testcase of oss-fuzz#11019Yu Watanabe2018-10-191-0/+0
| |
| * sd-dhcp6: make dhcp6_option_parse_domainname() not store empty domainYu Watanabe2018-10-191-37/+29
| | | | | | | | | | This improves performance of fuzzer. C.f. oss-fuzz#11019.
| * sd-dhcp6: do not update serverid when ENOMEMYu Watanabe2018-10-191-5/+6
| |
| * sd-dhcp6: coding style cleanupsYu Watanabe2018-10-191-7/+10
| |
| * sd-dhcp6: fix argument and error handling of dhcp6_option_parse_status()Yu Watanabe2018-10-192-8/+11
| |
* | core: stop ignoring errors in connect_logger_asEvgeny Vereshchagin2018-10-191-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When journald reaches the maximum number of active streams, it, basically, starts to decline new connections. On the client side it can be detected by getting EPIPE and, if the writing process isn't lucky enough, getting SIGPIPE soon afterwards. systemd has always ignored EPIPE, which makes it very hard to keep track of services losing logs. This patch should make it easier to detect such services by just staring at the logs carefully. In case anyone is interested, the following one-liner run as any user can be used to paralyze all the stream logging on a machine: for i in {1..4096}; do systemd-cat -t HEY-$i & done
* | Merge pull request #10460 from yuwata/setsockopt_int-moreLennart Poettering2018-10-198-414/+283
|\ \ | | | | | | tree-wide: use setsockopt_int() more
| * | resolved-mdns: use TAKE_FD()Yu Watanabe2018-10-191-118/+72
| | |
| * | resolved-llmnr: use TAKE_FD()Yu Watanabe2018-10-191-230/+142
| | |
| * | tree-wide: use setsockopt_int() moreYu Watanabe2018-10-198-88/+91
| |/
* | core: beautify per-unit consumed resources log message a bit. (#10390)Lennart Poettering2018-10-191-15/+38
| | | | | | | | | | | | Shorten message to say "no IP traffic" if there is no IP traffic, rather than "received 0B IP traffic, sent 0B IP traffic". Fixes: #9816
* | Merge pull request #10437 from poettering/env-util-loveYu Watanabe2018-10-192-62/+64
|\ \ | | | | | | some env-util.c love
| * | env-util: drop ARG_MAX defineLennart Poettering2018-10-171-7/+3
| | | | | | | | | | | | It's not a constant, hence don't pretend it was.
| * | env-util: modernize strv_env_set() a bitLennart Poettering2018-10-171-9/+14
| | |
| * | env-util: modernize strv_env_replace()Lennart Poettering2018-10-171-8/+11
| | |
| * | env-util: rework strv_env_merge()Lennart Poettering2018-10-171-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | Let's clean up the failure codepaths, by using _cleanup_. This relies on the new behaviour of env_append() introduced in the previous commit that guarantess the list always remains properly NULL terminated
| * | env-util: rework env_append()Lennart Poettering2018-10-171-12/+17
| | | | | | | | | | | | | | | | | | Let's make sure the strv we are putting together always remains valid (i.e. is NULL terminated). Also document the parameters to pass in correctly.
| * | env-util: use strv_contains() where appropriateLennart Poettering2018-10-171-8/+6
| | |
| * | man: mention µsLennart Poettering2018-10-171-1/+1
| | |
* | | Merge pull request #10389 from poettering/nspawn-path-fixYu Watanabe2018-10-193-3/+14
|\ \ \ | | | | | | | | nspawn $PATH execvpe() fix
| * | | test: check for putenv() failures, the call might theortically failLennart Poettering2018-10-181-2/+2
| | | |
| * | | exec-util: errors are reported by non-zero, not negative by putenv()Lennart Poettering2018-10-181-1/+1
| | | |
| * | | nspawn: use container $PATH (not host $PATH) when searching for PID 1 ↵Lennart Poettering2018-10-181-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | binaries to execute Fixes: #10377
* | | | Merge pull request #10450 from poettering/foreach-line-excorcismYu Watanabe2018-10-1920-109/+247
|\ \ \ \ | | | | | | | | | | FOREACH_LINE excorcism
| * | | | tmpfiles: FOREACH_LINE excorcismLennart Poettering2018-10-181-4/+10
| | | | |
| * | | | sysv-generator: FOREACH_LINE excorcismLennart Poettering2018-10-181-6/+10
| | | | |
| * | | | sysusers: FOREACH_LINE excorcismLennart Poettering2018-10-181-2/+8
| | | | |
| * | | | install: pass encountered error number to log_syntax()Lennart Poettering2018-10-181-1/+1
| | | | |
| * | | | install: FOREACH_LINE excorcismLennart Poettering2018-10-181-2/+9
| | | | |
| * | | | clean-ipc: FOREACH_LINE excorcismLennart Poettering2018-10-181-24/+28
| | | | |
| * | | | resolved-resolv-conf: FOREACH_LINE excorcismLennart Poettering2018-10-181-2/+11
| | | | |
| * | | | resolved-etc-hosts: FOREACH_LINE excorcismLennart Poettering2018-10-181-3/+10
| | | | |
| * | | | resolved-dns-trust-anchor: FOREACH_LINE excorcismLennart Poettering2018-10-181-3/+11
| | | | | | | | | | | | | | | | | | | | Also, properly ignore these read errors, and say so.
| * | | | localectl: FOREACH_LINE excorcismLennart Poettering2018-10-181-2/+8
| | | | |
| * | | | sd-path: FOREACH_LINE exorcismLennart Poettering2018-10-181-2/+9
| | | | |
| * | | | bus-creds: FOREACH_LINE excorcismLennart Poettering2018-10-181-3/+8
| | | | |
| * | | | coredump: FOREACH_LINE excorcismLennart Poettering2018-10-181-5/+11
| | | | |
| * | | | smack-setup: include error cause in log messageLennart Poettering2018-10-181-4/+5
| | | | |
| * | | | smcak-setup: FOREACH_LINE excorcismLennart Poettering2018-10-181-18/+37
| | | | |
| * | | | shutdown: FOREACH_LINE() excorcismLennart Poettering2018-10-181-3/+10
| | | | |
| * | | | ima-setup: prefer safe_close() over plain close()Lennart Poettering2018-10-181-1/+1
| | | | |
| * | | | ima-setup: include error cause in failure messagesLennart Poettering2018-10-181-3/+3
| | | | |
| * | | | ima-setup: FOREACH_LINE excorcismLennart Poettering2018-10-181-3/+11
| | | | |
| * | | | cgroup: FOREACH_LINE excorcismLennart Poettering2018-10-181-6/+7
| | | | |