| /netbsd-src/regress/sys/kern/getcwd/ |
| H A D | getcwd.c | 202 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 D | rtadvd | 26 [ -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 D | chdir-long.m4 | 3 # 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 D | getcwd-path-max.m4 | 98 /* 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 D | bind2nsd | 70 os.chdir(named_root) 76 os.chdir(pwd) 90 os.chdir(tmpdir) 104 os.chdir(pwd)
|
| H A D | s64-sync | 100 os.chdir(tmpdir) 117 os.chdir(pwd) 201 os.chdir(named_root) 205 os.chdir(pwd)
|
| H A D | nsd-sync | 100 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 D | rename.c | 128 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 D | dash-C | 28 chdir $workdir; 30 chdir $pwd; 56 chdir $workdir; 58 chdir $pwd;
|
| /netbsd-src/bin/csh/ |
| H A D | dir.c | 89 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 D | t_chroot.c | 64 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 D | conf_include_test.c | 19 # define chdir _chdir macro 32 # define chdir(x) (-1); macro 56 ret = chdir(s); in change_path()
|
| /netbsd-src/libexec/atrun/ |
| H A D | atrun.c | 142 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 D | conf_include_test.c | 20 # 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 D | postfix.c | 628 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 D | spawn.h | 70 #define fae_chdir_path fae_data.chdir.path 71 } chdir; member
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
| H A D | chdir.c | 48 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 D | entrypoint.py | 37 os.chdir('/build') 67 os.chdir("/projects")
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
| H A D | chdir.c | 48 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 D | chdir-long.m4 | 3 # 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 D | ex_cd.c | 91 if (!chdir(dir)) in ex_cd() 120 if (!chdir(buf)) { in ex_cd()
|
| /netbsd-src/libexec/httpd/ |
| H A D | tilde-luzah-bozo.c | 101 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 D | fs_tree1.c | 33 rc = chdir(name); in start_dir() 42 rc = chdir(".."); in end_dir()
|
| /netbsd-src/external/gpl3/gcc.old/dist/contrib/ |
| H A D | unused_functions.py | 102 os.chdir(d) 109 os.chdir(owd) 111 os.chdir(owd)
|
| /netbsd-src/external/gpl3/gcc/dist/contrib/ |
| H A D | unused_functions.py | 102 os.chdir(d) 109 os.chdir(owd) 111 os.chdir(owd)
|