Lennart Poettering
7c777a7773
resolved-etc-hosts: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
0a6488b441
resolved-dns-trust-anchor: FOREACH_LINE excorcism
...
Also, properly ignore these read errors, and say so.
2018-10-18 16:23:45 +02:00
Lennart Poettering
271c8ec50f
localectl: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
710bf2aeb2
sd-path: FOREACH_LINE exorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
8ae29228a8
bus-creds: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
7b26ea6f06
coredump: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
9fd0b02913
smack-setup: include error cause in log message
2018-10-18 16:23:45 +02:00
Lennart Poettering
ea8b6526b9
smcak-setup: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
a34f0dae01
shutdown: FOREACH_LINE() excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
1fb8942284
ima-setup: prefer safe_close() over plain close()
2018-10-18 16:23:45 +02:00
Lennart Poettering
b435812c64
ima-setup: include error cause in failure messages
2018-10-18 16:23:45 +02:00
Lennart Poettering
2452419b3a
ima-setup: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
c66e60a838
cgroup: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
8d2b9d14c4
time-util: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
7e7a16a00e
process-util: FOREACH_LINE excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
f5af75eaec
mount-util: FOREACH_LINE() excorcism
2018-10-18 16:23:45 +02:00
Lennart Poettering
d2b39cb606
cgroup-util: FOREACH_LINE() excorcism
2018-10-18 16:23:45 +02:00
Zbigniew Jędrzejewski-Szmek
51a85e5ec2
Merge pull request #10174 from poettering/sd-boot-counter-efi
...
the EFI changes from PR #9437 (the boot counting PR)
2018-10-18 16:06:01 +02:00
Yu Watanabe
691d6f6d76
bus-unit-util: use streq() instead of STR_IN_SET()
...
Follow-up for 90fc172e19
(#10308 ).
2018-10-18 13:46:45 +02:00
Lennart Poettering
fae0f8a047
udev-rules: fgets() excorcism
2018-10-18 13:41:09 +02:00
Lennart Poettering
9c6f9786c5
condition: fgets() excorcism
2018-10-18 13:40:55 +02:00
Lennart Poettering
1fd2786161
reply-password: fgets() excorcism
2018-10-18 13:40:39 +02:00
Lennart Poettering
a889e206a7
modules-load: fgets() excorcism
2018-10-18 13:40:21 +02:00
Lennart Poettering
1d47b56995
keymap-util: fgets() excorcism
2018-10-18 13:40:03 +02:00
Lennart Poettering
32d621e4db
hwdb: fgets() excorcism
2018-10-18 13:39:41 +02:00
Lennart Poettering
df2b06d1c2
catalog: fgets() excorcism
2018-10-18 13:39:29 +02:00
Lennart Poettering
b42674a168
cryptsetup-generator: fgets() excorcism
2018-10-18 13:34:40 +02:00
Lennart Poettering
717e419b35
cgtop: fgets() excorcism
2018-10-18 13:34:12 +02:00
Lennart Poettering
741d2cb533
binfmt: fgets() excorcism
...
Also, let's not claim we ignored errors when we don't.
2018-10-18 13:33:22 +02:00
Lennart Poettering
7452c3ff52
binfmt: validate rule file name before using it
2018-10-18 13:33:00 +02:00
Lennart Poettering
d3f9790c81
terminal-util: use fgetc() carefully instead of fread()
2018-10-18 13:32:34 +02:00
Lennart Poettering
715bcf361d
terminal-util: excorcise fgets()
2018-10-18 13:32:05 +02:00
Lennart Poettering
6d3db278fe
clock-util: excorcise fgets()
2018-10-18 13:30:20 +02:00
Michael Biebl
991b4350a8
docs: use h2 headers
...
The primer theme does not add a mouse-over anchor link for h1 headers.
So use h2 for subsection headers which looks nicer anyway.
Followup for #10421
2018-10-18 09:57:45 +02:00
Anita Zhang
90fc172e19
core: implement per unit journal rate limiting
...
Add LogRateLimitIntervalSec= and LogRateLimitBurst= options for
services. If provided, these values get passed to the journald
client context, and those values are used in the rate limiting
function in the journal over the the journald.conf values.
Part of #10230
2018-10-18 09:56:20 +02:00
Yu Watanabe
9fcdab9c87
resolve: set IP_RECVERR
...
Closes #10345 .
2018-10-18 09:43:04 +02:00
Yu Watanabe
103341f9f8
Merge pull request #10438 from poettering/path-is-valid
...
be a bit more carful when processing transient socket paths via the bus
2018-10-18 06:20:41 +09:00
Lennart Poettering
108e8de655
Merge pull request #10439 from poettering/job-struct-init
...
three trivial simplifications/clean-ups
2018-10-17 22:55:00 +02:00
Lennart Poettering
67f5d31b45
Merge pull request #10440 from poettering/fflush-and-check-some-more
...
use fflush_and_check() and free_and_replace() where we can
2018-10-17 22:54:34 +02:00
Lennart Poettering
a42984dbc7
Merge pull request #10428 from keszybz/failure-actions
...
Implement manager status changes using SuccessAction=
2018-10-17 21:29:10 +02:00
Lennart Poettering
efa3f34e84
service: use free_and_replace() where we can
2018-10-17 21:24:04 +02:00
Lennart Poettering
c93d527f46
exec-util: use fflush_and_check() where appropriate
2018-10-17 21:23:34 +02:00
Lennart Poettering
7d853ca6bc
execute: shorten things a bit
2018-10-17 21:18:09 +02:00
Lennart Poettering
15ec102145
job: add lots of colons to log messages
2018-10-17 21:18:09 +02:00
Lennart Poettering
08ac00f279
job: use structured initialization
2018-10-17 21:18:02 +02:00
Lennart Poettering
1f7817f8e9
core: use structured initialization
2018-10-17 21:13:02 +02:00
Lennart Poettering
1fe84279f7
core: shorten list appending a bit, by using better macros
2018-10-17 21:13:02 +02:00
Lennart Poettering
4ad25546e7
dbus: add missing OOM check
2018-10-17 21:13:02 +02:00
Lennart Poettering
6e9c4f450e
core: validate socket path with path_is_valid()
2018-10-17 21:13:02 +02:00
Lennart Poettering
656552ebb3
path-util: add new path_is_valid() helper
2018-10-17 21:13:02 +02:00