Home
last modified time | relevance | path

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

/linux-5.19.10/arch/um/os-Linux/ !
Dumid.c26 static char *uml_dir = UML_DIR; variable
33 if (*uml_dir == '~') { in make_uml_dir()
44 uml_dir++; in make_uml_dir()
46 strlcat(dir, uml_dir, sizeof(dir)); in make_uml_dir()
52 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir()
53 if (uml_dir == NULL) { in make_uml_dir()
58 strcpy(uml_dir, dir); in make_uml_dir()
60 if ((mkdir(uml_dir, 0777) < 0) && (errno != EEXIST)) { in make_uml_dir()
62 uml_dir, strerror(errno)); in make_uml_dir()
69 free(uml_dir); in make_uml_dir()
[all …]