Lines Matching refs:acl
29 #include <sys/acl.h>
90 acl_get_specific_entry(acl_t acl, acl_tag_t requested_tag_type, int requested_tag) {
95 while (1 == acl_get_entry(acl, entry_id, &acl_entry)) {
176 compare_acls(acl_t acl, struct myacl_t *myacls)
197 * Iterate over acls in system acl object, try to match each
200 while (1 == acl_get_entry(acl, entry_id, &acl_entry)) {
219 /* Dump entries in the myacls array that weren't in the system acl. */
249 acl_t acl;
256 acl = acl_from_text("u::rwx,u:1:rw,g::rwx,g:15:rx,o::rwx,m::rwx");
257 assert((void *)acl != NULL);
262 acl_free(acl);
266 n = acl_set_fd(fd, acl);
267 acl_free(acl);
305 acl = acl_get_file("test0", ACL_TYPE_ACCESS);
306 assert(acl != (acl_t)NULL);
307 compare_acls(acl, acls2);
308 acl_free(acl);