Home
last modified time | relevance | path

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

/systemd-251/src/nspawn/
Dnspawn-mount.c64 if (m->rm_rf_tmpdir) { in custom_mount_free_all()
65 (void) rm_rf(m->rm_rf_tmpdir, REMOVE_ROOT|REMOVE_PHYSICAL); in custom_mount_free_all()
66 free(m->rm_rf_tmpdir); in custom_mount_free_all()
108 assert(!m->rm_rf_tmpdir); in allocate_temporary_source()
110 m->rm_rf_tmpdir = strdup("/var/tmp/nspawn-temp-XXXXXX"); in allocate_temporary_source()
111 if (!m->rm_rf_tmpdir) in allocate_temporary_source()
114 if (!mkdtemp(m->rm_rf_tmpdir)) { in allocate_temporary_source()
115 m->rm_rf_tmpdir = mfree(m->rm_rf_tmpdir); in allocate_temporary_source()
119 m->source = path_join(m->rm_rf_tmpdir, "src"); in allocate_temporary_source()
727 if (m->rm_rf_tmpdir && chown(m->source, uid_shift, uid_shift) < 0) in mount_bind()
Dnspawn-mount.h43 char *rm_rf_tmpdir; member