Searched refs:copy_file (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/test/ |
D | test-copy.c | 26 TEST(copy_file) { in TEST() argument 43 assert_se(copy_file(fn, fn_copy, 0, 0644, 0, 0, COPY_REFLINK) == 0); in TEST() 317 assert_se(copy_file("/proc/version", f, 0, MODE_INVALID, 0, 0, 0) >= 0); in TEST()
|
D | test-execute.c | 277 …assert_se(copy_file("/bin/ls", "/tmp/test-exec_execsearchpath/ls_temp", 0, 0777, 0, 0, COPY_REPLA… in test_exec_execsearchpath()
|
D | test-fs-util.c | 818 assert_se(copy_file(p, q, 0, MODE_INVALID, 0, 0, COPY_REFLINK) >= 0); in TEST()
|
/systemd-251/src/analyze/ |
D | analyze-verify.c | 43 r = copy_file(src, dst, 0, 0644, 0, 0, COPY_REFLINK); in process_aliases()
|
D | analyze-security.c | 2755 r = copy_file(profile, dropin, 0, 0644, 0, 0, 0); in offline_security_checks()
|
/systemd-251/src/shared/ |
D | copy.h | 39 static inline int copy_file(const char *from, const char *to, int open_flags, mode_t mode, unsigned… in copy_file() function
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 321 r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644, 0, 0, COPY_REFLINK); in process_locale() 396 r = copy_file("/etc/vconsole.conf", etc_vconsoleconf, 0, 0644, 0, 0, COPY_REFLINK); in process_keymap()
|
/systemd-251/src/systemctl/ |
D | systemctl-edit.c | 133 r = copy_file(original_path, t, 0, 0644, 0, 0, COPY_REFLINK); in create_edit_temp_file()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 2157 r = copy_file(what, where, O_TRUNC|O_NOFOLLOW, 0644, 0, 0, COPY_REFLINK); in setup_resolv_conf() 5701 …r = copy_file(arg_image, np, O_EXCL, arg_read_only ? 0400 : 0600, FS_NOCOW_FL, FS_NOCOW_FL, COPY_R… in run()
|