Home
last modified time | relevance | path

Searched refs:fchdir (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/netbsd-tests/lib/librumphijack/
H A Dt_cwd.sh48 test_case basic_fchdir /rump simple fchdir
50 test_case slash_fchdir // simple fchdir
52 test_case symlink_fchdir /rump symlink fchdir
54 test_case symlink_slash_fchdir // symlink fchdir
H A Dh_cwd.c73 if (fchdir(fd) == -1) in dofchdir()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dfaccessat.h51 if (fchdir(fd) == -1) { in faccessat()
61 (void)fchdir(cfd); in faccessat()
H A Drenameat.h50 if (fchdir(fromfd) == -1) { in renameat()
60 (void)fchdir(cfd); in renameat()
H A Dunlinkat.h47 if (fchdir(fd) == -1) { in unlinkat()
60 (void)fchdir(cfd); in unlinkat()
H A Dfstatat.h48 if (fchdir(fd) == -1) { in fstatat()
61 (void)fchdir(cfd); in fstatat()
H A Dopenat.h46 if (fchdir(fd) == -1) { in openat()
67 (void)fchdir(cfd); in openat()
/freebsd/lib/libc/gen/
H A Ddaemon.c81 (void)fchdir(chdirfd); in daemonfd()
H A Dfts-compat11.c70 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))
271 saved_errno = fchdir(sp->fts_rfd) ? errno : 0; in freebsd11_fts_close()
567 rc = fchdir(fd); in freebsd11_fts_children()
1165 ret = fchdir(newfd); in fts_safe_changedir()
H A Dfts-compat.c81 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))
281 saved_errno = fchdir(sp->fts_rfd) ? errno : 0; in __fts_close_44bsd()
572 if (fchdir(fd)) { in __fts_children_44bsd()
1185 ret = fchdir(newfd); in fts_safe_changedir()
H A Dfts.c82 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))
368 saved_errno = fchdir(sp->fts_rfd) ? errno : 0; in fts_close()
664 rc = fchdir(fd); in fts_children()
1265 ret = fchdir(newfd); in fts_safe_changedir()
H A Dposix_spawn.c199 if (fchdir(fae->fae_fildes) != 0) in process_file_actions_entry()
/freebsd/usr.bin/runat/
H A Drunat.c94 if (fchdir(nameddir_fd) < 0) in main()
/freebsd/tests/sys/capsicum/
H A Dopenat.cc225 EXPECT_OK(fchdir(dir_fd_)); in OpenatTest()
228 fchdir(cwd_); in ~OpenatTest()
H A Dcapmode.cc75 EXPECT_CAPMODE(fchdir(fd_dir_)); in FORK_TEST_F()
470 EXPECT_OK(fchdir(dfd)); in TEST()
/freebsd/tools/test/stress2/testcases/rw/
H A Drw.c109 if (fchdir(starting_dir) == -1) in cleanup()
/freebsd/tools/regression/security/cap_test/
H A Dcap_test_capmode.c93 CHECK_CAPMODE(fchdir, fd_dir); in test_capmode()
/freebsd/bin/pax/
H A Dftree.c298 if (fchdir(cwdfd) < 0) { in ftree_arg()
/freebsd/lib/libsys/
H A DSymbol.sys.map75 fchdir;
H A DMakefile.sys409 MLINKS+=chdir.2 fchdir.2
/freebsd/include/
H A Dunistd.h424 int fchdir(int);
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_interceptors_posix.cpp244 INTERCEPTOR(int, fchdir, int fd) { argument
246 return REAL(fchdir)(fd);
1567 INTERCEPT_FUNCTION(fchdir);
/freebsd/sys/sys/
H A Dsyscall.mk19 fchdir.o \
/freebsd/contrib/mandoc/
H A Dmain.c
/freebsd/tests/sys/audit/
H A Dprocess-control.c392 ATF_REQUIRE_EQ(0, fchdir(filedesc)); in ATF_TC_BODY()
417 ATF_REQUIRE_EQ(-1, fchdir(-1)); in ATF_TC_BODY()

12