Searched refs:fts_accpath (Results 1 - 19 of 19) sorted by path

/freebsd-10.0-release/bin/chflags/
H A Dchflags.c178 if ((*change_flags)(p->fts_accpath, newflags) && !fflag) {
/freebsd-10.0-release/bin/chmod/
H A Dchmod.c186 error = lchmod(p->fts_accpath, newmode);
188 error = chmod(p->fts_accpath, newmode);
238 ret = lpathconf(ent->fts_accpath, _PC_ACL_NFS4);
240 ret = pathconf(ent->fts_accpath, _PC_ACL_NFS4);
/freebsd-10.0-release/bin/cp/
H A Dcp.c372 curr->fts_accpath, to.p_path) != 0)
/freebsd-10.0-release/bin/ls/
H A Dls.c769 fts_accpath, cur->fts_name);
H A Dprint.c585 "%s/%s", p->fts_parent->fts_accpath, p->fts_name);
646 p->fts_parent->fts_accpath, p->fts_name);
/freebsd-10.0-release/bin/rm/
H A Drm.c235 if (!fflag && !check(p->fts_path, p->fts_accpath,
243 lchflags(p->fts_accpath,
254 !check(p->fts_path, p->fts_accpath, p->fts_statp))
262 rval = lchflags(p->fts_accpath,
273 rval = rmdir(p->fts_accpath);
288 rval = undelete(p->fts_accpath);
314 if (!rm_overwrite(p->fts_accpath, p->fts_info ==
320 rval = unlink(p->fts_accpath);
/freebsd-10.0-release/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.c238 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 ||
240 mtree_err("%s: %s", p->fts_accpath, strerror(errno));
246 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL)
247 mtree_err("%s: MD5File failed: %s", p->fts_accpath,
255 if ((digestbuf = RMD160File(p->fts_accpath, NULL)) == NULL)
256 mtree_err("%s: RMD160File failed: %s", p->fts_accpath,
264 if ((digestbuf = SHA1File(p->fts_accpath, NULL)) == NULL)
265 mtree_err("%s: SHA1File failed: %s", p->fts_accpath,
273 if ((digestbuf = SHA256_File(p->fts_accpath, NULL)) == NULL)
274 mtree_err("%s: SHA256_File failed: %s", p->fts_accpath,
[all...]
H A Dverify.c153 ? rmdir : unlink)(p->fts_accpath)) {
/freebsd-10.0-release/include/
H A Dfts.h73 char *fts_accpath; /* access path */ member in struct:_ftsent
/freebsd-10.0-release/lib/libc/gen/
H A Dfts-compat.c179 p->fts_accpath = p->fts_name;
247 * the fts_accpath field specially so the chdir gets done to the right
258 p->fts_accpath = p->fts_path = sp->fts_path;
398 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
403 p->fts_accpath =
404 p->fts_parent->fts_accpath;
582 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
668 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
818 p->fts_accpath = cur->fts_accpath;
[all...]
H A Dfts-compat.h78 char *fts_accpath; /* access path */ member in struct:_ftsent
H A Dfts.c173 p->fts_accpath = p->fts_name;
239 * the fts_accpath field specially so the chdir gets done to the right
250 p->fts_accpath = p->fts_path = sp->fts_path;
388 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
393 p->fts_accpath =
394 p->fts_parent->fts_accpath;
567 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-10.0-release/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);
431 if (strcmp(entry->fts_accpath, ".") == 0 ||
432 strcmp(entry->fts_accpath, "..") == 0)
446 strchr(entry->fts_accpath, '/') !
[all...]
/freebsd-10.0-release/usr.sbin/chown/
H A Dchown.c190 if ((hflag ? lchown : chown)(p->fts_accpath, uid, gid) == -1) {
/freebsd-10.0-release/usr.sbin/mtree/
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))
195 if (utimes(p->fts_accpath, tv))
205 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0) {
208 tab, p->fts_accpath, strerror(errno));
214 tab, p->fts_accpath, strerror(errno));
237 if (chflags(p->fts_accpath, s->st_flags))
250 new_digest = MD5File(p->fts_accpath, buf);
253 printf("%sMD5: %s: %s\n", tab, p->fts_accpath,
[all...]
H A Dcreate.c219 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 ||
221 err(1, "%s", p->fts_accpath);
229 digest = MD5File(p->fts_accpath, buf);
231 err(1, "%s", p->fts_accpath);
239 digest = SHA1_File(p->fts_accpath, buf);
241 err(1, "%s", p->fts_accpath);
249 digest = RIPEMD160_File(p->fts_accpath, buf);
251 err(1, "%s", p->fts_accpath);
259 digest = SHA256_File(p->fts_accpath, buf);
261 err(1, "%s", p->fts_accpath);
[all...]
H A Dverify.c142 ? rmdir : unlink)(p->fts_accpath)) {
/freebsd-10.0-release/usr.sbin/setfmac/
H A Dsetfmac.c474 if ((hflag == FTS_PHYSICAL ? mac_set_link(ftsent->fts_accpath, mac) :
475 mac_set_file(ftsent->fts_accpath, mac)) != 0) {

Completed in 213 milliseconds