Yu Watanabe
2d18ac4491
ethtool: drop NetDevAdvertise
...
Fixes #10807 .
2018-11-18 14:33:50 +09:00
Yu Watanabe
8a716f26ef
missing: add ETHTOOL_LINK_MODE_* and struct ethtool_link_settings
2018-11-18 14:33:50 +09:00
Zbigniew Jędrzejewski-Szmek
f921797d61
Merge pull request #10817 from evverx/audit-fuzzer
...
Add a fuzzer for process_audit_string
2018-11-17 18:26:54 +01:00
Yu Watanabe
af18705f8e
test: also tests enumerating subsystems
2018-11-17 18:18:22 +01:00
Yu Watanabe
eb546b3532
udevd: replace udev_device in struct event by sd_device
2018-11-17 21:45:03 +09:00
Yu Watanabe
044497e2a3
udevd: update several log messages
2018-11-17 21:45:03 +09:00
Yu Watanabe
ba47b71c2d
udevd: decrease indentation
2018-11-17 21:45:03 +09:00
Yu Watanabe
d8f462b435
udevd: rename event sources in struct event
2018-11-17 21:45:03 +09:00
Yu Watanabe
dc7faf2a6f
udevd: capitalize log messages in on_sigchld()
2018-11-17 21:45:03 +09:00
Yu Watanabe
e2130348ef
udevd: also use sd_device_monitor_start() in worker_main()
2018-11-17 21:45:03 +09:00
Yu Watanabe
f00d2b6dd2
udevd: use sd_device_monitor_start() in manager_new()
2018-11-17 21:45:03 +09:00
Yu Watanabe
7f2e3a1409
udevd: replace udev_monitor by sd_device_monitor
2018-11-17 21:45:03 +09:00
Yu Watanabe
7443654e5f
udevd: use safe_fork() to spawn worker process
2018-11-17 21:45:03 +09:00
Yu Watanabe
abde5ea854
udevd: make worker_process_device() take sd_device instead of udev_device
2018-11-17 21:45:03 +09:00
Yu Watanabe
b97897e3e8
udevd: make worker_lock_block_device() take sd_device instead of udev_device
...
Also adds many debug logs.
2018-11-17 21:45:02 +09:00
Yu Watanabe
0bed242cbe
udevd: split worker_spawn() and manager_free() in small pieces
2018-11-17 21:45:02 +09:00
Evgeny Vereshchagin
ed62712dc6
tests: introduce dummy_server_init and use it in all journald fuzzers
2018-11-17 13:02:26 +01:00
Evgeny Vereshchagin
b6b35f0e0b
travis: make the ASan & UBsan job a little bit stricter
2018-11-17 14:20:49 +03:00
Evgeny Vereshchagin
1dab14aba7
journald: check whether sscanf has changed the value corresponding to %n
...
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 .
2018-11-17 11:25:19 +01:00
Zbigniew Jędrzejewski-Szmek
51e2378642
volatile-root: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
0420d20dd2
tty-ask-password-agent: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
47031c9276
sysv-generator: configure logging before use and define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
1b425cb28f
stdio-bridge: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
7caefb8140
sleep: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
6e61c701f2
remount-fs: configure logging before use and define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
72d0d7a628
random-seed: configure logging before use and define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
2ab2a55bd6
quotacheck: configure logging before use and define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
44c5d0442e
portabled: add missing STOPPING=1 notification
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
166a9dc66f
portabled: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
24d5223fc9
path: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
fb1fa5a882
makefs: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
aac0b2e8f3
notify: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
9b58b5ad34
machined: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
cc639ee79d
user-runtime-dir: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
c11cfa2865
logind: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
b453c447e0
inhibit: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
634a0ad3e5
cat: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
5272ae42ce
import: define mains through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
3c79f0b3ce
id128: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
06213aae94
hwdb: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
43ead4114b
hostnamectl: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
9013653e3c
fsck: configure logging before use and define main through macro
...
There's a slight change in logic: before, when rebooting the machine, we could
also request quotacheck (by touching /run/systemd/quotacheck) if the fsck
helper set FSCK_ERROR_CORRECTED. This is just a race, and doesn't matter much
in practice.
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
c88f45e744
escape: use free_and_replace
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
5f200747f6
escape: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
bdab09849e
detect-virt: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
4515a95ee0
coredump: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
02434ea263
boot-check-no-failures: define main through macro
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
9a5cedc319
ac-power: define main through macro
...
I decided to use a separate definition for this because it's too easy to return
positive from functions which don't need this distinction and only return
negative on error and success otherwise.
2018-11-17 09:13:35 +01:00
Zbigniew Jędrzejewski-Szmek
a974a6569e
Introduce main definer and use it in cgtop
...
This actually fixes one bogus return code in error path.
2018-11-17 09:03:54 +01:00
Lennart Poettering
4472fa6d2c
conf-parse: use strjoina() where appropriate
2018-11-17 08:47:27 +01:00