/openbsd/usr.bin/rsync/ |
H A D | uploader.c | 197 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 D | receiver.c | 122 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 D | mktemp.c | 125 if (fstatat(pfd, path, &sb, AT_SYMLINK_NOFOLLOW) != 0) in mktemp_internalat()
|
/openbsd/bin/cp/ |
H A D | utils.c | 286 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 D | chmod.c | 135 atflags = AT_SYMLINK_NOFOLLOW; in main() 260 AT_SYMLINK_NOFOLLOW; in main()
|
/openbsd/bin/mv/ |
H A D | cp.c | 589 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 D | devname.c | 57 if (fstatat(dirfd(dirp), dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) in devname_nodb()
|
H A D | ttyname.c | 126 if (fstatat(dirfd(dp), dirp->d_name, &dsb, AT_SYMLINK_NOFOLLOW) in oldttyname()
|
H A D | fts.c | 820 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 D | fcntl.h | 201 #define AT_SYMLINK_NOFOLLOW 0x02 macro
|
/openbsd/gnu/llvm/libcxx/src/filesystem/ |
H A D | posix_compat.h | 386 #define AT_SYMLINK_NOFOLLOW 1 macro 408 !(flag & AT_SYMLINK_NOFOLLOW)) { in fchmodat() 491 #if defined(AT_SYMLINK_NOFOLLOW) && defined(AT_FDCWD)
|
H A D | operations.cpp | 1290 #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 D | file_subs.c | 718 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 D | ar_subs.c | 181 AT_SYMLINK_NOFOLLOW); in cmp_file_times()
|
/openbsd/sys/kern/ |
H A D | vfs_syscalls.c | 2060 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 D | atrun.c | 102 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 D | at.c | 498 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 D | cmd.c | 399 AT_SYMLINK_NOFOLLOW) < 0) in Xls()
|
/openbsd/sys/arch/powerpc64/stand/rdboot/ |
H A D | cmd.c | 399 AT_SYMLINK_NOFOLLOW) < 0) in Xls()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 404 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 D | fstest.c | 391 AT_SYMLINK_NOFOLLOW); in call_syscall()
|
/openbsd/usr.bin/rdistd/ |
H A D | server.c | 132 AT_SYMLINK_NOFOLLOW); in setownership() 159 status = fchmodat(AT_FDCWD, file, mode, AT_SYMLINK_NOFOLLOW); in setfilemode()
|
/openbsd/usr.bin/ssh/ |
H A D | sftp-server.c | 1458 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 D | tape.c | 589 AT_SYMLINK_NOFOLLOW); in extractfile()
|