1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

fuzz-unit-file: add some directives for stuff coverage reports as not covered

Some of those directives appear in the corpus, but without arguments, so maybe
the fuzzing libraries can't trigger the right cases. Let's help them.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-02-25 15:37:40 +01:00
parent d05da14f32
commit 4c4589227e

View File

@ -15,6 +15,14 @@ Documentation=https://www.freedesktop.org/wiki/Software/systemd/machined
Wants=machine.slice
After=machine.slice
RequiresMountsFor=/var/lib/machines
ConditionNull=true
ConditionNull=
ConditionNull=|!false
OnFailureIsolate=false
FailureActionExitStatus=222
FailureActionExitStatus=
SuccessActionExitStatus=0
SuccessActionExitStatus=
[Service]
ExecStart=/usr/lib/systemd/systemd-machined
@ -32,3 +40,13 @@ IPAddressDeny=any
# Note that machined cannot be placed in a mount namespace, since it
# needs access to the host's mount namespace in order to implement the
# "machinectl bind" operation.
SELinuxContext=system_u:system_r:kernel_t:s0
AppArmorProfile=profile
SELinuxContext=-system_u:system_r:kernel_t:s22
AppArmorProfile=-profile
IODeviceLatencyTargetSec=/dev/sda 25ms
IODeviceLatencyTargetSec=/dev/sdb 2h
PIDFile=%t/mypid
PIDFile=
DisableControllers=