summaryrefslogtreecommitdiff
path: root/src/shared/acl-util.h
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-06-17 23:10:19 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2015-06-17 23:10:19 +0200
commit921ee38ff6222d9716da877639b2a0e9195c3a60 (patch)
tree7838fc65a7a329a4181b6588d2a92e18eb8f20d8 /src/shared/acl-util.h
parentde587378ea5d22e11373b18b4fcabf8f26f89529 (diff)
parente738c945ec16e14b96eab402024b0caca47f89d8 (diff)
Merge pull request #275 from poettering/acl-fixes
acl-util: various smaller fixes to parse_acl()
Diffstat (limited to 'src/shared/acl-util.h')
-rw-r--r--src/shared/acl-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h
index c8bcc266d0..cf612e8722 100644
--- a/src/shared/acl-util.h
+++ b/src/shared/acl-util.h
@@ -33,7 +33,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 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 parse_acl(const 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);
/* acl_free takes multiple argument types.