Lines Matching defs:ent
95 static int is_setuid(struct cfent *ent);
96 static int is_setgid(struct cfent *ent);
106 static void output(VFP_T *vfpo, struct cfent *ent, struct pinfo *pinfo);
686 is_setuid(struct cfent *ent)
688 return (((ent->ftype == 'f') || (ent->ftype == 'v') ||
689 (ent->ftype == 'e')) &&
690 (ent->ainfo.mode != BADMODE) &&
691 (ent->ainfo.mode != WILDCARD) &&
692 (ent->ainfo.mode & S_ISUID));
696 is_setgid(struct cfent *ent)
698 return (((ent->ftype == 'f') || (ent->ftype == 'v') ||
699 (ent->ftype == 'e')) && (ent->ainfo.mode != BADMODE) &&
700 (ent->ainfo.mode != WILDCARD) &&
701 (ent->ainfo.mode & S_ISGID) &&
702 (ent->ainfo.mode & (S_IEXEC|S_IXUSR|S_IXOTH)));
1058 output(VFP_T *vfpo, struct cfent *ent, struct pinfo *pinfo)
1064 svvolno = ent->volno;
1065 ent->volno = 0;
1068 if (((ent->ftype == 's') || (ent->ftype == 'l'))) {
1069 if (putcvfpfile(ent, vfpo)) {
1076 svpt = ent->ainfo.local;
1077 ent->ainfo.local = NULL;
1078 if (putcvfpfile(ent, vfpo)) {
1083 ent->ainfo.local = svpt;
1093 ent->ftype = 'e';
1096 ent->volno = svvolno;