Lines Matching refs:acl
76 aclcnt = acl(filename, cntcmd, 0, NULL); in acl_trivial()
82 if (acl(filename, ACE_GETACL, in acl_trivial()
142 acl_info->acl_cnt = acl(fname, cntcmd, 0, NULL); in cacl_get()
172 error = acl(fname, getcmd, acl_info->acl_cnt, in cacl_get()
287 error = acl(acl_inp->file, in cacl_set()
369 acl_to_aclp(enum acl_type type, void *acl, int count) in acl_to_aclp() argument
378 aclp->acl_aclp = acl; in acl_to_aclp()
427 error = acl(file, SETACL, aclcnt, min_acl); in acl_strip()
432 error = acl(file, ACE_SETACL, aclcnt, min_ace_acl); in acl_strip()
480 acl_removeentries(acl_t *acl, acl_t *removeacl, int start_slot, int flag) in acl_removeentries() argument
492 if (acl == NULL || removeacl == NULL) in acl_removeentries()
495 if (acl->acl_type != removeacl->acl_type) in acl_removeentries()
498 if (acl->acl_type == ACLENT_T) in acl_removeentries()
507 acl_entry = (char *)acl->acl_aclp + in acl_removeentries()
508 (acl->acl_entry_size * start_slot); in acl_removeentries()
515 if (acl->acl_cnt == (j + 1)) { in acl_removeentries()
516 acl->acl_cnt--; in acl_removeentries()
521 acl->acl_entry_size; in acl_removeentries()
523 acl->acl_entry_size * in acl_removeentries()
524 (acl->acl_cnt-- - (j + 1))); in acl_removeentries()
534 acl_entry = ((char *)acl_entry + acl->acl_entry_size); in acl_removeentries()
535 if (++j >= acl->acl_cnt) { in acl_removeentries()