diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2017-04-10 14:20:17 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-04-10 13:20:17 +0200 |
commit | c9b061085678a8b00cf3631b123378fc6104a56f (patch) | |
tree | a610da45c606f56fadd7fee022b9ab9457ef3855 /src | |
parent | ddbf0d4b92733a54de50724c756fd48237ad70c9 (diff) |
core: fix values of BindPaths and BindReadOnlyPaths properties on 32-bit platforms (#5713)
$ busctl get-property \
org.freedesktop.systemd1 \
/org/freedesktop/systemd1/unit/run_2dr471de87550554a6dbb165501c33c5dab_2eservice \
org.freedesktop.systemd1.Service BindReadOnlyPaths
a(ssbt) 1 "/etc" "/etc" false 9228635523571007488
The correct values are 0 and 16384
Diffstat (limited to 'src')
-rw-r--r-- | src/core/dbus-execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 7df4cab3f6..0454a28e12 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -710,7 +710,7 @@ static int property_get_bind_paths( c->bind_mounts[i].source, c->bind_mounts[i].destination, c->bind_mounts[i].ignore_enoent, - c->bind_mounts[i].recursive ? MS_REC : 0); + c->bind_mounts[i].recursive ? (uint64_t) MS_REC : (uint64_t) 0); if (r < 0) return r; } |