Lines Matching refs:permset

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()
209 int type, int permset, int tag, int id, const char *name, size_t len, in archive_acl_add_entry_len_l() argument
215 if (acl_special(acl, type, permset, tag) == 0) in archive_acl_add_entry_len_l()
217 ap = acl_new_entry(acl, type, permset, tag, id); in archive_acl_add_entry_len_l()
241 acl_special(struct archive_acl *acl, int type, int permset, int tag) in acl_special() argument
244 && ((permset & ~007) == 0)) { in acl_special()
248 acl->mode |= (permset & 7) << 6; in acl_special()
252 acl->mode |= (permset & 7) << 3; in acl_special()
256 acl->mode |= permset & 7; in acl_special()
269 int type, int permset, int tag, int id) in acl_new_entry() argument
280 if (permset & in acl_new_entry()
289 if (permset & ~ARCHIVE_ENTRY_ACL_PERMS_POSIX1E) { in acl_new_entry()
340 ap->permset = permset; in acl_new_entry()
359 ap->permset = permset; in acl_new_entry()
432 int *type, int *permset, int *tag, int *id, const char **name) in archive_acl_next() argument
449 *permset = (acl->mode >> 6) & 7; in archive_acl_next()
455 *permset = (acl->mode >> 3) & 7; in archive_acl_next()
461 *permset = acl->mode & 7; in archive_acl_next()
477 *permset = 0; in archive_acl_next()
484 *permset = acl->acl_p->permset; in archive_acl_next()
745 wname, ap->permset, id); in archive_acl_to_text_w()
984 ap->permset, id); in archive_acl_to_text_l()
1147 int type, types, tag, permset, id; in archive_acl_from_text_w() local
1202 permset = 0; in archive_acl_from_text_w()
1270 field[n + 1].end, &permset)) { in archive_acl_from_text_w()
1301 if (permset == 0 && !ismode_w(field[n + 2 - sol].start, in archive_acl_from_text_w()
1302 field[n + 2 - sol].end, &permset)) { in archive_acl_from_text_w()
1348 field[1 + n].end, &permset)) { in archive_acl_from_text_w()
1354 field[2 + n].end, &permset)) { in archive_acl_from_text_w()
1382 r = archive_acl_add_entry_w_len(acl, type, permset, in archive_acl_from_text_w()
1430 ismode_w(const wchar_t *start, const wchar_t *end, int *permset) in ismode_w() argument
1437 *permset = 0; in ismode_w()
1441 *permset |= ARCHIVE_ENTRY_ACL_READ; in ismode_w()
1444 *permset |= ARCHIVE_ENTRY_ACL_WRITE; in ismode_w()
1447 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE; in ismode_w()
1464 is_nfs4_perms_w(const wchar_t *start, const wchar_t *end, int *permset) in is_nfs4_perms_w() argument
1471 *permset |= ARCHIVE_ENTRY_ACL_READ_DATA; in is_nfs4_perms_w()
1474 *permset |= ARCHIVE_ENTRY_ACL_WRITE_DATA; in is_nfs4_perms_w()
1477 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE; in is_nfs4_perms_w()
1480 *permset |= ARCHIVE_ENTRY_ACL_APPEND_DATA; in is_nfs4_perms_w()
1483 *permset |= ARCHIVE_ENTRY_ACL_DELETE_CHILD; in is_nfs4_perms_w()
1486 *permset |= ARCHIVE_ENTRY_ACL_DELETE; in is_nfs4_perms_w()
1489 *permset |= ARCHIVE_ENTRY_ACL_READ_ATTRIBUTES; in is_nfs4_perms_w()
1492 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ATTRIBUTES; in is_nfs4_perms_w()
1495 *permset |= ARCHIVE_ENTRY_ACL_READ_NAMED_ATTRS; in is_nfs4_perms_w()
1498 *permset |= ARCHIVE_ENTRY_ACL_WRITE_NAMED_ATTRS; in is_nfs4_perms_w()
1501 *permset |= ARCHIVE_ENTRY_ACL_READ_ACL; in is_nfs4_perms_w()
1504 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ACL; in is_nfs4_perms_w()
1507 *permset |= ARCHIVE_ENTRY_ACL_WRITE_OWNER; in is_nfs4_perms_w()
1510 *permset |= ARCHIVE_ENTRY_ACL_SYNCHRONIZE; in is_nfs4_perms_w()
1527 is_nfs4_flags_w(const wchar_t *start, const wchar_t *end, int *permset) in is_nfs4_flags_w() argument
1534 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FILE_INHERIT; in is_nfs4_flags_w()
1537 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_DIRECTORY_INHERIT; in is_nfs4_flags_w()
1540 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERIT_ONLY; in is_nfs4_flags_w()
1543 *permset |= in is_nfs4_flags_w()
1547 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_SUCCESSFUL_ACCESS; in is_nfs4_flags_w()
1550 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FAILED_ACCESS; in is_nfs4_flags_w()
1553 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERITED; in is_nfs4_flags_w()
1642 int type, types, tag, permset, id; in archive_acl_from_text_nl() local
1697 permset = 0; in archive_acl_from_text_nl()
1770 field[n + 1].end, &permset)) { in archive_acl_from_text_nl()
1801 if (permset == 0 && !ismode(field[n + 2 - sol].start, in archive_acl_from_text_nl()
1802 field[n + 2 - sol].end, &permset)) { in archive_acl_from_text_nl()
1849 field[1 + n].end, &permset)) { in archive_acl_from_text_nl()
1855 field[2 + n].end, &permset)) { in archive_acl_from_text_nl()
1884 r = archive_acl_add_entry_len_l(acl, type, permset, in archive_acl_from_text_nl()
1932 ismode(const char *start, const char *end, int *permset) in ismode() argument
1939 *permset = 0; in ismode()
1943 *permset |= ARCHIVE_ENTRY_ACL_READ; in ismode()
1946 *permset |= ARCHIVE_ENTRY_ACL_WRITE; in ismode()
1949 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE; in ismode()
1966 is_nfs4_perms(const char *start, const char *end, int *permset) in is_nfs4_perms() argument
1973 *permset |= ARCHIVE_ENTRY_ACL_READ_DATA; in is_nfs4_perms()
1976 *permset |= ARCHIVE_ENTRY_ACL_WRITE_DATA; in is_nfs4_perms()
1979 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE; in is_nfs4_perms()
1982 *permset |= ARCHIVE_ENTRY_ACL_APPEND_DATA; in is_nfs4_perms()
1985 *permset |= ARCHIVE_ENTRY_ACL_DELETE_CHILD; in is_nfs4_perms()
1988 *permset |= ARCHIVE_ENTRY_ACL_DELETE; in is_nfs4_perms()
1991 *permset |= ARCHIVE_ENTRY_ACL_READ_ATTRIBUTES; in is_nfs4_perms()
1994 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ATTRIBUTES; in is_nfs4_perms()
1997 *permset |= ARCHIVE_ENTRY_ACL_READ_NAMED_ATTRS; in is_nfs4_perms()
2000 *permset |= ARCHIVE_ENTRY_ACL_WRITE_NAMED_ATTRS; in is_nfs4_perms()
2003 *permset |= ARCHIVE_ENTRY_ACL_READ_ACL; in is_nfs4_perms()
2006 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ACL; in is_nfs4_perms()
2009 *permset |= ARCHIVE_ENTRY_ACL_WRITE_OWNER; in is_nfs4_perms()
2012 *permset |= ARCHIVE_ENTRY_ACL_SYNCHRONIZE; in is_nfs4_perms()
2029 is_nfs4_flags(const char *start, const char *end, int *permset) in is_nfs4_flags() argument
2036 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FILE_INHERIT; in is_nfs4_flags()
2039 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_DIRECTORY_INHERIT; in is_nfs4_flags()
2042 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERIT_ONLY; in is_nfs4_flags()
2045 *permset |= in is_nfs4_flags()
2049 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_SUCCESSFUL_ACCESS; in is_nfs4_flags()
2052 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FAILED_ACCESS; in is_nfs4_flags()
2055 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERITED; in is_nfs4_flags()