Searched refs:fts_statp (Results 1 - 12 of 12) sorted by relevance
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | rm.c | 76 #define beenhere(f) (((f)->fts_number>>1)==(f)->fts_statp->st_nlink) 80 #define retry(f) ((f)->fts_number=((f)->fts_statp->st_nlink<<1)) 117 else if (state->fs3d && iview(ent->fts_statp)) 127 if (!chmod(ent->fts_name, (ent->fts_statp->st_mode & S_IPERM)|S_IRWXU)) 161 if (state->unconditional && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) 162 chmod(path, (ent->fts_statp->st_mode & S_IPERM)|S_IRWXU); 177 v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_parent->fts_statp->st_dev || strchr(astconf("PATH_ATTRIBUTES", path, NiL), 'l'); 273 ent->fts_statp->st_uid != state->uid ? "``not owner''" : 274 fmtmode(ent->fts_statp [all...] |
H A D | cp.c | 327 if (state->preserve && state->op != LN || ent->fts_level > 0 && (ent->fts_statp->st_mode & S_IRWXU) != S_IRWXU) 337 if ((ent->fts_statp->st_mode & S_IPERM) != (st.st_mode & S_IPERM) && chmod(state->path, ent->fts_statp->st_mode & S_IPERM)) 340 preserve(state, state->path, &st, ent->fts_statp); 379 else if (mkdir(state->path, (ent->fts_statp->st_mode & S_IPERM)|(ent->fts_info == FTS_D ? S_IRWXU : 0))) 416 else if (state->update && !S_ISDIR(st.st_mode) && (unsigned long)ent->fts_statp->st_mtime < (unsigned long)st.st_mtime) 427 if (state->op != LN && st.st_dev == ent->fts_statp->st_dev && st.st_ino == ent->fts_statp->st_ino) 563 if (errno != EXDEV && (rm || S_ISDIR(ent->fts_statp->st_mode))) 573 if (S_ISLNK(ent->fts_statp [all...] |
H A D | chgrp.c | 410 if ((unsigned long)ent->fts_statp->st_ctime >= before) 416 keys[0].uid = keys[1].uid = ent->fts_statp->st_uid; 417 keys[0].gid = keys[2].gid = ent->fts_statp->st_gid; 439 uid = ent->fts_statp->st_uid; 441 gid = ent->fts_statp->st_gid; 452 if (uid != ent->fts_statp->st_uid && uid != NOID || gid != ent->fts_statp->st_gid && gid != NOID) 468 ent->fts_statp->st_uid = 0; 469 ent->fts_statp->st_gid = 0; 471 sfprintf(sfstdout, "%s uid:%05d->%05d gid:%05d->%05d %s\n", op, ent->fts_statp [all...] |
H A D | chmod.c | 278 mode = strperm(amode, &last, ent->fts_statp->st_mode); 281 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM))
|
H A D | cksum.c | 606 pr(&state, sfstdout, sp, ent->fts_path, state.permissions, ent->fts_statp, state.check);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 214 f->fts_statp = &f->statb; 496 return (verify && (stat(".", &sb) < 0 || !SAME(&sb, f->fts_statp))) ? -1 : 0; 646 info(fts, f, path, f->fts_statp, fts->flags); 656 *f->fts_statp = st; 657 info(fts, f, NiL, f->fts_statp, 0); 776 fts->parent->fts_statp = &fts->parent->statb; 880 fts->parent->fts_statp = f->fts_statp; 881 fts->parent->statb = *f->fts_statp; 1060 f->fts_statp [all...] |
H A D | ftwalk.c | 99 x->statb = *x->fts_statp; 128 x->statb = *x->fts_statp;
|
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | fts.h | 117 struct stat* fts_statp; /* stat info */ member in struct:Ftsent
|
/osnet-11/usr/src/lib/libast/common/include/ |
H A D | fts.h | 108 struct stat* fts_statp; /* stat info */ member in struct:Ftsent
|
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | fts.h | 117 struct stat* fts_statp; /* stat info */ member in struct:Ftsent
|
/osnet-11/usr/src/lib/libast/sparc/include/ast/ |
H A D | fts.h | 117 struct stat* fts_statp; /* stat info */ member in struct:Ftsent
|
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | fts.h | 117 struct stat* fts_statp; /* stat info */ member in struct:Ftsent
|
Completed in 32 milliseconds