]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journald-server.c
journald: introduce new uid_for_system_journal() helper
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Dec 2017 14:17:39 +0000 (15:17 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2018 12:28:24 +0000 (13:28 +0100)
commit2fce06b0d6da5c8a6e100db77ab47c44cc0047cb
tree3611b599fcfbd18b019dd4a318a7b569364a724a
parent217d89678269334f461e9abeeffed57077b21454
journald: introduce new uid_for_system_journal() helper

We use the same check at two places, let's add a tiny helper function
for it, since it's not entirely trivialy, and we changes this before
multiple times, and it's a good thing if we can change it at one place
only instead of multiple.
src/journal/journald-server.c