Home
last modified time | relevance | path

Searched refs:acl_p (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dacl-util.c56 int calc_acl_mask_if_needed(acl_t *acl_p) { in calc_acl_mask_if_needed() argument
61 assert(acl_p); in calc_acl_mask_if_needed()
63 for (r = acl_get_entry(*acl_p, ACL_FIRST_ENTRY, &i); in calc_acl_mask_if_needed()
65 r = acl_get_entry(*acl_p, ACL_NEXT_ENTRY, &i)) { in calc_acl_mask_if_needed()
80 if (need && acl_calc_mask(acl_p) < 0) in calc_acl_mask_if_needed()
86 int add_base_acls_if_needed(acl_t *acl_p, const char *path) { in add_base_acls_if_needed() argument
93 assert(acl_p); in add_base_acls_if_needed()
95 for (r = acl_get_entry(*acl_p, ACL_FIRST_ENTRY, &i); in add_base_acls_if_needed()
97 r = acl_get_entry(*acl_p, ACL_NEXT_ENTRY, &i)) { in add_base_acls_if_needed()
137 r = acl_create_entry(acl_p, &dst); in add_base_acls_if_needed()
Dacl-util.h15 int calc_acl_mask_if_needed(acl_t *acl_p);
16 int add_base_acls_if_needed(acl_t *acl_p, const char *path);