diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-22 22:54:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-22 22:56:24 +0200 |
commit | e346512c684e9efae84c6442f7e6a5781564ecde (patch) | |
tree | 7aa37e80d4f1e27e89017b8898b355c62f5cd918 /src/shared/acl-util.h | |
parent | 0a0215783159b9c3a3652b231df36dbff08e0ac5 (diff) |
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
Diffstat (limited to 'src/shared/acl-util.h')
-rw-r--r-- | src/shared/acl-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h index fdb90063fa..c8bcc266d0 100644 --- a/src/shared/acl-util.h +++ b/src/shared/acl-util.h @@ -32,7 +32,7 @@ int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry); int calc_acl_mask_if_needed(acl_t *acl_p); int add_base_acls_if_needed(acl_t *acl_p, const char *path); -int search_acl_groups(char*** dst, const char* path, bool* belong); +int acl_search_groups(const char* path, char ***ret_groups); int parse_acl(char *text, acl_t *acl_access, acl_t *acl_default, bool want_mask); int acls_for_file(const char *path, acl_type_t type, acl_t new, acl_t *acl); |