/freebsd-13-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_fstatat.c | 46 #define FILE "dir/fstatat" 47 #define BASEFILE "fstatat" 55 atf_tc_set_md_var(tc, "descr", "See that fstatat works with fd"); 68 ATF_REQUIRE(fstatat(dfd, BASEFILE, &st1, 0) == 0); 79 "See that fstatat works with fd as AT_FDCWD"); 91 ATF_REQUIRE(fstatat(AT_FDCWD, BASEFILE, &st, 0) == 0); 98 "See that fstatat fails with fd as AT_FDCWD and bad path"); 105 ATF_REQUIRE(fstatat(AT_FDCWD, FILEERR, &st, 0) == -1); 111 atf_tc_set_md_var(tc, "descr", "See that fstatat fail with bad path"); 120 ATF_REQUIRE(fstatat(df [all...] |
H A D | t_o_search.c | 197 atf_tc_set_md_var(tc, "descr", "See that root fstatat honours O_SEARCH"); 227 atf_tc_set_md_var(tc, "descr", "See that fstatat honours O_SEARCH"); 338 ATF_REQUIRE(fstatat(dfd, BASEFILE, &sb, 0) == 0);
|
/freebsd-13-stable/lib/libc/sys/ |
H A D | fstatat.c | 38 fstatat(int fd, const char *path, struct stat *sb, int flag) 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 486 stat.2 fstatat.2 \
|
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/ |
H A D | fstatat.h | 40 fstatat(int fd, const char *path, struct stat *buf, int flag) function
|
/freebsd-13-stable/usr.sbin/pw/ |
H A D | rm_r.c | 68 if (fstatat(dirfd, e->d_name, &st, AT_SYMLINK_NOFOLLOW) != 0) 76 if (fstatat(rootfd, path, &st, AT_SYMLINK_NOFOLLOW) != 0)
|
H A D | cpdir.c | 80 if (fstatat(skelfd, p, &st, AT_SYMLINK_NOFOLLOW) == -1)
|
H A D | pw_user.c | 100 if (fstatat(dfd, dir, &st, 0) != -1) { 134 if (fstatat(dfd, dirs, &st, 0) == -1) { 137 if (fstatat(dfd, dirs, &st, 0) == -1) { 144 if (fstatat(dfd, dirs, &st, 0) == -1) { 1019 fstatat(conf.rootfd, home + 1, &st, 0) != -1) { 1023 fstatat(conf.rootfd, home + 1, &st, 0) == -1 ? "" : "not " 1269 if (fstatat(conf.rootfd, walk, &st, 0) == -1) 1590 if (fstatat(conf.rootfd, walk, &st, 0) == -1) 1731 if (fstatat(conf.rootfd, pwd->pw_dir, &st, 0) == -1) {
|
/freebsd-13-stable/lib/libc/include/ |
H A D | compat.h | 55 __sym_compat(fstatat, freebsd11_fstatat, FBSD_1.1);
|
/freebsd-13-stable/lib/libutil/ |
H A D | flopen.c | 84 if (fstatat(dirfd, path, &sb, 0) == -1) {
|
/freebsd-13-stable/tools/build/ |
H A D | utimensat.c | 78 if (fstatat(fd, path, &sb, flag) == -1)
|
/freebsd-13-stable/contrib/lib9p/backend/ |
H A D | fs.c | 474 if (fstatat(ff->ff_dirfd, path, st, AT_SYMLINK_NOFOLLOW) != 0) 532 if (fstatat(dirf->ff_dirfd, dirf->ff_name, st, 1229 if (fstatat(file->ff_dirfd, name, &first, AT_SYMLINK_NOFOLLOW) != 0) 1408 fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0) 1449 fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0) 1544 fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0) 1599 fstatat(ff->ff_dirfd, newname, st, AT_SYMLINK_NOFOLLOW) != 0) 1634 * have lstatat (or fstatat with AT_SYMLINK_NOFOLLOW), but not 1641 return (fstatat(dirfd(file->ff_dir), name, st, AT_SYMLINK_NOFOLLOW)); 1741 if (fstatat(fil [all...] |
/freebsd-13-stable/libexec/rtld-elf/rtld-libc/ |
H A D | Makefile.inc | 47 _libc_other_objects= sigsetjmp lstat stat fstat fstatat fstatfs syscall \
|
/freebsd-13-stable/sys/kern/ |
H A D | capabilities.conf | 483 fstatat
|
/freebsd-13-stable/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-13-stable/lib/libc/gen/ |
H A D | getcwd.c | 174 if (fstatat(_dirfd(dir), dp->d_name, &s,
|
H A D | fts.c | 904 if (fstatat(dfd, path, sbp, 0)) { 906 if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) { 914 } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
|
/freebsd-13-stable/sys/sys/ |
H A D | syscall.mk | 396 fstatat.o \
|
H A D | stat.h | 398 int fstatat(int, const char *, struct stat *, int);
|
/freebsd-13-stable/usr.bin/write/ |
H A D | write.c | 281 if (fstatat(devfd, tty, &s, 0) < 0) {
|
/freebsd-13-stable/usr.bin/touch/ |
H A D | touch.c | 170 if (fstatat(AT_FDCWD, *argv, &sb, atflag) != 0) {
|
/freebsd-13-stable/tests/sys/file/ |
H A D | path_test.c | 273 ATF_REQUIRE_MSG(fstatat(pathfd, "test", &sb, 0) == 0, 274 FMT_ERR("fstatat")); 341 ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0, 342 FMT_ERR("fstatat")); 396 ATF_REQUIRE_MSG(fstatat(pathfd, "", &sb, AT_EMPTY_PATH) == 0, 397 FMT_ERR("fstatat")); 401 ATF_REQUIRE_MSG(fstatat(AT_FDCWD, "test", &sb2, 0) == 0, 402 FMT_ERR("fstatat"));
|
/freebsd-13-stable/contrib/capsicum-test/ |
H A D | linux.cc | 330 TEST(Linux, fstatat) { 344 EXPECT_OK(fstatat(fd, "", &info, AT_EMPTY_PATH)); 345 EXPECT_NOTCAPABLE(fstatat(cap_ro, "", &info, AT_EMPTY_PATH)); 346 EXPECT_OK(fstatat(cap_rf, "", &info, AT_EMPTY_PATH)); 361 EXPECT_OK(fstatat(dir, "cap_fstatat", &info, AT_EMPTY_PATH)); 362 EXPECT_NOTCAPABLE(fstatat(dir_ro, "cap_fstatat", &info, AT_EMPTY_PATH)); 363 EXPECT_OK(fstatat(dir_rf, "cap_fstatat", &info, AT_EMPTY_PATH));
|
/freebsd-13-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 336 ret = fstatat(dfd_cap, "cap_fstatat", &sb, 0); 337 CHECK_RESULT(fstatat, CAP_FSTAT | CAP_LOOKUP, ret == 0);
|
/freebsd-13-stable/bin/sh/ |
H A D | histedit.c | 582 if (fstatat(dfd, entry->d_name, &statb, 0) == -1)
|