summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-19 00:59:19 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-19 01:02:30 +0100
commite884315e3d28df0d5f4e7d4590730e9760b8f447 (patch)
treeea794f1ccbc81cd45982d36ee1996ed28e265c7a /src/shared/util.h
parentadf36dd0aec564a00a7445e328c3e27f44938629 (diff)
cgroup: additional validity checks for cgroup attribute names
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index cdaff45772..d260385991 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -543,6 +543,7 @@ _malloc_ static inline void *memdup_multiply(const void *p, size_t a, size_t b)
}
bool filename_is_safe(const char *p);
+bool path_is_safe(const char *p);
bool string_is_safe(const char *p);
void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,