util: move filename_is_valid() and path_is_safe() to path-util.[ch]

This commit is contained in:
Lennart Poettering
2015-10-27 13:25:55 +01:00
parent 4349cd7c1d
commit bb15fafe9c
13 changed files with 66 additions and 54 deletions
+1
View File
@@ -30,6 +30,7 @@
#include "fd-util.h"
#include "fileio.h"
#include "lockfile-util.h"
#include "path-util.h"
#include "util.h"
int make_lock_file(const char *p, int operation, LockFile *ret) {