| /freebsd-12.1/contrib/netbsd-tests/lib/libc/c063/ |
| H A D | t_fstatat.c | 68 ATF_REQUIRE(fstatat(dfd, BASEFILE, &st1, 0) == 0); in ATF_TC_BODY() 91 ATF_REQUIRE(fstatat(AT_FDCWD, BASEFILE, &st, 0) == 0); in ATF_TC_BODY() 105 ATF_REQUIRE(fstatat(AT_FDCWD, FILEERR, &st, 0) == -1); in ATF_TC_BODY() 120 ATF_REQUIRE(fstatat(dfd, FILEERR, &st, 0) == -1); in ATF_TC_BODY() 141 ATF_REQUIRE(fstatat(dfd, BASEFILE, &st, 0) == -1); in ATF_TC_BODY() 159 ATF_REQUIRE(fstatat(-1, FILE, &st, 0) == -1); in ATF_TC_BODY() 177 ATF_REQUIRE(fstatat(dfd, BASELINK, &st, 0) == -1); in ATF_TC_BODY() 180 ATF_REQUIRE(fstatat(dfd, BASELINK, &st, AT_SYMLINK_NOFOLLOW) == 0); in ATF_TC_BODY()
|
| /freebsd-12.1/usr.sbin/pw/ |
| H A D | rm_r.c | 64 if (fstatat(dirfd, e->d_name, &st, AT_SYMLINK_NOFOLLOW) != 0) in rm_r() 72 if (fstatat(rootfd, path, &st, AT_SYMLINK_NOFOLLOW) != 0) in rm_r()
|
| H A D | pw_user.c | 100 if (fstatat(dfd, dir, &st, 0) != -1) { in mkdir_home_parents() 134 if (fstatat(dfd, dirs, &st, 0) == -1) { in mkdir_home_parents() 137 if (fstatat(dfd, dirs, &st, 0) == -1) { in mkdir_home_parents() 144 if (fstatat(dfd, dirs, &st, 0) == -1) { in mkdir_home_parents() 1019 fstatat(conf.rootfd, home + 1, &st, 0) != -1) { in pw_user_del() 1023 fstatat(conf.rootfd, home + 1, &st, 0) == -1 ? "" : "not " in pw_user_del() 1269 if (fstatat(conf.rootfd, walk, &st, 0) == -1) in pw_user_add() 1590 if (fstatat(conf.rootfd, walk, &st, 0) == -1) in pw_user_mod() 1731 if (fstatat(conf.rootfd, pwd->pw_dir, &st, 0) == -1) { in pw_user_mod()
|
| H A D | cpdir.c | 80 if (fstatat(skelfd, p, &st, AT_SYMLINK_NOFOLLOW) == -1) in copymkdir()
|
| /freebsd-12.1/contrib/pjdfstest/ |
| H A D | configure.ac | 39 AC_CHECK_FUNC([fstatat], 40 [AC_DEFINE([HAVE_FSTATAT], [1], [Define if fstatat exists])])
|
| /freebsd-12.1/lib/libc/sys/ |
| H A D | fstatat.c | 39 fstatat(int fd, const char *path, struct stat *sb, int flag) in fstatat() function
|
| H A D | Makefile.inc | 39 SRCS+= fstat.c fstatat.c fstatfs.c getfsstat.c statfs.c 40 NOASM+= fstat.o fstatat.o fstatfs.o getfsstat.o statfs.o 478 stat.2 fstatat.2 \
|
| /freebsd-12.1/contrib/openbsm/bin/auditdistd/ |
| H A D | fstatat.h | 40 fstatat(int fd, const char *path, struct stat *buf, int flag) in fstatat() function
|
| H A D | trail.c | 164 if (fstatat(dfd, filename, &sb, AT_SYMLINK_NOFOLLOW) == -1) { in trail_type()
|
| H A D | receiver.c | 621 if (fstatat(adhost->adh_trail_dirfd, adhost->adh_trail_name, in receiver_connect()
|
| /freebsd-12.1/usr.sbin/cron/cron/ |
| H A D | database.c | 88 ret = fstatat(dirfd(dir), dp->d_name, &st, 0); 139 if (fstatat(dirfd(dir), dp->d_name, &st, 0) == 0 &&
|
| /freebsd-12.1/lib/libc/include/ |
| H A D | compat.h | 55 __sym_compat(fstatat, freebsd11_fstatat, FBSD_1.1);
|
| /freebsd-12.1/lib/libutil/ |
| H A D | flopen.c | 84 if (fstatat(dirfd, path, &sb, 0) == -1) { in vflopenat()
|
| /freebsd-12.1/tools/build/ |
| H A D | utimensat.c | 78 if (fstatat(fd, path, &sb, flag) == -1) in utimensat()
|
| /freebsd-12.1/sys/kern/ |
| H A D | capabilities.conf | 460 fstatat
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | getcwd.c | 174 if (fstatat(_dirfd(dir), dp->d_name, &s, in getcwd()
|
| H A D | fts.c | 904 if (fstatat(dfd, path, sbp, 0)) { in fts_stat() 906 if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { in fts_stat() 914 } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { in fts_stat()
|
| /freebsd-12.1/sys/sys/ |
| H A D | stat.h | 394 int fstatat(int, const char *, struct stat *, int);
|
| H A D | syscall.mk | 396 fstatat.o \
|
| /freebsd-12.1/usr.bin/write/ |
| H A D | write.c | 281 if (fstatat(devfd, tty, &s, 0) < 0) { in term_chk()
|
| /freebsd-12.1/usr.bin/touch/ |
| H A D | touch.c | 170 if (fstatat(AT_FDCWD, *argv, &sb, atflag) != 0) { in main()
|
| /freebsd-12.1/tools/regression/security/cap_test/ |
| H A D | cap_test_capabilities.c | 336 ret = fstatat(dfd_cap, "cap_fstatat", &sb, 0); in try_file_ops() 337 CHECK_RESULT(fstatat, CAP_FSTAT | CAP_LOOKUP, ret == 0); in try_file_ops()
|
| /freebsd-12.1/tests/sys/audit/ |
| H A D | file-attribute-access.c | 205 ATF_REQUIRE_EQ(0, fstatat(AT_FDCWD, path, &statbuff, in ATF_TC_BODY() 227 ATF_REQUIRE_EQ(-1, fstatat(AT_FDCWD, path, &statbuff, in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/openbsm/ |
| H A D | configure.ac | 103 …c4random_buf bzero cap_enter clock_gettime closefrom faccessat fdopendir fstatat ftruncate getresg…
|
| /freebsd-12.1/contrib/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cc | 699 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) { in INTERCEPTOR() argument 701 int res = REAL(fstatat)(fd, pathname, buf, flags); in INTERCEPTOR() 705 # define MSAN_INTERCEPT_FSTATAT INTERCEPT_FUNCTION(fstatat)
|