Searched refs:permset (Results 1 - 13 of 13) sorted by last modified time

/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_main.c2930 acl_permset_t permset; local
2971 r = acl_get_permset(aclent, &permset);
2976 r = acl_add_perm(permset, acl_perms[i]);
2981 r = acl_set_permset(aclent, permset);
3283 acls[i].type, acls[i].permset, acls[i].tag,
3288 "permset=%#010x, tag=%d, qual=%d name=%s",
3289 acls[i].type, acls[i].permset, acls[i].tag,
3299 archive_test_acl_match(struct archive_test_acl_t *acl, int type, int permset, argument
3304 if (permset != acl->permset)
3339 int type, permset, tag, qual; local
[all...]
H A Dtest_common.h427 int permset; /* Permissions for this class of users. */ member in struct:archive_test_acl_t
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_entry.c63 int type, permset, tag, qual; /* For ACL testing. */ local
562 &type, &permset, &tag, &qual, &name));
564 assertEqualInt(permset, 4);
570 &type, &permset, &tag, &qual, &name));
572 assertEqualInt(permset, 5);
578 &type, &permset, &tag, &qual, &name));
580 assertEqualInt(permset, 6);
587 &type, &permset, &tag, &qual, &name));
589 assertEqualInt(permset, ARCHIVE_ENTRY_ACL_READ);
663 &type, &permset,
[all...]
H A Dtest_acl_platform_posix1e.c64 int permset = 0; local
71 permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
73 permset |= ARCHIVE_ENTRY_ACL_WRITE;
75 permset |= ARCHIVE_ENTRY_ACL_READ;
77 /* translate the silly opaque permset to a bitmap */
80 permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
82 permset |= ARCHIVE_ENTRY_ACL_WRITE;
84 permset |= ARCHIVE_ENTRY_ACL_READ;
86 return permset;
135 if (myacl->permset !
[all...]
H A Dtest_acl_platform_nfs4.c43 int permset; member in struct:myacl_t
268 acls[0].type, acls[0].permset, acls[0].tag,
275 acls[i].type, acls[i].permset, acls[i].tag,
366 int i, permset = 0; local
374 permset |= perms[i].portable;
375 return permset;
442 if (perms != myacl->permset)
497 if (perms != myacl->permset)
558 /* translate the silly opaque permset to a bitmap */
562 if (perms != myacl->permset)
790 int type, permset, tag, qual; local
[all...]
H A Dtest_acl_posix1e.c174 p->type, p->permset, p->tag, p->qual, p->name));
H A Dtest_acl_nfs4.c201 p->type, p->permset, p->tag, p->qual, p->name));
H A Dmain.c2441 failure("type=%#010x, permset=%#010x, tag=%d, qual=%d name=%s",
2442 acls[i].type, acls[i].permset, acls[i].tag,
2446 acls[i].type, acls[i].permset, acls[i].tag,
2452 archive_test_acl_match(struct archive_test_acl_t *acl, int type, int permset, argument
2457 if (permset != acl->permset)
2491 int type, permset, tag, qual; local
2511 &type, &permset, &tag, &qual, &name))) {
2514 permset, tag, qual, name)) {
2524 failure("USER_OBJ permset (
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_entry.c1514 int type, int permset, int tag, int id, const char *name)
1516 return archive_acl_add_entry(&entry->acl, type, permset, tag, id, name);
1524 int type, int permset, int tag, int id, const wchar_t *name)
1527 type, permset, tag, id, name, wcslen(name));
1565 int *permset, int *tag, int *id, const char **name)
1569 permset, tag, id, name);
1513 archive_entry_acl_add_entry(struct archive_entry *entry, int type, int permset, int tag, int id, const char *name) argument
1523 archive_entry_acl_add_entry_w(struct archive_entry *entry, int type, int permset, int tag, int id, const wchar_t *name) argument
1564 archive_entry_acl_next(struct archive_entry *entry, int want_type, int *type, int *permset, int *tag, int *id, const char **name) argument
H A Darchive_acl.c53 int type, int permset, int tag);
55 int type, int permset, int tag, int id);
57 int type, int permset, int tag, int id, const char *name,
161 ap->type, ap->permset, ap->tag, ap->id);
170 int type, int permset, int tag, int id, const char *name)
174 if (acl_special(acl, type, permset, tag) == 0)
176 ap = acl_new_entry(acl, type, permset, tag, id);
190 int type, int permset, int tag, int id, const wchar_t *name, size_t len)
194 if (acl_special(acl, type, permset, tag) == 0)
196 ap = acl_new_entry(acl, type, permset, ta
169 archive_acl_add_entry(struct archive_acl *acl, int type, int permset, int tag, int id, const char *name) argument
189 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
209 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
242 acl_special(struct archive_acl *acl, int type, int permset, int tag) argument
269 acl_new_entry(struct archive_acl *acl, int type, int permset, int tag, int id) argument
432 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
1148 int type, types, tag, permset, id; local
1426 ismode_w(const wchar_t *start, const wchar_t *end, int *permset) argument
1460 is_nfs4_perms_w(const wchar_t *start, const wchar_t *end, int *permset) argument
1523 is_nfs4_flags_w(const wchar_t *start, const wchar_t *end, int *permset) argument
1631 int type, types, tag, permset, id; local
1916 ismode(const char *start, const char *end, int *permset) argument
1950 is_nfs4_perms(const char *start, const char *end, int *permset) argument
2013 is_nfs4_flags(const char *start, const char *end, int *permset) argument
[all...]
H A Darchive_acl_private.h41 int permset; /* r/w/x bits */ member in struct:archive_acl_entry
/freebsd-11-stable/lib/libc/posix1e/
H A Dacl_to_text_nfs4.c171 acl_permset_t permset; local
182 error = acl_get_permset(entry, &permset);
195 error = _nfs4_format_access_mask(buf, sizeof(buf), *permset,
/freebsd-11-stable/bin/setfacl/
H A Dmerge.c45 acl_permset_t permset; local
61 if (acl_get_permset(*entry, &permset) == -1)
63 if (acl_set_permset(*entry_new, permset) == -1)
92 acl_permset_t permset; local
170 if (acl_get_permset(entry, &permset) == -1)
173 if (acl_set_permset(entry_new, permset) == -1)

Completed in 127 milliseconds