fileio: Refactor sync_rights to take fds as arguments

This commit is contained in:
Daan De Meyer
2020-05-27 18:54:25 +02:00
parent 494735f3d0
commit 90c81688ff
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -107,6 +107,6 @@ 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(FILE *from, const char *to);
int sync_rights(int from, int to);
int rename_and_apply_smack(const char *temp_path, const char *dest_path);