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);
169 int type, int permset, int tag, int id, const char *name)
173 if (acl_special(acl, type, permset, tag) == 0)
175 ap = acl_new_entry(acl, type, permset, tag, id);
189 int type, int permset, int tag, int id, const wchar_t *name, size_t len)
193 if (acl_special(acl, type, permset, tag) == 0)
195 ap = acl_new_entry(acl, type, permset, tag, id);
209 int type, int permset, int tag, int id, const char *name, size_t len,
215 if (acl_special(acl, type, permset, tag) == 0)
217 ap = acl_new_entry(acl, type, permset, tag, id);
241 acl_special(struct archive_acl *acl, int type, int permset, int tag)
244 && ((permset & ~007) == 0)) {
248 acl->mode |= (permset & 7) << 6;
252 acl->mode |= (permset & 7) << 3;
256 acl->mode |= permset & 7;
269 int type, int permset, int tag, int id)
275 * the permset must be compatible. */
280 if (permset &
289 if (permset & ~ARCHIVE_ENTRY_ACL_PERMS_POSIX1E) {
340 ap->permset = permset;
359 ap->permset = permset;
432 int *type, int *permset, int *tag, int *id, const char **name)
449 *permset = (acl->mode >> 6) & 7;
455 *permset = (acl->mode >> 3) & 7;
461 *permset = acl->mode & 7;
477 *permset = 0;
484 *permset = acl->acl_p->permset;
745 wname, ap->permset, id);
984 ap->permset, id);
1147 int type, types, tag, permset, id;
1197 permset = 0;
1265 field[n + 1].end, &permset)) {
1296 if (permset == 0 && !ismode_w(field[n + 2 - sol].start,
1297 field[n + 2 - sol].end, &permset)) {
1343 field[1 + n].end, &permset)) {
1349 field[2 + n].end, &permset)) {
1377 r = archive_acl_add_entry_w_len(acl, type, permset,
1425 ismode_w(const wchar_t *start, const wchar_t *end, int *permset)
1432 *permset = 0;
1436 *permset |= ARCHIVE_ENTRY_ACL_READ;
1439 *permset |= ARCHIVE_ENTRY_ACL_WRITE;
1442 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
1459 is_nfs4_perms_w(const wchar_t *start, const wchar_t *end, int *permset)
1466 *permset |= ARCHIVE_ENTRY_ACL_READ_DATA;
1469 *permset |= ARCHIVE_ENTRY_ACL_WRITE_DATA;
1472 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
1475 *permset |= ARCHIVE_ENTRY_ACL_APPEND_DATA;
1478 *permset |= ARCHIVE_ENTRY_ACL_DELETE_CHILD;
1481 *permset |= ARCHIVE_ENTRY_ACL_DELETE;
1484 *permset |= ARCHIVE_ENTRY_ACL_READ_ATTRIBUTES;
1487 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ATTRIBUTES;
1490 *permset |= ARCHIVE_ENTRY_ACL_READ_NAMED_ATTRS;
1493 *permset |= ARCHIVE_ENTRY_ACL_WRITE_NAMED_ATTRS;
1496 *permset |= ARCHIVE_ENTRY_ACL_READ_ACL;
1499 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ACL;
1502 *permset |= ARCHIVE_ENTRY_ACL_WRITE_OWNER;
1505 *permset |= ARCHIVE_ENTRY_ACL_SYNCHRONIZE;
1522 is_nfs4_flags_w(const wchar_t *start, const wchar_t *end, int *permset)
1529 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FILE_INHERIT;
1532 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_DIRECTORY_INHERIT;
1535 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERIT_ONLY;
1538 *permset |=
1542 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_SUCCESSFUL_ACCESS;
1545 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FAILED_ACCESS;
1548 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERITED;
1630 int type, types, tag, permset, id;
1680 permset = 0;
1753 field[n + 1].end, &permset)) {
1784 if (permset == 0 && !ismode(field[n + 2 - sol].start,
1785 field[n + 2 - sol].end, &permset)) {
1832 field[1 + n].end, &permset)) {
1838 field[2 + n].end, &permset)) {
1867 r = archive_acl_add_entry_len_l(acl, type, permset,
1915 ismode(const char *start, const char *end, int *permset)
1922 *permset = 0;
1926 *permset |= ARCHIVE_ENTRY_ACL_READ;
1929 *permset |= ARCHIVE_ENTRY_ACL_WRITE;
1932 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
1949 is_nfs4_perms(const char *start, const char *end, int *permset)
1956 *permset |= ARCHIVE_ENTRY_ACL_READ_DATA;
1959 *permset |= ARCHIVE_ENTRY_ACL_WRITE_DATA;
1962 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
1965 *permset |= ARCHIVE_ENTRY_ACL_APPEND_DATA;
1968 *permset |= ARCHIVE_ENTRY_ACL_DELETE_CHILD;
1971 *permset |= ARCHIVE_ENTRY_ACL_DELETE;
1974 *permset |= ARCHIVE_ENTRY_ACL_READ_ATTRIBUTES;
1977 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ATTRIBUTES;
1980 *permset |= ARCHIVE_ENTRY_ACL_READ_NAMED_ATTRS;
1983 *permset |= ARCHIVE_ENTRY_ACL_WRITE_NAMED_ATTRS;
1986 *permset |= ARCHIVE_ENTRY_ACL_READ_ACL;
1989 *permset |= ARCHIVE_ENTRY_ACL_WRITE_ACL;
1992 *permset |= ARCHIVE_ENTRY_ACL_WRITE_OWNER;
1995 *permset |= ARCHIVE_ENTRY_ACL_SYNCHRONIZE;
2012 is_nfs4_flags(const char *start, const char *end, int *permset)
2019 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FILE_INHERIT;
2022 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_DIRECTORY_INHERIT;
2025 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERIT_ONLY;
2028 *permset |=
2032 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_SUCCESSFUL_ACCESS;
2035 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_FAILED_ACCESS;
2038 *permset |= ARCHIVE_ENTRY_ACL_ENTRY_INHERITED;