X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fjournal%2Fjournald-server.c;h=a4600e3315ecf145733c4a3493f46f2402120107;hp=39a1a07edaeba494956817376aa191ae0f025713;hb=cf677ac1b7ae1e46c593d055df27f36528be548a;hpb=34c10968cbe3b5591b3c0ce225b8694edd9709d0 diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 39a1a07ed..a4600e331 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -805,12 +805,11 @@ static void dispatch_message_real( /* Split up strictly by any UID */ journal_uid = realuid; else if (s->split_mode == SPLIT_LOGIN && realuid > 0 && owner_valid && owner > 0) - /* Split up by login UIDs, this avoids creation of - * individual journals for system UIDs. We do this - * only if the realuid is not root, in order not to - * accidentally leak privileged information to the - * user that is logged by a privileged process that is - * part of an unprivileged session.*/ + /* Split up by login UIDs. We do this only if the + * realuid is not root, in order not to accidentally + * leak privileged information to the user that is + * logged by a privileged process that is part of an + * unprivileged session.*/ journal_uid = owner; else journal_uid = 0;