Lines Matching refs:acl
29 #include <sys/acl.h>
131 compare_acls(acl_t acl, struct myacl_t *myacls)
147 * Iterate over acls in system acl object, try to match each
150 while (1 == acl_get_entry(acl, entry_id, &acl_entry)) {
169 /* Dump entries in the myacls array that weren't in the system acl. */
199 acl_t acl;
206 acl = acl_from_text("u::rwx,u:1:rw,g::rwx,g:15:rx,o::rwx,m::rwx");
207 assert((void *)acl != NULL);
212 acl_free(acl);
216 n = acl_set_fd(fd, acl);
217 acl_free(acl);
250 acl = acl_get_file("test0", ACL_TYPE_ACCESS);
251 assert(acl != (acl_t)NULL);
252 compare_acls(acl, acls2);
253 acl_free(acl);