Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-fs-util.c33 char *temp; in TEST() local
38 temp = strjoina(arg_test_dir ?: "/tmp", "/test-chase.XXXXXX"); in TEST()
39 assert_se(mkdtemp(temp)); in TEST()
41 top = strjoina(temp, "/top"); in TEST()
57 p = strjoina(temp, "/a"); in TEST()
60 p = strjoina(temp, "/b"); in TEST()
63 p = strjoina(temp, "/start"); in TEST()
79 r = chase_symlinks(p, temp, 0, &result, NULL); in TEST()
82 r = chase_symlinks(pslash, temp, 0, &result, NULL); in TEST()
85 q = strjoina(temp, "/usr"); in TEST()
[all …]
/systemd-251/src/coredump/
Dcoredumpctl.c909 char *temp = NULL; in save_core() local
954 temp = path_join(vt, "coredump-XXXXXX"); in save_core()
955 if (!temp) in save_core()
958 fdt = mkostemp_safe(temp); in save_core()
961 log_debug("Created temporary file %s", temp); in save_core()
1029 if (temp) { in save_core()
1030 *path = temp; in save_core()
1036 if (temp) { in save_core()
1037 (void) unlink(temp); in save_core()
1038 log_debug("Removed temporary file %s", temp); in save_core()
/systemd-251/src/shared/
Dask-password-api.c717 char temp[] = "/run/systemd/ask-password/tmp.XXXXXX"; in ask_password_agent() local
718 char final[sizeof(temp)] = ""; in ask_password_agent()
756 fd = mkostemp_safe(temp); in ask_password_agent()
810 memcpy(final, temp, sizeof(temp)); in ask_password_agent()
816 if (rename(temp, final) < 0) { in ask_password_agent()
955 (void) unlink(temp); in ask_password_agent()
Dudev-util.c509 _cleanup_free_ char *temp = NULL; in udev_resolve_subsys_kernel() local
522 temp = strdup(string); in udev_resolve_subsys_kernel()
523 if (!temp) in udev_resolve_subsys_kernel()
526 subsys = &temp[1]; in udev_resolve_subsys_kernel()
Ddissect-image.c2957 _cleanup_free_ char *temp = NULL; in mount_image_privately_interactively() local
2973 r = tempfn_random_child(NULL, program_invocation_short_name, &temp); in mount_image_privately_interactively()
3006 r = mkdir_p(temp, 0700); in mount_image_privately_interactively()
3010 created_dir = TAKE_PTR(temp); in mount_image_privately_interactively()
/systemd-251/src/dissect/
Ddissect.c659 _cleanup_free_ char *temp = NULL; in action_copy() local
677 r = tempfn_random_child(NULL, program_invocation_short_name, &temp); in action_copy()
681 r = mkdir_p(temp, 0700); in action_copy()
685 created_dir = TAKE_PTR(temp); in action_copy()
/systemd-251/test/test-umount/
Drhbug-1554943.mountinfo34 85 77 0:42 / /Volumes/dune/www-servers/cms/cms/temp rw,nosuid,noexec,noatime shared:32 - tmpfs tmpf…