| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_acl.c | 52 int type, int permset, int tag); 54 int type, int permset, int tag, int id); 56 int type, int permset, int tag, int id, const char *name, 160 ap->type, ap->permset, ap->tag, ap->id); in archive_acl_copy() 169 int type, int permset, int tag, int id, const char *name) in archive_acl_add_entry() argument 173 if (acl_special(acl, type, permset, tag) == 0) in archive_acl_add_entry() 175 ap = acl_new_entry(acl, type, permset, tag, id); in archive_acl_add_entry() 189 int type, int permset, int tag, int id, const wchar_t *name, size_t len) in archive_acl_add_entry_w_len() argument 193 if (acl_special(acl, type, permset, tag) == 0) in archive_acl_add_entry_w_len() 195 ap = acl_new_entry(acl, type, permset, tag, id); in archive_acl_add_entry_w_len() [all …]
|
| D | archive_disk_acl_darwin.c | 144 int permset; in add_trivial_nfs4_acl() member 158 tacl_entry[5].permset |= rperm; in add_trivial_nfs4_acl() 160 tacl_entry[5].permset |= wperm; in add_trivial_nfs4_acl() 162 tacl_entry[5].permset |= eperm; in add_trivial_nfs4_acl() 166 tacl_entry[4].permset |= rperm; in add_trivial_nfs4_acl() 168 tacl_entry[2].permset |= rperm; in add_trivial_nfs4_acl() 170 tacl_entry[4].permset |= wperm; in add_trivial_nfs4_acl() 172 tacl_entry[2].permset |= wperm; in add_trivial_nfs4_acl() 174 tacl_entry[4].permset |= eperm; in add_trivial_nfs4_acl() 176 tacl_entry[2].permset |= eperm; in add_trivial_nfs4_acl() [all …]
|
| D | archive_acl_private.h | 39 int permset; /* r/w/x bits */ member
|
| D | archive_entry.c | 1656 int type, int permset, int tag, int id, const char *name) in archive_entry_acl_add_entry() argument 1658 return archive_acl_add_entry(&entry->acl, type, permset, tag, id, name); in archive_entry_acl_add_entry() 1666 int type, int permset, int tag, int id, const wchar_t *name) in archive_entry_acl_add_entry_w() argument 1669 type, permset, tag, id, name, wcslen(name)); in archive_entry_acl_add_entry_w() 1707 int *permset, int *tag, int *id, const char **name) in archive_entry_acl_next() argument 1711 permset, tag, id, name); in archive_entry_acl_next()
|
| /netbsd/src/external/bsd/libarchive/dist/libarchive/test/ |
| D | test_acl_platform_posix1e.c | 63 int permset = 0; in acl_entry_get_perm() local 70 permset |= ARCHIVE_ENTRY_ACL_EXECUTE; in acl_entry_get_perm() 72 permset |= ARCHIVE_ENTRY_ACL_WRITE; in acl_entry_get_perm() 74 permset |= ARCHIVE_ENTRY_ACL_READ; in acl_entry_get_perm() 79 permset |= ARCHIVE_ENTRY_ACL_EXECUTE; in acl_entry_get_perm() 81 permset |= ARCHIVE_ENTRY_ACL_WRITE; in acl_entry_get_perm() 83 permset |= ARCHIVE_ENTRY_ACL_READ; in acl_entry_get_perm() 85 return permset; in acl_entry_get_perm() 134 if (myacl->permset != acl_entry_get_perm(aclent)) in acl_match() 178 if (myacl->permset != acl_entry_get_perm(aclent)) in acl_match() [all …]
|
| D | test_acl_platform_nfs4.c | 42 int permset; member 267 acls[0].type, acls[0].permset, acls[0].tag, in set_acls() 274 acls[i].type, acls[i].permset, acls[i].tag, in set_acls() 365 int i, permset = 0; in acl_permset_to_bitmap() local 373 permset |= perms[i].portable; in acl_permset_to_bitmap() 374 return permset; in acl_permset_to_bitmap() 441 if (perms != myacl->permset) in acl_match() 496 if (perms != myacl->permset) in acl_match() 561 if (perms != myacl->permset) in acl_match() 621 if (perms != myacl->permset) in acl_match() [all …]
|
| D | test_entry.c | 62 int type, permset, tag, qual; /* For ACL testing. */ in DEFINE_TEST() local 560 &type, &permset, &tag, &qual, &name)); in DEFINE_TEST() 562 assertEqualInt(permset, 4); in DEFINE_TEST() 568 &type, &permset, &tag, &qual, &name)); in DEFINE_TEST() 570 assertEqualInt(permset, 5); in DEFINE_TEST() 576 &type, &permset, &tag, &qual, &name)); in DEFINE_TEST() 578 assertEqualInt(permset, 6); in DEFINE_TEST() 585 &type, &permset, &tag, &qual, &name)); in DEFINE_TEST() 587 assertEqualInt(permset, ARCHIVE_ENTRY_ACL_READ); in DEFINE_TEST() 661 &type, &permset, &tag, &qual, &name)); in DEFINE_TEST() [all …]
|
| D | test_acl_posix1e.c | 173 p->type, p->permset, p->tag, p->qual, p->name)); in DEFINE_TEST()
|
| D | test_acl_nfs4.c | 200 p->type, p->permset, p->tag, p->qual, p->name)); in DEFINE_TEST()
|