Searched refs:copy_file (Results 1 - 7 of 7) sorted by relevance

/systemd/src/basic/
H A Dcopy.h28 int copy_file(const char *from, const char *to, int flags, mode_t mode, unsigned chattr_flags);
H A Dcopy.c405 int copy_file(const char *from, const char *to, int flags, mode_t mode, unsigned chattr_flags) { function
446 r = copy_file(from, t, O_NOFOLLOW|O_EXCL, mode, chattr_flags);
/systemd/src/test/
H A Dtest-copy.c37 char fn[] = "/tmp/test-copy_file.XXXXXX";
38 char fn_copy[] = "/tmp/test-copy_file.XXXXXX";
52 assert_se(copy_file(fn, fn_copy, 0, 0644, 0) == 0);
/systemd/src/boot/
H A Dbootctl.c440 static int copy_file(const char *from, const char *to, bool force) { function
575 r = copy_file(p, q, force);
585 k = copy_file(p, v, force);
/systemd/src/firstboot/
H A Dfirstboot.c254 r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644, 0);
/systemd/src/nspawn/
H A Dnspawn.c1100 r = copy_file("/etc/resolv.conf", where, O_TRUNC|O_NOFOLLOW, 0644, 0);
/systemd/src/systemctl/
H A Dsystemctl.c5831 r = copy_file(original_path, t, 0, 0644, 0);

Completed in 3254 milliseconds