summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorTimofey Titovets <nefelim4ag@gmail.com>2014-08-15 02:05:47 +0300
committerLennart Poettering <lennart@poettering.net>2014-08-15 01:35:28 +0200
commit5261ba901845c084de5a8fd06500ed09bfb0bd80 (patch)
treeaf5f9a6d0606bd05fe0b1fe95a7e9354957f29b9 /src/shared/util.h
parent1bd27a45d04639190fc91ad2552b72ea759c0c27 (diff)
core: Refuse mount on symlink
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 101d2dfcf8..bd8bbb268f 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -966,3 +966,5 @@ char *tempfn_random(const char *p);
bool is_localhost(const char *hostname);
int take_password_lock(const char *root);
+
+int is_symlink(const char *path); \ No newline at end of file