/macosx-10.10/libarchive-30/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_basic.c | 38 int permset; /* Permissions for this class of users. */ member in struct:acl_t 87 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual, 93 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, const char *name) argument 97 if (permset != acl->permset) 126 int type, permset, tag, qual; local 135 &type, &permset, &tag, &qual, &name))) { 137 if (acl_match(&acls[marker[i]], type, permset, 147 failure("USER_OBJ permset (%02o) != user mode (%02o)", 148 permset, 0 [all...] |
H A D | test_acl_pax.c | 264 int permset; /* Permissions for this class of users. */ member in struct:acl_t 313 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual, 319 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, const char *name) argument 323 if (permset != acl->permset) 348 int type, permset, tag, qual; local 357 &type, &permset, &tag, &qual, &name))) { 359 if (acl_match(&acls[marker[i]], type, permset, 369 failure("USER_OBJ permset (%02o) != user mode (%02o)", 370 permset, 0 [all...] |
H A D | test_acl_freebsd.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) 172 "type=%d,permset [all...] |
H A D | test_entry.c | 49 int type, permset, tag, qual; /* For ACL testing. */ local 449 &type, &permset, &tag, &qual, &name)); 451 assertEqualInt(permset, 4); 457 &type, &permset, &tag, &qual, &name)); 459 assertEqualInt(permset, 5); 465 &type, &permset, &tag, &qual, &name)); 467 assertEqualInt(permset, 6); 474 &type, &permset, &tag, &qual, &name)); 476 assertEqualInt(permset, ARCHIVE_ENTRY_ACL_READ); 574 &type, &permset, [all...] |
/macosx-10.10/Libc-1044.1.2/posix1e/ |
H A D | acl_perm.c | 89 acl_add_perm(acl_permset_t permset, acl_perm_t perm) argument 94 permset->ap_perms |= perm; 99 acl_clear_perms(acl_permset_t permset) argument 103 permset->ap_perms = 0; 108 acl_delete_perm(acl_permset_t permset, acl_perm_t perm) argument 113 permset->ap_perms &= ~perm; 118 acl_get_perm_np(acl_permset_t permset, acl_perm_t perm) argument 122 return((perm & permset->ap_perms) ? 1 : 0); 135 acl_set_permset(acl_entry_t entry, acl_permset_t permset) argument 139 entry->ae_perms = permset [all...] |
/macosx-10.10/cups-408/cups/scheduler/ |
H A D | cert.c | 88 acl_permset_t permset; /* Permissions */ local 138 acl_get_permset(entry, &permset); 139 acl_add_perm(permset, ACL_READ_DATA); 143 acl_set_permset(entry, permset); 156 acl_get_permset(entry, &permset); 157 acl_add_perm(permset, ACL_READ); 159 acl_set_permset(entry, permset); 163 acl_get_permset(entry, &permset); 164 acl_add_perm(permset, ACL_READ); 166 acl_set_permset(entry, permset); [all...] |
/macosx-10.10/libarchive-30/libarchive/libarchive/ |
H A D | archive_entry.c | 121 int type, int permset, int tag); 123 int type, int permset, int tag, int id); 132 int permset, int tag, int id, const wchar_t *name, size_t); 420 ap->type, ap->permset, ap->tag, ap->id); 1202 int type, int permset, int tag, int id, const char *name) 1206 if (acl_special(entry, type, permset, tag) == 0) 1208 ap = acl_new_entry(entry, type, permset, tag, id); 1224 int type, int permset, int tag, int id, const wchar_t *name) 1226 archive_entry_acl_add_entry_w_len(entry, type, permset, tag, id, name, wcslen(name)); 1231 int type, int permset, in 1201 archive_entry_acl_add_entry(struct archive_entry *entry, int type, int permset, int tag, int id, const char *name) argument 1223 archive_entry_acl_add_entry_w(struct archive_entry *entry, int type, int permset, int tag, int id, const wchar_t *name) argument 1230 archive_entry_acl_add_entry_w_len(struct archive_entry *entry, int type, int permset, int tag, int id, const wchar_t *name, size_t len) argument 1253 acl_special(struct archive_entry *entry, int type, int permset, int tag) argument 1279 acl_new_entry(struct archive_entry *entry, int type, int permset, int tag, int id) argument 1380 archive_entry_acl_next(struct archive_entry *entry, int want_type, int *type, int *permset, int *tag, int *id, const char **name) argument 1639 int type, tag, permset, id; local 1765 ismode_w(const wchar_t *start, const wchar_t *end, int *permset) argument [all...] |
H A D | archive_entry_private.h | 60 int permset; /* r/w/x bits */ member in struct:ae_acl
|
/macosx-10.10/copyfile-118.1.2/ |
H A D | copyfile.c | 334 acl_permset_t permset; local 350 if (acl_get_permset(entry, &permset) == -1) { 354 if (acl_clear_perms(permset) == -1) { 358 if (acl_add_perm(permset, ACL_WRITE_DATA) == -1) { 362 if (acl_add_perm(permset, ACL_WRITE_ATTRIBUTES) == -1) { 366 if (acl_add_perm(permset, ACL_WRITE_EXTATTRIBUTES) == -1) { 370 if (acl_add_perm(permset, ACL_APPEND_DATA) == -1) { 374 if (acl_add_perm(permset, ACL_WRITE_SECURITY) == -1) { 383 if(acl_set_permset(entry, permset) == -1) { 1380 acl_permset_t permset; [all...] |