X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Fjournald-stream.c;h=76580f8263a161f4c323bfc2e2b4b5d574a62cc9;hb=bf3d3e2bb7ae2d3854be57f28dd1403c8f7e4c3c;hp=8a983d84d9f7b216f326feba865caa86aa1eb988;hpb=6b9732b2bf0499c5e4ea8a9d4f6051d98033f680;p=elogind.git diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c index 8a983d84d..76580f826 100644 --- a/src/journal/journald-stream.c +++ b/src/journal/journald-stream.c @@ -395,7 +395,7 @@ static int stdout_stream_new(sd_event_source *es, int listen_fd, uint32_t revent } #ifdef HAVE_SELINUX - if (use_selinux()) { + if (mac_selinux_use()) { if (getpeercon(fd, &stream->security_context) < 0 && errno != ENOPROTOOPT) log_error("Failed to determine peer security context: %m"); }