From 835552511ef5edec94b567441251ada2a37ea333 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 22 Nov 2016 20:19:08 +0100 Subject: core: hook up MountFlags= to the transient unit logic This makes "systemd-run -p MountFlags=shared -t /bin/sh" work, by making MountFlags= to the list of properties that may be accessed transiently. --- src/basic/mount-util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/basic/mount-util.h') diff --git a/src/basic/mount-util.h b/src/basic/mount-util.h index b840956d63..c8049198d4 100644 --- a/src/basic/mount-util.h +++ b/src/basic/mount-util.h @@ -61,3 +61,6 @@ int mount_verbose( unsigned long flags, const char *options); int umount_verbose(const char *where); + +const char *mount_propagation_flags_to_string(unsigned long flags); +unsigned long mount_propagation_flags_from_string(const char *name); -- cgit v1.2.3-54-g00ecf