Lines Matching defs: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,
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, tag, id);
160 int type, int permset, int tag, int id, const char *name, size_t len,
166 if (acl_special(acl, type, permset, tag) == 0)
168 ap = acl_new_entry(acl, type, permset, tag, id);
192 acl_special(struct archive_acl *acl, int type, int permset, int tag)
195 && ((permset & ~007) == 0)) {
199 acl->mode |= (permset & 7) << 6;
203 acl->mode |= (permset & 7) << 3;
207 acl->mode |= permset & 7;
220 int type, int permset, int tag, int id)
226 * the permset must be compatible. */
231 if (permset &
240 if (permset & ~ARCHIVE_ENTRY_ACL_PERMS_POSIX1E) {
287 ap->permset = permset;
306 ap->permset = permset;
370 int *permset, int *tag, int *id, const char **name)
387 *permset = (acl->mode >> 6) & 7;
393 *permset = (acl->mode >> 3) & 7;
399 *permset = acl->mode & 7;
415 *permset = 0;
422 *permset = acl->acl_p->permset;
519 ap->permset, id);
547 wname, ap->permset, id);
715 ap->permset, id);
741 name, ap->permset, id);
833 int type, tag, permset, id;
876 if (!ismode_w(field[2].start, field[2].end, &permset))
884 if (!ismode_w(field[2].start, field[2].end, &permset))
894 && ismode_w(field[1].start, field[1].end, &permset)) {
899 && ismode_w(field[2].start, field[2].end, &permset)) {
907 && ismode_w(field[1].start, field[1].end, &permset)) {
912 && ismode_w(field[2].start, field[2].end, &permset)) {
921 archive_acl_add_entry_w_len(acl, type, permset,
960 ismode_w(const wchar_t *start, const wchar_t *end, int *permset)
967 *permset = 0;
971 *permset |= ARCHIVE_ENTRY_ACL_READ;
974 *permset |= ARCHIVE_ENTRY_ACL_WRITE;
977 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE;
1063 int type, tag, permset, id;
1106 if (!ismode(field[2].start, field[2].end, &permset))
1114 if (!ismode(field[2].start, field[2].end, &permset))
1124 && ismode(field[1].start, field[1].end, &permset)) {
1129 && ismode(field[2].start, field[2].end, &permset)) {
1137 && ismode(field[1].start, field[1].end, &permset)) {
1142 && ismode(field[2].start, field[2].end, &permset)) {
1151 r = archive_acl_add_entry_len_l(acl, type, permset,
1194 ismode(const char *start, const char *end, int *permset)
1201 *permset = 0;
1205 *permset |= ARCHIVE_ENTRY_ACL_READ;
1208 *permset |= ARCHIVE_ENTRY_ACL_WRITE;
1211 *permset |= ARCHIVE_ENTRY_ACL_EXECUTE;