]> git.ipfire.org Git - thirdparty/systemd.git/commit
selinux: improve debug log format
authorChristian Göttsche <cgzones@googlemail.com>
Wed, 28 Jul 2021 14:59:57 +0000 (16:59 +0200)
committerTopi Miettinen <topimiettinen@users.noreply.github.com>
Sat, 20 Nov 2021 16:38:03 +0000 (16:38 +0000)
commit6fbb33f63120b798455290d96d620464e78712e7
treebef9111964ecb6249a44939510c57d098fb33247
parentf0804759cf168b201347ce8aa2faefa17376191c
selinux: improve debug log format

path might be NULL when checking against the system permissions, so wrap
with strna().

The command line might not be available over D-Bus and thus cl might be
empty. Print "n/a" instead of the empty string.
src/core/selinux-access.c