/freebsd-10.3-release/contrib/libarchive/libarchive/test/ |
H A D | test_compat_solaris_tar_acl.c | 41 int type, permset, tag, qual; local 60 &type, &permset, &tag, &qual, &name)); 62 assertEqualInt(006, permset); 69 &type, &permset, &tag, &qual, &name)); 71 assertEqualInt(004, permset); 78 &type, &permset, &tag, &qual, &name)); 80 assertEqualInt(004, permset); 87 &type, &permset, &tag, &qual, &name)); 89 assertEqualInt(001, permset); 96 &type, &permset, [all...] |
H A D | test_acl_posix1e.c | 38 int permset; /* Permissions for this class of users. */ member in struct:acl_t 115 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual, 121 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, const char *name) argument 125 if (permset != acl->permset) 156 int type, permset, tag, qual; local 165 &type, &permset, &tag, &qual, &name))) { 167 if (acl_match(&acls[marker[i]], type, permset, 177 failure("USER_OBJ permset (%02o) != user mode (%02o)", 178 permset, 0 [all...] |
H A D | test_acl_pax.c | 40 int permset; /* Permissions for this class of users. */ member in struct:acl_t 89 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual, 95 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, const char *name) argument 99 if (permset != acl->permset) 124 int type, permset, tag, qual; local 133 &type, &permset, &tag, &qual, &name))) { 135 if (acl_match(&acls[marker[i]], type, permset, 145 failure("USER_OBJ permset (%02o) != user mode (%02o)", 146 permset, 0 [all...] |
H A D | test_acl_nfs4.c | 38 int permset; /* Permissions for this class of users. */ member in struct:acl_t 166 failure("type=%d, permset=%d, tag=%d, qual=%d name=%s", 167 acls[i].type, acls[i].permset, acls[i].tag, 171 acls[i].type, acls[i].permset, acls[i].tag, 177 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, argument 184 if (permset != acl->permset) 215 int type, permset, tag, qual; local 224 &type, &permset, &tag, &qual, &name))) { 226 if (acl_match(&acls[marker[i]], type, permset, [all...] |
H A D | test_acl_freebsd_posix1e.c | 33 int permset; /* Permissions for this class of users. */ member in struct:myacl_t 67 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual, 79 int permset = 0; local 83 /* translate the silly opaque permset to a bitmap */ 86 permset |= ARCHIVE_ENTRY_ACL_EXECUTE; 88 permset |= ARCHIVE_ENTRY_ACL_WRITE; 90 permset |= ARCHIVE_ENTRY_ACL_READ; 92 if (permset != myacl->permset) 177 "type=%d,permset [all...] |
H A D | test_acl_freebsd_nfs4.c | 34 int permset; member in struct:myacl_t 179 acls[0].type, acls[0].permset, acls[0].tag, 185 acls[i].type, acls[i].permset, acls[i].tag, 214 int i, permset = 0; local 218 permset |= perms[i].portable; 219 return permset; 251 /* translate the silly opaque permset to a bitmap */ 255 if (perms != myacl->permset) 337 "type=%d,permset=%x,tag=%d,qual=%d,name=``%s''\n", 339 myacls[marker[i]].type, myacls[marker[i]].permset, 353 int type, permset, tag, qual; local [all...] |
H A D | test_entry.c | 59 int type, permset, tag, qual; /* For ACL testing. */ local 454 &type, &permset, &tag, &qual, &name)); 456 assertEqualInt(permset, 4); 462 &type, &permset, &tag, &qual, &name)); 464 assertEqualInt(permset, 5); 470 &type, &permset, &tag, &qual, &name)); 472 assertEqualInt(permset, 6); 479 &type, &permset, &tag, &qual, &name)); 481 assertEqualInt(permset, ARCHIVE_ENTRY_ACL_READ); 555 &type, &permset, [all...] |
/freebsd-10.3-release/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, 111 ap->type, ap->permset, ap->tag, ap->id); 120 int type, int permset, int tag, int id, const char *name) 124 if (acl_special(acl, type, permset, tag) == 0) 126 ap = acl_new_entry(acl, type, permset, tag, id); 140 int type, int permset, int tag, int id, const wchar_t *name, size_t len) 144 if (acl_special(acl, type, permset, tag) == 0) 146 ap = acl_new_entry(acl, type, permset, ta 119 archive_acl_add_entry(struct archive_acl *acl, int type, int permset, int tag, int id, const char *name) argument 139 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 159 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 192 acl_special(struct archive_acl *acl, int type, int permset, int tag) argument 219 acl_new_entry(struct archive_acl *acl, int type, int permset, int tag, int id) argument 369 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 833 int type, tag, permset, id; local 960 ismode_w(const wchar_t *start, const wchar_t *end, int *permset) argument 1063 int type, tag, permset, id; local 1194 ismode(const char *start, const char *end, int *permset) argument [all...] |
H A D | archive_acl_private.h | 41 int permset; /* r/w/x bits */ member in struct:archive_acl_entry
|
H A D | archive_entry.c | 1277 int type, int permset, int tag, int id, const char *name) 1279 return archive_acl_add_entry(&entry->acl, type, permset, tag, id, name); 1287 int type, int permset, int tag, int id, const wchar_t *name) 1290 type, permset, tag, id, name, wcslen(name)); 1319 int *permset, int *tag, int *id, const char **name) 1323 permset, tag, id, name); 1276 archive_entry_acl_add_entry(struct archive_entry *entry, int type, int permset, int tag, int id, const char *name) argument 1286 archive_entry_acl_add_entry_w(struct archive_entry *entry, int type, int permset, int tag, int id, const wchar_t *name) argument 1318 archive_entry_acl_next(struct archive_entry *entry, int want_type, int *type, int *permset, int *tag, int *id, const char **name) argument
|
/freebsd-10.3-release/bin/setfacl/ |
H A D | merge.c | 45 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)
|
/freebsd-10.3-release/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 171 acl_permset_t permset; local 182 error = acl_get_permset(entry, &permset); 195 error = _nfs4_format_access_mask(buf, sizeof(buf), *permset,
|