Searched refs:modemask (Results 1 - 8 of 8) sorted by relevance

/ast/src/cmd/paxlib/lha/
H A Dlha.c158 f->st->st_mode = swapget(3, hdr+4, 2) & pax->modemask;
182 f->st->st_mode = mode & pax->modemask;
/ast/src/cmd/pax/
H A Dpax.c1098 state.modemask = 0;
1108 state.modemask &= (S_ISUID|S_ISGID);
1112 state.modemask &= ~(S_ISUID|S_ISGID);
1536 umask(state.modemask = umask(0));
1537 state.modemask |= S_ISUID|S_ISGID;
1849 state.modemask = 0;
1862 if (!(state.modemask &= (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)))
1864 state.modemask = ~state.modemask;
H A Dpaxlib.h191 int modemask; /* ~umask() */ member in struct:Pax_s
H A Dfile.c228 f->perm = st->st_mode & state.modemask;
1186 if (lchmod(f->name, f->perm & state.modemask))
1187 error(1, "%s: cannot chmod to %s", f->name, fmtmode(f->perm & state.modemask, 0) + 1);
1272 if (chmod(name, p->mode & state.modemask))
1273 error(1, "%s: cannot chmod to %s", name, fmtmode(p->mode & state.modemask, 0) + 1);
/ast/src/cmd/paxlib/arj/
H A Darj.c174 f->st->st_mode = mode & pax->modemask;
/ast/src/cmd/paxlib/rar/
H A Drar.c188 f->st->st_mode = i & pax->modemask;
/ast/src/cmd/paxlib/zoo/
H A Dzoo.c233 f->st->st_mode = mode & pax->modemask;
/ast/src/cmd/paxlib/zip/
H A Dzip.c244 f->st->st_mode &= pax->modemask;

Completed in 24 milliseconds