X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fmount-util.h;h=33453aa9fb20c4d869ce46b03c0a424bc0c8a8fb;hp=237bd4711204a2f0ca02f28800c08de063ed7663;hb=1e2c11636861da69c5637e59afe207a11dd4f386;hpb=07045a1a92c839fd2af80bd0c060a595021bc3b3 diff --git a/src/basic/mount-util.h b/src/basic/mount-util.h index 237bd4711..33453aa9f 100644 --- a/src/basic/mount-util.h +++ b/src/basic/mount-util.h @@ -36,7 +36,7 @@ int path_is_mount_point(const char *path, int flags); int repeat_unmount(const char *path, int flags); int umount_recursive(const char *target, int flags); -int bind_remount_recursive(const char *prefix, bool ro); +int bind_remount_recursive(const char *prefix, bool ro, char **blacklist); int mount_move_root(const char *path); #endif // 0 @@ -53,4 +53,15 @@ union file_handle_union { char padding[sizeof(struct file_handle) + MAX_HANDLE_SZ]; }; +const char* mode_to_inaccessible_node(mode_t mode); + #define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ } + +int mount_verbose( + int error_log_level, + const char *what, + const char *where, + const char *type, + unsigned long flags, + const char *options); +int umount_verbose(const char *where);