diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-03-04 18:52:10 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-03-04 23:35:52 +0100 |
commit | bb72c434854f9f76f773edcb1f4b036372f5dc96 (patch) | |
tree | 57c8336e6251f3a36db22cb0366a8e4d131a8cf7 /src/basic/fileio.h | |
parent | copy: simplify error paths when creating temporary files (diff) | |
download | systemd-bb72c434854f9f76f773edcb1f4b036372f5dc96.tar.xz systemd-bb72c434854f9f76f773edcb1f4b036372f5dc96.zip |
copy: move sync_rights() to copy.c and rename copy_rights()
It's so similar to copy_access(), hence let's move it over and rename it
in similar style to the rest of the functions.
No change in behaviour, just moving things over.
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r-- | src/basic/fileio.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h index 498e880354..64a30ab7bb 100644 --- a/src/basic/fileio.h +++ b/src/basic/fileio.h @@ -118,6 +118,4 @@ int safe_fgetc(FILE *f, char *ret); int warn_file_is_world_accessible(const char *filename, struct stat *st, const char *unit, unsigned line); -int sync_rights(int from, int to); - int rename_and_apply_smack_floor_label(const char *temp_path, const char *dest_path); |