diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2015-11-30 19:30:03 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2015-11-30 19:30:03 +0100 |
commit | de418eb91cfa07f2d67f0eeaf0e787da4fa4feac (patch) | |
tree | ebae7c02386b958d754de33bddc6ec36fdc20fe3 /src/journal/journald-stream.c | |
parent | a00405285e5ee25d7532f66f470b0bb7fb8df7de (diff) | |
parent | 20ba6c2ebe083a6a5021b68622637c710ea12115 (diff) |
Merge pull request #2053 from poettering/selinux-fix
Two unrelated fixes
Diffstat (limited to 'src/journal/journald-stream.c')
-rw-r--r-- | src/journal/journald-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c index 07a0f1bf41..131fcdac42 100644 --- a/src/journal/journald-stream.c +++ b/src/journal/journald-stream.c @@ -493,7 +493,7 @@ static int stdout_stream_install(Server *s, int fd, StdoutStream **ret) { if (r < 0) return log_error_errno(r, "Failed to determine peer credentials: %m"); - if (mac_selinux_use()) { + if (mac_selinux_have()) { r = getpeersec(fd, &stream->label); if (r < 0 && r != -EOPNOTSUPP) (void) log_warning_errno(r, "Failed to determine peer security context: %m"); |