summaryrefslogtreecommitdiffstats
path: root/src/shared/acl-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-18 11:02:47 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-22 07:14:53 +0100
commit50d9e46dbb8400d4570781728c63b151d9ca982b (patch)
treec628f4011aaa45315d20106f6f78eb74e127b8b9 /src/shared/acl-util.h
parenttmpfiles: make t and a globby, add their recursive versions T and A (diff)
downloadsystemd-50d9e46dbb8400d4570781728c63b151d9ca982b.tar.xz
systemd-50d9e46dbb8400d4570781728c63b151d9ca982b.zip
tmpfiles: implement augmenting of existing ACLs
This is much more useful in practice (equivalent to setfacl -m).
Diffstat (limited to 'src/shared/acl-util.h')
-rw-r--r--src/shared/acl-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h
index 4133214d25..1ad4a2ebc7 100644
--- a/src/shared/acl-util.h
+++ b/src/shared/acl-util.h
@@ -32,7 +32,8 @@
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 search_acl_groups(char*** dst, const char* path, bool* belong);
-int parse_acl(char *text, acl_t *acl_access, acl_t *acl_default);
+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);
/* acl_free takes multiple argument types.
* Multiple cleanup functions are necessary. */