Symbol: fstatat
bin/cp/cp.c
571
dne = fstatat(to.dir, to.path, &to_stat, atflags) != 0;
bin/cp/utils.c
351
fstatat(to.dir, to.path, &ts, atflags)) {
bin/sh/histedit.c
649
if (fstatat(dfd, entry->d_name, &statb, 0) == -1)
crypto/openssh/misc-agent.c
317
if (fstatat(dirfd(d), dp->d_name,
crypto/openssh/openbsd-compat/bsd-misc.h
85
int fstatat(int, const char *, struct stat *, int);
lib/libc/gen/fts.c
1072
if ((ret = fstatat(dfd, path, sbp, 0)) != 0 ||
lib/libc/gen/fts.c
1075
if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
lib/libc/gen/fts.c
1083
} else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
lib/libc/gen/gen-compat.h
77
struct freebsd11_stat *, int), fstatat, FBSD_1.1);
lib/libc/gen/getcwd.c
171
if (fstatat(_dirfd(dir), dp->d_name, &s,
lib/libc/include/compat.h
53
__sym_compat(fstatat, freebsd11_fstatat, FBSD_1.1);
lib/libpam/modules/pam_xdg/pam_xdg.c
113
rv = fstatat(rt_dir_prefix, user, &sb, 0);
lib/libpam/modules/pam_xdg/pam_xdg.c
243
rv = fstatat(rt_dir_prefix, user, &sb, 0);
lib/libutil/flopen.c
82
if (fstatat(dirfd, path, &sb, 0) == -1) {
libexec/pkg-serve/pkg-serve.c
133
if (fstatat(fd, file, &st, AT_RESOLVE_BENEATH) == -1) {
sbin/savecore/savecore.c
354
if (fstatat(savedirfd, path, &sb, 0) == -1)
stand/userboot/test/test.c
184
if (fstatat(dir_fd, component, &tf->tf_stat,
sys/kern/init_sysent.c
562
{ compat11(AS(freebsd11_fstatat_args),fstatat), .sy_auevent = AUE_FSTATAT, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 493 = freebsd11 fstatat */
sys/sys/stat.h
399
int fstatat(int, const char *, struct stat *, int);
tests/sys/audit/file-attribute-access.c
205
ATF_REQUIRE_EQ(0, fstatat(AT_FDCWD, path, &statbuff,
tests/sys/audit/file-attribute-access.c
228
fstatat(AT_FDCWD, path, &statbuff, AT_SYMLINK_NOFOLLOW) == -1);
tests/sys/capsicum/capability-fd.cc
796
rc = fstatat(dfd_cap, "cap_fstatat", &sb, 0);
tests/sys/capsicum/capmode.cc
412
EXPECT_OK(fstatat(dfd, "testfile", &fs, 0));
tests/sys/capsicum/capmode.cc
476
EXPECT_CAPMODE(fstatat(AT_FDCWD, "testfile", &fs, 0));
tests/sys/capsicum/linux.cc
330
TEST(Linux, fstatat) {
tests/sys/capsicum/linux.cc
344
EXPECT_OK(fstatat(fd, "", &info, AT_EMPTY_PATH));
tests/sys/capsicum/linux.cc
345
EXPECT_NOTCAPABLE(fstatat(cap_ro, "", &info, AT_EMPTY_PATH));
tests/sys/capsicum/linux.cc
346
EXPECT_OK(fstatat(cap_rf, "", &info, AT_EMPTY_PATH));
tests/sys/capsicum/linux.cc
361
EXPECT_OK(fstatat(dir, "cap_fstatat", &info, AT_EMPTY_PATH));
tests/sys/capsicum/linux.cc
362
EXPECT_NOTCAPABLE(fstatat(dir_ro, "cap_fstatat", &info, AT_EMPTY_PATH));
tests/sys/capsicum/linux.cc
363
EXPECT_OK(fstatat(dir_rf, "cap_fstatat", &info, AT_EMPTY_PATH));
tests/sys/file/path_test.c
1004
ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0,
tests/sys/file/path_test.c
347
ATF_REQUIRE_MSG(fstatat(pathfd, "test", &sb, 0) == 0,
tests/sys/file/path_test.c
415
ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0,
tests/sys/file/path_test.c
470
ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0,
tests/sys/file/path_test.c
475
ATF_REQUIRE_MSG(fstatat(AT_FDCWD, "test", &sb2, 0) == 0,
tests/sys/file/path_test.c
854
ATF_REQUIRE_MSG(fstatat(fd[0], "", &sb, AT_EMPTY_PATH) == 0,
tests/sys/file/path_test.c
856
ATF_REQUIRE_ERRNO(EFAULT, fstatat(fd[0], NULL, &sb,
tests/sys/file/path_test.c
956
ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0,
tests/sys/file/path_test.c
996
ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0,
tools/build/utimensat.c
76
if (fstatat(fd, path, &sb, flag) == -1)
tools/regression/security/cap_test/cap_test_capabilities.c
333
ret = fstatat(dfd_cap, "cap_fstatat", &sb, 0);
tools/regression/security/cap_test/cap_test_capabilities.c
334
CHECK_RESULT(fstatat, CAP_FSTAT | CAP_LOOKUP, ret == 0);
usr.bin/touch/touch.c
156
if (fstatat(AT_FDCWD, *argv, &sb, atflag) != 0) {
usr.bin/write/write.c
266
if (fstatat(devfd, tty, &s, 0) < 0) {
usr.sbin/cron/cron/database.c
134
if (fstatat(dirfd(dir), dp->d_name, &st, 0) == 0 &&
usr.sbin/cron/cron/database.c
83
ret = fstatat(dirfd(dir), dp->d_name, &st, 0);
usr.sbin/newsyslog/newsyslog.c
1605
fstatat(fd, dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) != 0 ||
usr.sbin/newsyslog/newsyslog.c
2540
if (fstatat(dir_fd, dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) == -1) {
usr.sbin/pw/cpdir.c
89
if (fstatat(skelfd, p, &st, AT_SYMLINK_NOFOLLOW) == -1)
usr.sbin/pw/pw_user.c
1018
fstatat(conf.rootfd, home + 1, &st, 0) != -1) {
usr.sbin/pw/pw_user.c
1022
fstatat(conf.rootfd, home + 1, &st, 0) == -1 ? "" : "not "
usr.sbin/pw/pw_user.c
116
if (fstatat(dfd, dirs, &st, 0) == -1) {
usr.sbin/pw/pw_user.c
119
if (fstatat(dfd, dirs, &st, 0) == -1) {
usr.sbin/pw/pw_user.c
1280
if (fstatat(conf.rootfd, walk, &st, 0) == -1)
usr.sbin/pw/pw_user.c
133
if (fstatat(dfd, dirs, &st, 0) == -1) {
usr.sbin/pw/pw_user.c
1610
if (fstatat(conf.rootfd, walk, &st, 0) == -1)
usr.sbin/pw/pw_user.c
1757
if (fstatat(conf.rootfd, pwd->pw_dir, &st, 0) == -1) {
usr.sbin/pw/pw_user.c
98
if (fstatat(dfd, dir, &st, 0) != -1) {
usr.sbin/pw/rm_r.c
86
if (fstatat(dirfd, e->d_name, &st, AT_SYMLINK_NOFOLLOW) != 0)
usr.sbin/pw/rm_r.c
97
if (fstatat(rootfd, path, &st, AT_SYMLINK_NOFOLLOW) != 0)