Lines Matching refs:acl
29 #include <sys/acl.h>
131 compare_acls(acl_t acl, struct myacl_t *myacls)
152 * Iterate over acls in system acl object, try to match each
155 while (1 == acl_get_entry(acl, entry_id, &acl_entry)) {
174 /* Dump entries in the myacls array that weren't in the system acl. */
204 acl_t acl;
211 acl = acl_from_text("u::rwx,u:1:rw,g::rwx,g:15:rx,o::rwx,m::rwx");
212 assert((void *)acl != NULL);
217 acl_free(acl);
221 n = acl_set_fd(fd, acl);
222 acl_free(acl);
260 acl = acl_get_file("test0", ACL_TYPE_ACCESS);
261 assert(acl != (acl_t)NULL);
262 compare_acls(acl, acls2);
263 acl_free(acl);