summaryrefslogtreecommitdiff
path: root/src/journal/journald-stream.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 17:34:30 +0200
committerLennart Poettering <lennart@poettering.net>2014-10-23 17:34:30 +0200
commit6baa7db00812437bbc87e73faa1a11b6cf631958 (patch)
treef3c4041b684cd55fe23d06eff9761ab2aca31332 /src/journal/journald-stream.c
parentcc56fafeebf814ef035e549115cf1850e6473fa5 (diff)
mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new mac_{smack,selinux,apparmor}_xyz() convention
Diffstat (limited to 'src/journal/journald-stream.c')
-rw-r--r--src/journal/journald-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c
index 8a983d84d9..76580f8263 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");
}