]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 20:56:24 +0000 (22:56 +0200)
commite346512c684e9efae84c6442f7e6a5781564ecde
tree7aa37e80d4f1e27e89017b8898b355c62f5cd918
parent0a0215783159b9c3a3652b231df36dbff08e0ac5
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/journal/journalctl.c
src/shared/acl-util.c
src/shared/acl-util.h