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

/freebsd-current/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.c245 if ((fd = open(p->fts_accpath, O_RDONLY, 0)) < 0 ||
247 mtree_err("%s: %s", p->fts_accpath, strerror(errno));
253 if ((digestbuf = MD5File(p->fts_accpath, NULL)) == NULL)
254 mtree_err("%s: MD5File failed: %s", p->fts_accpath,
262 if ((digestbuf = RMD160File(p->fts_accpath, NULL)) == NULL)
263 mtree_err("%s: RMD160File failed: %s", p->fts_accpath,
271 if ((digestbuf = SHA1File(p->fts_accpath, NULL)) == NULL)
272 mtree_err("%s: SHA1File failed: %s", p->fts_accpath,
280 if ((digestbuf = SHA256_File(p->fts_accpath, NULL)) == NULL)
281 mtree_err("%s: SHA256_File failed: %s", p->fts_accpath,
[all...]
H A Dverify.c153 ? rmdir : unlink)(p->fts_accpath)) {
/freebsd-current/bin/rm/
H A Drm.c222 if (!fflag && !check(p->fts_path, p->fts_accpath,
230 lchflags(p->fts_accpath,
241 !check(p->fts_path, p->fts_accpath, p->fts_statp))
249 rval = lchflags(p->fts_accpath,
260 rval = rmdir(p->fts_accpath);
275 rval = undelete(p->fts_accpath);
301 rval = unlink(p->fts_accpath);
/freebsd-current/bin/chmod/
H A Dchmod.c191 if (fchmodat(AT_FDCWD, p->fts_accpath, newmode, atflag) == -1
238 ret = lpathconf(ent->fts_accpath, _PC_ACL_NFS4);
240 ret = pathconf(ent->fts_accpath, _PC_ACL_NFS4);
/freebsd-current/lib/libc/gen/
H A Dfts-compat.c171 p->fts_accpath = p->fts_name;
237 * the fts_accpath field specially so the chdir gets done to the right
248 p->fts_accpath = p->fts_path = sp->fts_path;
386 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
391 p->fts_accpath =
392 p->fts_parent->fts_accpath;
565 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
663 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
815 p->fts_accpath = cur->fts_accpath;
[all...]
H A Dfts.c159 p->fts_accpath = p->fts_name;
225 * the fts_accpath field specially so the chdir gets done to the right
236 p->fts_accpath = p->fts_path = sp->fts_path;
374 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
379 p->fts_accpath =
380 p->fts_parent->fts_accpath;
557 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
660 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
797 p->fts_accpath = cur->fts_accpath;
[all...]
H A Dfts-compat11.c161 p->fts_accpath = p->fts_name;
227 * the fts_accpath field specially so the chdir gets done to the right
238 p->fts_accpath = p->fts_path = sp->fts_path;
376 if (fts_safe_changedir(sp, p, -1, p->fts_accpath)) {
381 p->fts_accpath =
382 p->fts_parent->fts_accpath;
559 if (p->fts_level != FTS_ROOTLEVEL || p->fts_accpath[0] == '/' ||
662 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
799 p->fts_accpath = cur->fts_accpath;
[all...]
H A Dfts-compat.h77 char *fts_accpath; /* access path */ member in struct:_ftsent
H A Dfts-compat11.h55 char *fts_accpath; /* access path */ member in struct:_ftsent11
/freebsd-current/bin/setfacl/
H A Dsetfacl.c207 ret = pathconf(file->fts_accpath, _PC_ACL_NFS4);
209 ret = lpathconf(file->fts_accpath, _PC_ACL_NFS4);
226 acl = acl_get_file(file->fts_accpath, acl_type);
228 acl = acl_get_link_np(file->fts_accpath, acl_type);
278 if (acl_delete_def_file(file->fts_accpath) == -1) {
315 if (acl_delete_def_file(file->fts_accpath) == -1) {
331 if (acl_set_file(file->fts_accpath, acl_type, acl) == -1) {
336 if (acl_set_link_np(file->fts_accpath, acl_type, acl) == -1) {
/freebsd-current/usr.bin/find/
H A Dfunction.c375 ret = pathconf(entry->fts_accpath, _PC_ACL_NFS4);
380 warn("%s", entry->fts_accpath);
384 ret = pathconf(entry->fts_accpath, _PC_ACL_EXTENDED);
389 warn("%s", entry->fts_accpath);
396 facl = acl_get_file(entry->fts_accpath, acl_type);
398 warn("%s", entry->fts_accpath);
404 warn("%s", entry->fts_accpath);
429 if (strcmp(entry->fts_accpath, ".") == 0 ||
430 strcmp(entry->fts_accpath, "..") == 0)
444 strchr(entry->fts_accpath, '/') !
[all...]
/freebsd-current/contrib/mandoc/
H A Dcompat_fts.h62 char *fts_accpath; /* access path */ member in struct:_ftsent
H A Dcompat_fts.c114 p->fts_accpath = p->fts_name;
171 * the fts_accpath field specially so the chdir gets done to the right
182 p->fts_accpath = p->fts_path = sp->fts_path;
370 if ((dirp = opendir(cur->fts_accpath)) == NULL) {
458 p->fts_accpath = p->fts_path;
514 if (lstat(p->fts_accpath, sbp)) {
670 if ((p)->fts_accpath != (p)->fts_name) { \
671 (p)->fts_accpath = \
672 (char *)addr + ((p)->fts_accpath - (p)->fts_path); \
/freebsd-current/include/
H A Dfts.h72 char *fts_accpath; /* access path */ member in struct:_ftsent
/freebsd-current/bin/chflags/
H A Dchflags.c184 if (chflagsat(AT_FDCWD, p->fts_accpath, newflags,
/freebsd-current/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-current/usr.sbin/chown/
H A Dchown.c199 if (fchownat(AT_FDCWD, p->fts_accpath, uid, gid, atflag)
/freebsd-current/bin/ls/
H A Dprint.c732 "%s/%s", p->fts_parent->fts_accpath, p->fts_name);
793 p->fts_parent->fts_accpath, p->fts_name);
H A Dls.c889 fts_accpath, cur->fts_name);
/freebsd-current/bin/cp/
H A Dcp.c422 curr->fts_accpath, to.p_path) != 0)

Completed in 275 milliseconds