summaryrefslogtreecommitdiff
path: root/src/core/dbus-mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-24 14:58:51 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-24 14:58:51 +0200
commit7f66eb931d20cfdb7e1123673f2d6d08c2589bdf (patch)
tree1d9dbb238d24543bfe9e8f6a7fb0d40a814ba7b9 /src/core/dbus-mount.c
parent48d04f25bf400fe0ff612a23bb4785bb245b6139 (diff)
parent5dfcb8d20021c8fc555a86c4fbbc72d5c9837150 (diff)
Merge pull request #1664 from again4you/devel/tmp-smack_#5
mount: add new SmackFileSystemRoot= setting for mount unit (v4)
Diffstat (limited to 'src/core/dbus-mount.c')
-rw-r--r--src/core/dbus-mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-mount.c b/src/core/dbus-mount.c
index 24813c6d20..dbee7fc908 100644
--- a/src/core/dbus-mount.c
+++ b/src/core/dbus-mount.c
@@ -117,6 +117,7 @@ const sd_bus_vtable bus_mount_vtable[] = {
SD_BUS_PROPERTY("ControlPID", "u", bus_property_get_pid, offsetof(Mount, control_pid), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
SD_BUS_PROPERTY("DirectoryMode", "u", bus_property_get_mode, offsetof(Mount, directory_mode), SD_BUS_VTABLE_PROPERTY_CONST),
SD_BUS_PROPERTY("SloppyOptions", "b", bus_property_get_bool, offsetof(Mount, sloppy_options), SD_BUS_VTABLE_PROPERTY_CONST),
+ SD_BUS_PROPERTY("SmackFileSystemRoot", "s", NULL, offsetof(Mount, smack_fs_root), SD_BUS_VTABLE_PROPERTY_CONST),
SD_BUS_PROPERTY("Result", "s", property_get_result, offsetof(Mount, result), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
BUS_EXEC_COMMAND_VTABLE("ExecMount", offsetof(Mount, exec_command[MOUNT_EXEC_MOUNT]), SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION),
BUS_EXEC_COMMAND_VTABLE("ExecUnmount", offsetof(Mount, exec_command[MOUNT_EXEC_UNMOUNT]), SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION),