Home
last modified time | relevance | path

Searched refs:cray_tmpdir (Results 1 – 3 of 3) sorted by relevance

/external/openssh/openbsd-compat/
Dbsd-cray.c95 char cray_tmpdir[TPATHSIZ + 1]; /* job TMPDIR path */ variable
775 snprintf(cray_tmpdir, TPATHSIZ, "%s/jtmp.%06d%c", JTMPDIR, jid, c); in cray_init_job()
776 if (mkdir(cray_tmpdir, JTMPMODE) != 0) in cray_init_job()
778 if (chown(cray_tmpdir, pw->pw_uid, pw->pw_gid) != 0) { in cray_init_job()
779 rmdir(cray_tmpdir); in cray_init_job()
786 cray_tmpdir[0] = '\0'; in cray_init_job()
802 strncpy(ut->ut_tpath, cray_tmpdir, TPATHSIZ); in cray_set_tmpdir()
Dbsd-cray.h45 extern char cray_tmpdir[];
/external/openssh/
Dsession.c1263 if (cray_tmpdir[0] != '\0') in do_setup_env()
1264 child_set_env(&env, &envsize, "TMPDIR", cray_tmpdir); in do_setup_env()