chiark / gitweb /
journalctl: rework code that checks whether we have access to /var/log/journal
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 20:54:23 +0000 (22:54 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:11:09 +0000 (08:11 +0100)
commit7b3efd75e7eca9ca1ea300d8960a757082dad776
tree599bc304d9acd0bbe4d6b7ebf1aefa1905f1f0a9
parent9a2ee18b7172fae066f173017c10bad1cfb5913d
journalctl: rework code that checks whether we have access to /var/log/journal

- fix some memory leaks on error conditions

- handle all error cases properly, and log about failures

- move HAVE_ACL and no-HAVE_ACL code closer to each other
src/shared/acl-util.c
src/shared/acl-util.h