diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-02 18:23:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-02 18:43:10 +0200 |
commit | f9ad896ee2a7c14b6c51bcc26547b82761ec0ab3 (patch) | |
tree | 4528469d97790f76c84e4ff38b48632b448cc0eb /src/shared/mount-util.h | |
parent | switch-root: disable sync() again when we switch root during shutdown (diff) | |
download | systemd-f9ad896ee2a7c14b6c51bcc26547b82761ec0ab3.tar.xz systemd-f9ad896ee2a7c14b6c51bcc26547b82761ec0ab3.zip |
mount-util: add fd_make_mount_point() helper
Diffstat (limited to 'src/shared/mount-util.h')
-rw-r--r-- | src/shared/mount-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/mount-util.h b/src/shared/mount-util.h index b33e739b42..7214cf1e52 100644 --- a/src/shared/mount-util.h +++ b/src/shared/mount-util.h @@ -100,6 +100,7 @@ int bind_mount_in_namespace(pid_t target, const char *propagate_path, const char int mount_image_in_namespace(pid_t target, const char *propagate_path, const char *incoming_path, const char *src, const char *dest, bool read_only, bool make_file_or_directory, const MountOptions *options, const ImagePolicy *image_policy); int make_mount_point(const char *path); +int fd_make_mount_point(int fd); typedef enum RemountIdmapping { REMOUNT_IDMAPPING_NONE, |