Searched refs:fts_accpath (Results 1 - 21 of 21) sorted by relevance

/freebsd-11-stable/contrib/mtree/
H A Dcompare.c103 if (lchflags(p->fts_accpath, flags)) { \
208 if ((unlink(p->fts_accpath) == -1) ||
209 (mknod(p->fts_accpath,
212 (lchown(p->fts_accpath, p->fts_statp->st_uid,
231 if (lchown(p->fts_accpath, s->st_uid, -1))
248 if (lchown(p->fts_accpath, -1, s->st_gid))
285 if (lchmod(p->fts_accpath, s->st_mode))
352 if (utimes(p->fts_accpath, tv))
404 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0) {
407 tab, p->fts_accpath, strerro
[all...]
H A Dcreate.c243 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 ||
245 mtree_err("%s: %s", p->fts_accpath, strerror(errno));
251 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL)
252 mtree_err("%s: MD5File failed: %s", p->fts_accpath,
260 if ((digestbuf = RMD160File(p->fts_accpath, NULL)) == NULL)
261 mtree_err("%s: RMD160File failed: %s", p->fts_accpath,
269 if ((digestbuf = SHA1File(p->fts_accpath, NULL)) == NULL)
270 mtree_err("%s: SHA1File failed: %s", p->fts_accpath,
278 if ((digestbuf = SHA256_File(p->fts_accpath, NULL)) == NULL)
279 mtree_err("%s: SHA256_File failed: %s", p->fts_accpath,
[all...]
H A Dverify.c153 ? rmdir : unlink)(p->fts_accpath)) {
/freebsd-11-stable/usr.sbin/fmtree/
H A Dcompare.c126 if (chown(p->fts_accpath, s->st_uid, -1))
140 if (chown(p->fts_accpath, -1, s->st_gid))
156 if (chmod(p->fts_accpath, s->st_mode))
196 if (utimes(p->fts_accpath, tv))
206 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0) {
209 tab, p->fts_accpath, strerror(errno));
215 tab, p->fts_accpath, strerror(errno));
238 if (chflags(p->fts_accpath, s->st_flags))
251 new_digest = MD5File(p->fts_accpath, buf);
254 printf("%sMD5: %s: %s\n", tab, p->fts_accpath,
[all...]
H A Dcreate.c220 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 ||
222 err(1, "%s", p->fts_accpath);
230 digest = MD5File(p->fts_accpath, buf);
232 err(1, "%s", p->fts_accpath);
240 digest = SHA1_File(p->fts_accpath, buf);
242 err(1, "%s", p->fts_accpath);
250 digest = RIPEMD160_File(p->fts_accpath, buf);
252 err(1, "%s", p->fts_accpath);
260 digest = SHA256_File(p->fts_accpath, buf);
262 err(1, "%s", p->fts_accpath);
[all...]
H A Dverify.c142 ? rmdir : unlink)(p->fts_accpath)) {
/freebsd-11-stable/bin/chmod/
H A Dchmod.c191 if (fchmodat(AT_FDCWD, p->fts_accpath, newmode, atflag) == -1
237 ret = lpathconf(ent->fts_accpath, _PC_ACL_NFS4);
239 ret = pathconf(ent->fts_accpath, _PC_ACL_NFS4);
/freebsd-11-stable/lib/libc/gen/
H A Dfts-compat.c175 p->fts_accpath = p->fts_name;
241 * the fts_accpath field specially so the chdir gets done to the right
252 p->fts_accpath = p->fts_path = sp->fts_path;
390 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
395 p->fts_accpath =
396 p->fts_parent->fts_accpath;
569 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
655 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
805 p->fts_accpath = cur->fts_accpath;
[all...]
H A Dfts-compat.h78 char *fts_accpath; /* access path */ member in struct:_ftsent
H A Dfts.c166 p->fts_accpath = p->fts_name;
232 * the fts_accpath field specially so the chdir gets done to the right
243 p->fts_accpath = p->fts_path = sp->fts_path;
381 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
386 p->fts_accpath =
387 p->fts_parent->fts_accpath;
564 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
653 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
788 p->fts_accpath = cur->fts_accpath;
[all...]
/freebsd-11-stable/bin/rm/
H A Drm.c237 if (!fflag && !check(p->fts_path, p->fts_accpath,
245 lchflags(p->fts_accpath,
256 !check(p->fts_path, p->fts_accpath, p->fts_statp))
264 rval = lchflags(p->fts_accpath,
275 rval = rmdir(p->fts_accpath);
290 rval = undelete(p->fts_accpath);
316 if (!rm_overwrite(p->fts_accpath, p->fts_info ==
322 rval = unlink(p->fts_accpath);
/freebsd-11-stable/usr.bin/find/
H A Dfunction.c377 ret = pathconf(entry->fts_accpath, _PC_ACL_NFS4);
382 warn("%s", entry->fts_accpath);
386 ret = pathconf(entry->fts_accpath, _PC_ACL_EXTENDED);
391 warn("%s", entry->fts_accpath);
398 facl = acl_get_file(entry->fts_accpath, acl_type);
400 warn("%s", entry->fts_accpath);
406 warn("%s", entry->fts_accpath);
430 if (strcmp(entry->fts_accpath, ".") == 0 ||
431 strcmp(entry->fts_accpath, "..") == 0)
445 strchr(entry->fts_accpath, '/') !
[all...]
/freebsd-11-stable/contrib/mdocml/
H A Dcompat_fts.h61 char *fts_accpath; /* access path */ member in struct:_ftsent
H A Dcompat_fts.c119 p->fts_accpath = p->fts_name;
176 * the fts_accpath field specially so the chdir gets done to the right
187 p->fts_accpath = p->fts_path = sp->fts_path;
375 if ((dirp = opendir(cur->fts_accpath)) == NULL) {
463 p->fts_accpath = p->fts_path;
519 if (lstat(p->fts_accpath, sbp)) {
673 if ((p)->fts_accpath != (p)->fts_name) { \
674 (p)->fts_accpath = \
675 (char *)addr + ((p)->fts_accpath - (p)->fts_path); \
/freebsd-11-stable/include/
H A Dfts.h73 char *fts_accpath; /* access path */ member in struct:_ftsent
/freebsd-11-stable/bin/chflags/
H A Dchflags.c180 if (chflagsat(AT_FDCWD, p->fts_accpath, newflags,
/freebsd-11-stable/usr.sbin/setfmac/
H A Dsetfmac.c476 if ((hflag == FTS_PHYSICAL ? mac_set_link(ftsent->fts_accpath, mac) :
477 mac_set_file(ftsent->fts_accpath, mac)) != 0) {
/freebsd-11-stable/usr.sbin/chown/
H A Dchown.c195 if (fchownat(AT_FDCWD, p->fts_accpath, uid, gid, atflag)
/freebsd-11-stable/bin/ls/
H A Dprint.c751 "%s/%s", p->fts_parent->fts_accpath, p->fts_name);
815 p->fts_parent->fts_accpath, p->fts_name);
H A Dls.c799 fts_accpath, cur->fts_name);
/freebsd-11-stable/bin/cp/
H A Dcp.c376 curr->fts_accpath, to.p_path) != 0)

Completed in 287 milliseconds