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
@@ -50,6 +50,7 @@
#include "user-util.h"
#include "util.h"
#include "virt.h"
#include "path-util.h"
static void test_streq_ptr(void) {
assert_se(streq_ptr(NULL, NULL));