summaryrefslogtreecommitdiffstats
path: root/src/shared/bus-unit-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-27 11:40:53 +0200
committerLennart Poettering <lennart@poettering.net>2017-11-17 11:13:44 +0100
commit9f617cd09f3312aa6a63a54f06ce5a25414f86b9 (patch)
treef82a1872adaf5ed17b770b6ad1c7e5cd45dbff9a /src/shared/bus-unit-util.c
parenttest: add tests for StandardInputText= and StandardInputData= (diff)
downloadsystemd-9f617cd09f3312aa6a63a54f06ce5a25414f86b9.tar.xz
systemd-9f617cd09f3312aa6a63a54f06ce5a25414f86b9.zip
bus-unit-util: drop #ifdef HAVE_SECCOMP from bus client side
Whether seccomp is supported or not is a server implementation detail, the client should not be altered by that, and clients should be able to talk to servers configured differently than the client, hence drop the HAVE_SECCOMP ifdeffery here. (This would be different if we'd need libseccomp or so to implement the client, but we don't)
Diffstat (limited to '')
-rw-r--r--src/shared/bus-unit-util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
index 8b189322b1..01beac0342 100644
--- a/src/shared/bus-unit-util.c
+++ b/src/shared/bus-unit-util.c
@@ -707,8 +707,6 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
r = sd_bus_message_append(m, "v", "i", (int32_t) n);
-#if HAVE_SECCOMP
-
} else if (streq(field, "SystemCallFilter")) {
int whitelist;
_cleanup_strv_free_ char **l = NULL;
@@ -853,7 +851,7 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
r = sd_bus_message_close_container(m);
if (r < 0)
return bus_log_create_error(r);
-#endif
+
} else if (streq(field, "FileDescriptorStoreMax")) {
unsigned u;