/freebsd/contrib/libarchive/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); 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 …]
|
H A D | archive_acl_private.h | 39 int permset; /* r/w/x bits */ member
|
H A 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()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_acl_platform_posix1e.c | 63 int permset = 0; in acl_entry_get_perm() 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() 76 /* translate the silly opaque permset to a bitmap */ 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 ! in acl_match() 64 int permset = 0; acl_entry_get_perm() local [all...] |
H A D | test_acl_platform_nfs4.c | 42 int permset; 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() 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() 557 /* translate the silly opaque permset to a bitmap */ in acl_match() 561 if (perms != myacl->permset) in acl_match() 43 int permset; global() member 366 int i, permset = 0; acl_permset_to_bitmap() local 790 int type, permset, tag, qual; compare_entry_acls() local [all...] |
H A 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 …]
|
H A D | main.c | 2442 acls[i].type, acls[i].permset, acls[i].tag, in archive_test_set_acls() 2446 acls[i].type, acls[i].permset, acls[i].tag, in archive_test_set_acls() 2452 archive_test_acl_match(struct archive_test_acl_t *acl, int type, int permset, in archive_test_acl_match() argument 2457 if (permset != acl->permset) in archive_test_acl_match() 2491 int type, permset, tag, qual; in archive_test_compare_acls() local 2511 &type, &permset, &tag, &qual, &name))) { in archive_test_compare_acls() 2514 permset, tag, qual, name)) { in archive_test_compare_acls() 2525 permset, 07 & (mode >> 6)); in archive_test_compare_acls() 2526 assert((permset << 6) == (mode & 0700)); in archive_test_compare_acls() 2531 permset, 07 & (mode >> 3)); in archive_test_compare_acls() [all …]
|
H A D | test_acl_posix1e.c | 173 p->type, p->permset, p->tag, p->qual, p->name)); in DEFINE_TEST()
|
H A D | test_acl_nfs4.c | 200 p->type, p->permset, p->tag, p->qual, p->name)); in DEFINE_TEST()
|
/freebsd/bin/setfacl/ |
H A D | merge.c | 41 acl_permset_t permset; in merge_user_group() local 57 if (acl_get_permset(*entry, &permset) == -1) in merge_user_group() 59 if (acl_set_permset(*entry_new, permset) == -1) in merge_user_group() 88 acl_permset_t permset; in merge_acl() local 166 if (acl_get_permset(entry, &permset) == -1) in merge_acl() 169 if (acl_set_permset(entry_new, permset) == -1) in merge_acl()
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 172 acl_permset_t permset; in format_entry() local 183 error = acl_get_permset(entry, &permset); in format_entry() 196 error = _nfs4_format_access_mask(buf, sizeof(buf), *permset, in format_entry()
|
/freebsd/contrib/libarchive/test_utils/ |
H A D | test_main.c | 2964 acl_permset_t permset; in setTestAcl() local 3004 r = acl_get_permset(aclent, &permset); in setTestAcl() 3009 r = acl_add_perm(permset, acl_perms[i]); in setTestAcl() 3014 r = acl_set_permset(aclent, permset); in setTestAcl() 3314 acls[i].type, acls[i].permset, acls[i].tag, in assertion_entry_set_acls() 3320 acls[i].type, acls[i].permset, acls[i].tag, in assertion_entry_set_acls() 3330 archive_test_acl_match(struct archive_test_acl_t *acl, int type, int permset, in archive_test_acl_match() argument 3335 if (permset != acl->permset) in archive_test_acl_match() 3370 int type, permset, tag, qual; in assertion_entry_compare_acls() local 3394 &type, &permset, &tag, &qual, &name))) { in assertion_entry_compare_acls() [all …]
|
H A D | test_common.h | 421 int permset; /* Permissions for this class of users. */ member
|