HomeSort by: relevance | last modified time | path
    Searched refs:chdir (Results 1 - 25 of 109) sorted by relevancy

1 2 3 4 5

  /src/usr.bin/make/unit-tests/
opt-chdir.exp 2 make: chdir /nonexistent: No such file or directory
opt-chdir.mk 1 # $NetBSD: opt-chdir.mk,v 1.7 2024/04/02 11:11:00 rillig Exp $
10 all: chdir-root
11 all: chdir-nonexistent
16 chdir-root: .PHONY .IGNORE
22 chdir-nonexistent: .PHONY .IGNORE
  /src/etc/rc.d/
rtadvd 22 local chdir="$(getent passwd _rtadvd | cut -d: -f6)"
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
  /src/regress/sys/kern/getcwd/
getcwd.c 202 chdir ("/usr/share/examples/emul/ultrix/etc");
246 chdir ("/tmp/permdir/subdir");
253 chdir ("/");
259 chdir ("/tmp/permdir/subdir");
266 chdir ("/");
287 chdir ("/tmp/chrootdir");
307 chdir("subdir");
325 chdir ("/");
339 chdir("/");
356 chdir("/sbin")
    [all...]
  /src/lib/libc/gen/
daemon.c 69 (void)chdir("/");
  /src/sys/sys/
spawn.h 70 #define fae_chdir_path fae_data.chdir.path
71 } chdir; member in union:posix_spawn_file_actions_entry::__anona75f4e88010a
  /src/usr.sbin/rtadvd/
rtadvd_hostops.c 28 .op_chdir = chdir,
prog_ops.h 72 #define prog_chdir chdir
  /src/libexec/httpd/
tilde-luzah-bozo.c 50 * - chdir's /~user/public_html
101 if (chdir(pw->pw_dir) < 0) {
104 bozo_http_error(httpd, 404, request, "can't chdir to homedir");
107 if (chdir(httpd->public_html) < 0) {
111 "can't chdir to public_html");
  /src/games/warp/
sig.c 100 chdir("/usr/tmp");
164 chdir(SAVEDIR);
  /src/bin/csh/
dir.c 89 if (chdir(ecp) == -1)
99 if (chdir("/") == -1) {
332 * dochngd - implement chdir command.
346 if (chdir(short2str(cp)) < 0)
356 if (chdir(tmp = short2str(dp->di_name)) < 0)
429 if (chdir(short2str(dp)) >= 0) {
435 if (chdir(short2str(cp)) >= 0)
452 if (chdir(short2str(buf)) >= 0) {
461 if ((dp[0] == '/' || dp[0] == '.') && chdir(short2str(dp)) >= 0) {
493 if (chdir(tmp = short2str(dp->di_name)) < 0
    [all...]
  /src/tests/lib/libc/sys/
t_chroot.c 64 ATF_REQUIRE(chdir(buf) == 0);
98 (void)chdir("/");
189 ATF_REQUIRE(chdir(buf) == 0);
221 (void)chdir("/");
  /src/libexec/atrun/
atrun.c 142 if (chdir(pentry->pw_dir) == -1)
143 (void)chdir("/");
264 if (chdir(_PATH_ATSPOOL) == -1)
265 perr("Cannot chdir to `%s'", _PATH_ATSPOOL);
320 if (chdir(_PATH_ATJOBS) == -1)
321 perr("Cannot chdir to `%s'", _PATH_ATJOBS);
444 if (chdir(_PATH_ATJOBS) == -1)
  /src/distrib/utils/tls/
tls.c 52 if (chdir(argv[1]))
53 err(1, "chdir `%s'", argv[1]);
  /src/games/sail/
main.c 77 if (chdir(_PATH_SAILDIR) < 0) {
  /src/lib/libpam/modules/pam_chroot/
pam_chroot.c 103 if (chdir(cwd) == -1) {
104 openpam_log(PAM_LOG_ERROR, "chdir(): %s", strerror(errno));
  /src/libexec/talkd/
talkd.c 112 if (chdir(_PATH_DEV) < 0) {
113 syslog(LOG_ERR, "chdir: %s: %m", _PATH_DEV);
  /src/tests/lib/librumphijack/
h_cwd.c 61 if (chdir(path) == -1)
155 if (strcmp(argv[3], "chdir") == 0)
160 errx(EXIT_FAILURE, "invalid chdir type");
  /src/usr.sbin/chroot/
chroot.c 176 if (chdir(argv[0]) == -1 || chroot(".") == -1)
  /src/usr.sbin/rpc.yppasswdd/
yppasswdd_mkpw.c 169 if (chdir("/var/yp"))
  /src/usr.bin/env/
env.c 75 if (chdir(optarg) == -1)
76 err(125, "chdir '%s'", optarg);
  /src/usr.sbin/sysinst/
aout2elf.c 360 if (chdir(q) < 0)
384 if (chdir(p) < 0)
main.c 486 if (chdir(home) != 0)
487 (void)chdir("/");
578 chdir(getenv("HOME"));
  /src/usr.sbin/ypserv/yppush/
yppush.c 164 if (chdir(YP_DB_PATH) < 0)
166 if (chdir(ypi.ourdomain) < 0)
  /src/usr.bin/calendar/
calendar.c 195 if (chdir(pw->pw_dir) != -1) {
203 if (chdir(caldir) != -1)
206 if (chdir(pw->pw_dir) != -1)

Completed in 22 milliseconds

1 2 3 4 5