diff options
author | Adrian Szyndela <adrian.s@samsung.com> | 2020-03-26 11:19:37 +0100 |
---|---|---|
committer | Adrian Szyndela <adrian.s@samsung.com> | 2020-03-26 16:04:19 +0100 |
commit | 33b11b26145b0ab55836cda8b6492a360756febb (patch) | |
tree | 187beccde167b359e820178f0f8663ea5f45b5f1 | |
parent | fcb8124c885cb87fb70d6776351939564212d628 (diff) | |
download | systemd-sandbox/adrians/upgrade-to-238.tar.gz systemd-sandbox/adrians/upgrade-to-238.tar.bz2 systemd-sandbox/adrians/upgrade-to-238.zip |
sd-bus: fix fcntl flag for duplicating fdsandbox/adrians/upgrade-to-238
-rw-r--r-- | src/libsystemd/sd-bus/bus-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c index 8b6c3826d2..1e5eec16bd 100644 --- a/src/libsystemd/sd-bus/bus-message.c +++ b/src/libsystemd/sd-bus/bus-message.c @@ -2824,7 +2824,7 @@ _public_ int sd_bus_message_append_string_memfd( if (r < 0) return r; - copy_fd = fcntl(memfd, FD_CLOEXEC, 3); + copy_fd = fcntl(memfd, F_DUPFD_CLOEXEC, 3); if (copy_fd < 0) return copy_fd; |