Home
last modified time | relevance | path

Searched refs:tempdir (Results 1 – 2 of 2) sorted by relevance

/arch/um/os-Linux/
A Dmem.c57 char *tempdir = NULL; variable
136 if (tempdir == NULL) { in make_tempfile()
137 tempdir = choose_tempdir(); in make_tempfile()
138 if (tempdir == NULL) { in make_tempfile()
146 fd = open(tempdir, O_CLOEXEC | O_RDWR | O_EXCL | O_TMPFILE, 0700); in make_tempfile()
156 tempname = malloc(strlen(tempdir) + strlen(template) + 1); in make_tempfile()
160 strcpy(tempname, tempdir); in make_tempfile()
233 os_info("Checking PROT_EXEC mmap in %s...", tempdir); in check_tmpexec()
239 os_warn("%s must be not mounted noexec\n", tempdir); in check_tmpexec()
/arch/um/os-Linux/skas/
A Dprocess.c363 extern char *tempdir;
382 tmpfile = malloc(strlen(tempdir) + in init_stub_exe_fd()
387 strcpy(tmpfile, tempdir); in init_stub_exe_fd()

Completed in 6 milliseconds