Home
last modified time | relevance | path

Searched refs:chdir (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/netbsd-src/regress/sys/kern/getcwd/
H A Dgetcwd.c202 chdir ("/usr/share/examples/emul/ultrix/etc");
246 chdir ("/tmp/permdir/subdir"); in test___getcwd_perms()
253 chdir ("/"); in test___getcwd_perms()
259 chdir ("/tmp/permdir/subdir"); in test___getcwd_perms()
266 chdir ("/"); in test___getcwd_perms()
287 chdir ("/tmp/chrootdir"); in test___getcwd_chroot()
307 chdir("subdir"); in test___getcwd_chroot()
325 chdir ("/"); in test___getcwd_chroot()
339 chdir("/"); in test___getcwd()
356 chdir("/sbin"); in test___getcwd()
[all …]
/netbsd-src/etc/rc.d/
H A Drtadvd26 [ -z "${chdir}" ] || [ "/${chdir}" = // ] && return 0
51 echo "${name}: copying ${conf} to ${chdir}${conf}"
52 mkdir -p "${chdir}${confdir}"
53 cp "${conf}" "${chdir}${conf}" || return 1
57 mkdir -p "${chdir}/var/run"
60 ln -snf "${chdir}/var/run/${name}.dump" /var/run
/netbsd-src/external/gpl2/xcvs/dist/m4/
H A Dchdir-long.m43 # Use Gnulib's robust chdir function.
7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
18 AC_LIBSOURCES([chdir-long.c, chdir-long.h])
31 AC_LIBOBJ([chdir-long])
H A Dgetcwd-path-max.m498 /* If mkdir or chdir fails, it could be that this system cannot create
103 if (mkdir (DIR_NAME, S_IRWXU) < 0 || chdir (DIR_NAME) < 0)
160 /* Unlink first, in case the chdir failed. */
164 if (chdir ("..") < 0)
/netbsd-src/external/bsd/nsd/dist/contrib/bind2nsd/scripts/
H A Dbind2nsd70 os.chdir(named_root)
76 os.chdir(pwd)
90 os.chdir(tmpdir)
104 os.chdir(pwd)
H A Ds64-sync100 os.chdir(tmpdir)
117 os.chdir(pwd)
201 os.chdir(named_root)
205 os.chdir(pwd)
H A Dnsd-sync100 os.chdir(tmpdir)
114 os.chdir(pwd)
193 os.chdir(named_root)
197 os.chdir(pwd)
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Drename.c128 if (!cwd || chdir (cwd)) in rpl_rename()
132 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename()
133 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename()
137 src_temp = chdir (src) ? NULL : getcwd (NULL, 0); in rpl_rename()
138 if (!IS_ABSOLUTE_FILE_NAME (dst) && chdir (cwd)) in rpl_rename()
140 dst_temp = chdir (dst) ? NULL : getcwd (NULL, 0); in rpl_rename()
142 if (chdir (cwd)) in rpl_rename()
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/options/
H A Ddash-C28 chdir $workdir;
30 chdir $pwd;
56 chdir $workdir;
58 chdir $pwd;
/netbsd-src/bin/csh/
H A Ddir.c89 if (chdir(ecp) == -1) in dinit()
99 if (chdir("/") == -1) { in dinit()
346 if (chdir(short2str(cp)) < 0) in dochngd()
356 if (chdir(tmp = short2str(dp->di_name)) < 0) in dochngd()
429 if (chdir(short2str(dp)) >= 0) { in dfollow()
435 if (chdir(short2str(cp)) >= 0) in dfollow()
452 if (chdir(short2str(buf)) >= 0) { in dfollow()
461 if ((dp[0] == '/' || dp[0] == '.') && chdir(short2str(dp)) >= 0) { in dfollow()
493 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd()
507 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd()
[all …]
/netbsd-src/tests/lib/libc/sys/
H A Dt_chroot.c64 ATF_REQUIRE(chdir(buf) == 0); in ATF_TC_BODY()
98 (void)chdir("/"); in ATF_TC_BODY()
189 ATF_REQUIRE(chdir(buf) == 0); in ATF_TC_BODY()
221 (void)chdir("/"); in ATF_TC_BODY()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dconf_include_test.c19 # define chdir _chdir macro
32 # define chdir(x) (-1); macro
56 ret = chdir(s); in change_path()
/netbsd-src/libexec/atrun/
H A Datrun.c142 if (chdir(pentry->pw_dir) == -1) in become_user()
143 (void)chdir("/"); in become_user()
264 if (chdir(_PATH_ATSPOOL) == -1) in run_file()
320 if (chdir(_PATH_ATJOBS) == -1) in run_file()
444 if (chdir(_PATH_ATJOBS) == -1) in main()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dconf_include_test.c20 # define chdir _chdir macro
34 # define chdir(x) (-1); macro
58 ret = chdir(s); in change_path()
/netbsd-src/external/ibm-public/postfix/dist/src/postfix/
H A Dpostfix.c628 if (chdir(var_command_dir)) in main()
630 if (chdir(var_daemon_dir)) in main()
632 if (chdir(var_queue_dir)) in main()
/netbsd-src/sys/sys/
H A Dspawn.h70 #define fae_chdir_path fae_data.chdir.path
71 } chdir; member
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dchdir.c48 val = chdir (str); in chdir_i4_sub()
65 val = chdir (str); in chdir_i8_sub()
/netbsd-src/external/apache2/llvm/dist/clang/utils/analyzer/
H A Dentrypoint.py37 os.chdir('/build')
67 os.chdir("/projects")
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dchdir.c48 val = chdir (str); in chdir_i4_sub()
65 val = chdir (str); in chdir_i8_sub()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dchdir-long.m43 # Use Gnulib's robust chdir function.
7 # Arrange to compile chdir-long.c only on systems that define PATH_MAX.
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_cd.c91 if (!chdir(dir)) in ex_cd()
120 if (!chdir(buf)) { in ex_cd()
/netbsd-src/libexec/httpd/
H A Dtilde-luzah-bozo.c101 if (chdir(pw->pw_dir) < 0) { in bozo_user_transform()
107 if (chdir(httpd->public_html) < 0) { in bozo_user_transform()
/netbsd-src/external/gpl2/dtc/dist/tests/
H A Dfs_tree1.c33 rc = chdir(name); in start_dir()
42 rc = chdir(".."); in end_dir()
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Dunused_functions.py102 os.chdir(d)
109 os.chdir(owd)
111 os.chdir(owd)
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Dunused_functions.py102 os.chdir(d)
109 os.chdir(owd)
111 os.chdir(owd)

12345678910>>...17