Home
last modified time | relevance | path

Searched refs:AT_SYMLINK_NOFOLLOW (Results 1 – 24 of 24) sorted by relevance

/openbsd/usr.bin/rsync/
H A Duploader.c197 rc = fstatat(p->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW); in pre_symlink()
301 rc = fstatat(p->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW); in pre_dev()
390 rc = fstatat(p->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW); in pre_fifo()
467 rc = fstatat(p->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW); in pre_sock()
537 rc = fstatat(p->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW); in pre_dir()
596 if (fstatat(u->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW) == -1) { in post_dir()
660 if (fstatat(rootfd, f->path, st, AT_SYMLINK_NOFOLLOW) == -1) { in check_file()
785 if (fstatat(p->rootfd, f->path, &st, AT_SYMLINK_NOFOLLOW) == in pre_file()
H A Dreceiver.c122 if (utimensat(rootfd, path, ts, AT_SYMLINK_NOFOLLOW) == -1) { in rsync_set_metadata_at()
142 if (fchownat(rootfd, path, uid, gid, AT_SYMLINK_NOFOLLOW) == -1) { in rsync_set_metadata_at()
158 if (fchmodat(rootfd, path, mode, AT_SYMLINK_NOFOLLOW) == -1) { in rsync_set_metadata_at()
H A Dmktemp.c125 if (fstatat(pfd, path, &sb, AT_SYMLINK_NOFOLLOW) != 0) in mktemp_internalat()
/openbsd/bin/cp/
H A Dutils.c286 utimensat(AT_FDCWD, to.p_path, ts, AT_SYMLINK_NOFOLLOW)) { in setfile()
305 fchmodat(AT_FDCWD, to.p_path, fs->st_mode, AT_SYMLINK_NOFOLLOW)) { in setfile()
319 chflagsat(AT_FDCWD, to.p_path, fs->st_flags, AT_SYMLINK_NOFOLLOW)) in setfile()
/openbsd/bin/chmod/
H A Dchmod.c135 atflags = AT_SYMLINK_NOFOLLOW; in main()
260 AT_SYMLINK_NOFOLLOW; in main()
/openbsd/bin/mv/
H A Dcp.c589 utimensat(AT_FDCWD, to.p_path, ts, AT_SYMLINK_NOFOLLOW)) { in setfile()
608 fchmodat(AT_FDCWD, to.p_path, fs->st_mode, AT_SYMLINK_NOFOLLOW)) { in setfile()
622 chflagsat(AT_FDCWD, to.p_path, fs->st_flags, AT_SYMLINK_NOFOLLOW)) in setfile()
/openbsd/lib/libc/gen/
H A Ddevname.c57 if (fstatat(dirfd(dirp), dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) in devname_nodb()
H A Dttyname.c126 if (fstatat(dirfd(dp), dirp->d_name, &dsb, AT_SYMLINK_NOFOLLOW) in oldttyname()
H A Dfts.c820 if (!fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { in fts_stat()
827 } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { in fts_stat()
/openbsd/sys/sys/
H A Dfcntl.h201 #define AT_SYMLINK_NOFOLLOW 0x02 macro
/openbsd/gnu/llvm/libcxx/src/filesystem/
H A Dposix_compat.h386 #define AT_SYMLINK_NOFOLLOW 1 macro
408 !(flag & AT_SYMLINK_NOFOLLOW)) { in fchmodat()
491 #if defined(AT_SYMLINK_NOFOLLOW) && defined(AT_FDCWD)
H A Doperations.cpp1290 #if defined(AT_SYMLINK_NOFOLLOW) && defined(AT_FDCWD) in __permissions()
1291 const int flags = set_sym_perms ? AT_SYMLINK_NOFOLLOW : 0; in __permissions()
/openbsd/bin/pax/
H A Dfile_subs.c718 if (utimensat(AT_FDCWD, fnm, tv, AT_SYMLINK_NOFOLLOW) < 0) in set_ftime()
761 if (fchownat(AT_FDCWD, fnm, uid, gid, AT_SYMLINK_NOFOLLOW) == -1) { in set_ids()
801 if (fchmodat(AT_FDCWD, fnm, mode, AT_SYMLINK_NOFOLLOW) == -1) in set_pmode()
H A Dar_subs.c181 AT_SYMLINK_NOFOLLOW); in cmp_file_times()
/openbsd/sys/kern/
H A Dvfs_syscalls.c2060 if (flag & ~AT_SYMLINK_NOFOLLOW) in dofstatat()
2064 follow = (flag & AT_SYMLINK_NOFOLLOW) ? NOFOLLOW : FOLLOW; in dofstatat()
2101 AT_SYMLINK_NOFOLLOW)); in sys_lstat()
2140 if (flag & ~AT_SYMLINK_NOFOLLOW) in dopathconfat()
2143 follow = (flag & AT_SYMLINK_NOFOLLOW) ? NOFOLLOW : FOLLOW; in dopathconfat()
2254 if (atflags & ~AT_SYMLINK_NOFOLLOW) in dochflagsat()
2257 follow = (atflags & AT_SYMLINK_NOFOLLOW) ? NOFOLLOW : FOLLOW; in dochflagsat()
2358 if (flag & ~AT_SYMLINK_NOFOLLOW) in dofchmodat()
2361 follow = (flag & AT_SYMLINK_NOFOLLOW) ? NOFOLLOW : FOLLOW; in dofchmodat()
2458 if (flag & ~AT_SYMLINK_NOFOLLOW) in dofchownat()
[all...]
/openbsd/usr.sbin/cron/
H A Datrun.c102 if (fstatat(dfd, file->d_name, &sb, AT_SYMLINK_NOFOLLOW) != 0 || in scan_atjobs()
187 if (fstatat(dfd, atfile, &sb, AT_SYMLINK_NOFOLLOW) != 0) { in atrun()
/openbsd/usr.bin/at/
H A Dat.c498 if (fstatat(dfd, dirent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0) in list_jobs()
656 if (fstatat(dfd, dirent->d_name, &stbuf, AT_SYMLINK_NOFOLLOW) != 0) in process_jobs()
/openbsd/sys/arch/octeon/stand/rdboot/
H A Dcmd.c399 AT_SYMLINK_NOFOLLOW) < 0) in Xls()
/openbsd/sys/arch/powerpc64/stand/rdboot/
H A Dcmd.c399 AT_SYMLINK_NOFOLLOW) < 0) in Xls()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp404 AT_SYMLINK_NOFOLLOW); in internal_lstat()
409 AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT, in internal_lstat()
417 AT_SYMLINK_NOFOLLOW); in internal_lstat()
421 (uptr)&buf64, AT_SYMLINK_NOFOLLOW); in internal_lstat()
/openbsd/regress/sys/ffs/
H A Dfstest.c391 AT_SYMLINK_NOFOLLOW); in call_syscall()
/openbsd/usr.bin/rdistd/
H A Dserver.c132 AT_SYMLINK_NOFOLLOW); in setownership()
159 status = fchmodat(AT_FDCWD, file, mode, AT_SYMLINK_NOFOLLOW); in setfilemode()
/openbsd/usr.bin/ssh/
H A Dsftp-server.c1458 a.perm & 07777, AT_SYMLINK_NOFOLLOW); in process_extended_lsetstat()
1470 attrib_to_ts(&a), AT_SYMLINK_NOFOLLOW); in process_extended_lsetstat()
1478 AT_SYMLINK_NOFOLLOW); in process_extended_lsetstat()
/openbsd/sbin/restore/
H A Dtape.c589 AT_SYMLINK_NOFOLLOW); in extractfile()