/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A 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); 169 int type, int permset, int tag, int id, const char *name) 173 if (acl_special(acl, type, permset, tag) == 0) 175 ap = acl_new_entry(acl, type, permset, tag, id); 189 int type, int permset, int tag, int id, const wchar_t *name, size_t len) 193 if (acl_special(acl, type, permset, tag) == 0) 195 ap = acl_new_entry(acl, type, permset, ta 168 archive_acl_add_entry(struct archive_acl *acl, int type, int permset, int tag, int id, const char *name) argument 188 archive_acl_add_entry_w_len(struct archive_acl *acl, int type, int permset, int tag, int id, const wchar_t *name, size_t len) argument 208 archive_acl_add_entry_len_l(struct archive_acl *acl, int type, int permset, int tag, int id, const char *name, size_t len, struct archive_string_conv *sc) argument 241 acl_special(struct archive_acl *acl, int type, int permset, int tag) argument 268 acl_new_entry(struct archive_acl *acl, int type, int permset, int tag, int id) argument 431 archive_acl_next(struct archive *a, struct archive_acl *acl, int want_type, int *type, int *permset, int *tag, int *id, const char **name) argument 1147 int type, types, tag, permset, id; local 1425 ismode_w(const wchar_t *start, const wchar_t *end, int *permset) argument 1459 is_nfs4_perms_w(const wchar_t *start, const wchar_t *end, int *permset) argument 1522 is_nfs4_flags_w(const wchar_t *start, const wchar_t *end, int *permset) argument 1630 int type, types, tag, permset, id; local 1915 ismode(const char *start, const char *end, int *permset) argument 1949 is_nfs4_perms(const char *start, const char *end, int *permset) argument 2012 is_nfs4_flags(const char *start, const char *end, int *permset) argument [all...] |
H A D | archive_disk_acl_darwin.c | 144 int permset; member in struct:__anon93 158 tacl_entry[5].permset |= rperm; 160 tacl_entry[5].permset |= wperm; 162 tacl_entry[5].permset |= eperm; 166 tacl_entry[4].permset |= rperm; 168 tacl_entry[2].permset |= rperm; 170 tacl_entry[4].permset |= wperm; 172 tacl_entry[2].permset |= wperm; 174 tacl_entry[4].permset |= eperm; 176 tacl_entry[2].permset | [all...] |
H A D | archive_acl_private.h | 39 int permset; /* r/w/x bits */ member in struct:archive_acl_entry
|
H A D | archive_entry.c | 1556 int type, int permset, int tag, int id, const char *name) 1558 return archive_acl_add_entry(&entry->acl, type, permset, tag, id, name); 1566 int type, int permset, int tag, int id, const wchar_t *name) 1569 type, permset, tag, id, name, wcslen(name)); 1607 int *permset, int *tag, int *id, const char **name) 1611 permset, tag, id, name); 1555 archive_entry_acl_add_entry(struct archive_entry *entry, int type, int permset, int tag, int id, const char *name) argument 1565 archive_entry_acl_add_entry_w(struct archive_entry *entry, int type, int permset, int tag, int id, const wchar_t *name) argument 1606 archive_entry_acl_next(struct archive_entry *entry, int want_type, int *type, int *permset, int *tag, int *id, const char **name) argument
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_acl_platform_posix1e.c | 63 int permset = 0; local 70 permset |= ARCHIVE_ENTRY_ACL_EXECUTE; 72 permset |= ARCHIVE_ENTRY_ACL_WRITE; 74 permset |= ARCHIVE_ENTRY_ACL_READ; 76 /* translate the silly opaque permset to a bitmap */ 79 permset |= ARCHIVE_ENTRY_ACL_EXECUTE; 81 permset |= ARCHIVE_ENTRY_ACL_WRITE; 83 permset |= ARCHIVE_ENTRY_ACL_READ; 85 return permset; 134 if (myacl->permset ! [all...] |
H A D | test_acl_platform_nfs4.c | 42 int permset; member in struct:myacl_t 267 acls[0].type, acls[0].permset, acls[0].tag, 274 acls[i].type, acls[i].permset, acls[i].tag, 365 int i, permset = 0; local 373 permset |= perms[i].portable; 374 return permset; 441 if (perms != myacl->permset) 496 if (perms != myacl->permset) 557 /* translate the silly opaque permset to a bitmap */ 561 if (perms != myacl->permset) 789 int type, permset, tag, qual; local [all...] |
H A D | test_entry.c | 62 int type, permset, tag, qual; /* For ACL testing. */ local 561 &type, &permset, &tag, &qual, &name)); 563 assertEqualInt(permset, 4); 569 &type, &permset, &tag, &qual, &name)); 571 assertEqualInt(permset, 5); 577 &type, &permset, &tag, &qual, &name)); 579 assertEqualInt(permset, 6); 586 &type, &permset, &tag, &qual, &name)); 588 assertEqualInt(permset, ARCHIVE_ENTRY_ACL_READ); 662 &type, &permset, [all...] |
H A D | test_acl_posix1e.c | 173 p->type, p->permset, p->tag, p->qual, p->name));
|
H A D | test_acl_nfs4.c | 200 p->type, p->permset, p->tag, p->qual, p->name));
|
/netbsd-current/bin/setfacl/ |
H A D | merge.c | 51 acl_permset_t permset; local 67 if (acl_get_permset(*entry, &permset) == -1) 69 if (acl_set_permset(*entry_new, permset) == -1) 98 acl_permset_t permset; local 176 if (acl_get_permset(entry, &permset) == -1) 179 if (acl_set_permset(entry_new, permset) == -1)
|
/netbsd-current/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 177 acl_permset_t permset; local 189 error = acl_get_permset(entry, &permset); 202 error = _nfs4_format_access_mask(buf, sizeof(buf), *permset,
|
/netbsd-current/external/bsd/libarchive/dist/test_utils/ |
H A D | test_main.c | 2950 acl_permset_t permset; local 2991 r = acl_get_permset(aclent, &permset); 2996 r = acl_add_perm(permset, acl_perms[i]); 3001 r = acl_set_permset(aclent, permset); 3301 acls[i].type, acls[i].permset, acls[i].tag, 3306 "permset=%#010x, tag=%d, qual=%d name=%s", 3307 acls[i].type, acls[i].permset, acls[i].tag, 3317 archive_test_acl_match(struct archive_test_acl_t *acl, int type, int permset, argument 3322 if (permset != acl->permset) 3357 int type, permset, tag, qual; local [all...] |
H A D | test_common.h | 418 int permset; /* Permissions for this class of users. */ member in struct:archive_test_acl_t
|