]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/selinux-util.c
selinux: simplify and unify logging
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Oct 2014 17:07:02 +0000 (19:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Oct 2014 19:36:56 +0000 (21:36 +0200)
commit66cedb3078ebe78174efd51673632eb3bfb9be61
tree7bd352048fef0b205aa5479c7d569d85f3843d1c
parent7f416dae9bcf1cfb63689ee9ac851adf738f072b
selinux: simplify and unify logging

Normally we shouldn#t log from "library" functions, but SELinux is
weird, hence upgrade security messages uniformly to LOG_ERR when in
enforcing mode.
src/shared/selinux-util.c