From: Yu Watanabe Date: Sun, 17 Jan 2021 04:02:54 +0000 (+0900) Subject: selinux-util: do not use log_internal_realm() without setting log realm X-Git-Tag: v248-rc1~257^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d296c1892c806fba93598a7a141c3afe7883fa;p=thirdparty%2Fsystemd.git selinux-util: do not use log_internal_realm() without setting log realm --- diff --git a/src/basic/selinux-util.c b/src/basic/selinux-util.c index 4989f4f37c6..bd22500b7ed 100644 --- a/src/basic/selinux-util.c +++ b/src/basic/selinux-util.c @@ -50,7 +50,7 @@ static struct selabel_handle *label_hnd = NULL; int _e = (error); \ \ int _r = (log_get_max_level() >= LOG_PRI(_level)) \ - ? log_internal_realm(_level, _e, PROJECT_FILE, __LINE__, __func__, __VA_ARGS__) \ + ? log_internal(_level, _e, PROJECT_FILE, __LINE__, __func__, __VA_ARGS__) \ : -ERRNO_VALUE(_e); \ _enforcing ? _r : 0; \ })