summaryrefslogtreecommitdiff
path: root/src/network/networkctl.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-03-17 18:11:14 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-19 08:56:30 +0100
commit194fe32296b5079cf4edcffbe15f672ff8a9e762 (patch)
tree07888b155d36c49f1f1f8faf91a1f703e7fe5f20 /src/network/networkctl.c
parentcc46b9d91399aed39eb64fa07283e40eb8262078 (diff)
downloadsystemd-194fe32296b5079cf4edcffbe15f672ff8a9e762.tar.gz
selinux: delay mac_selinux_enforcing call after SELinux was determined to be enabled
Calling `mac_selinux_enforcing()`, which calls `security_getenforce()`, on a SELinux disabled system causes the following error message to be printed: Failed to get SELinux enforced status: No such file or directory Fixes: 257188f80ce1a083e3a88b679b898a73fecab53b ("selinux: cache enforced status and treat retrieve failure as enforced mode") Supersedes: #15145
Diffstat (limited to 'src/network/networkctl.c')
0 files changed, 0 insertions, 0 deletions