summaryrefslogtreecommitdiff
path: root/src/shared/path-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-04 14:42:39 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-06 10:57:53 +0200
commitf25afeb6ab515cf890eff58c0b53cf35b2be0e05 (patch)
treea5d852813c41728861aee2001d047f94c7892290 /src/shared/path-util.h
parentc6878637502b1717a110a9a7e8bba32a8583fcdf (diff)
rm-rf: never cross mount points
Diffstat (limited to 'src/shared/path-util.h')
-rw-r--r--src/shared/path-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/path-util.h b/src/shared/path-util.h
index ca81b49cbf..5548ce4a94 100644
--- a/src/shared/path-util.h
+++ b/src/shared/path-util.h
@@ -53,6 +53,7 @@ char** path_strv_make_absolute_cwd(char **l);
char** path_strv_resolve(char **l, const char *prefix);
char** path_strv_resolve_uniq(char **l, const char *prefix);
+int fd_is_mount_point(int fd);
int path_is_mount_point(const char *path, bool allow_symlink);
int path_is_read_only_fs(const char *path);
int path_is_os_tree(const char *path);