summaryrefslogtreecommitdiff
path: root/src/dbus-execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-16 16:25:42 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-16 16:27:24 +0200
commitdf1f0afe0c0d044a42ee726fa03730291d7082ee (patch)
treeec9aba0611608c2666aabac5ebc1b41b1c2508bd /src/dbus-execute.h
parent0213c3f8102bdc934c629d11a44ca0b408762287 (diff)
tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process
Diffstat (limited to 'src/dbus-execute.h')
-rw-r--r--src/dbus-execute.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dbus-execute.h b/src/dbus-execute.h
index 6abae1657c..243854f893 100644
--- a/src/dbus-execute.h
+++ b/src/dbus-execute.h
@@ -43,7 +43,8 @@
" <property name=\"CapabilityBoundingSetDrop\" type=\"t\" access=\"read\"/>\n" \
" <property name=\"User\" type=\"s\" access=\"read\"/>\n" \
" <property name=\"Group\" type=\"s\" access=\"read\"/>\n" \
- " <property name=\"SupplementaryGroups\" type=\"as\" access=\"read\"/>\n"
+ " <property name=\"SupplementaryGroups\" type=\"as\" access=\"read\"/>\n" \
+ " <property name=\"TCPWrapName\" type=\"s\" access=\"read\"/>\n"
#define BUS_EXEC_CONTEXT_PROPERTIES(interface, context) \
{ interface, "Environment", bus_property_append_strv, "as", (context).environment }, \
@@ -71,7 +72,8 @@
{ interface, "CapabilityBoundingSetDrop", bus_property_append_uint64, "t", &(context).capability_bounding_set_drop }, \
{ interface, "User", bus_property_append_string, "s", (context).user }, \
{ interface, "Group", bus_property_append_string, "s", (context).group }, \
- { interface, "SupplementaryGroups", bus_property_append_strv, "as", (context).supplementary_groups }
+ { interface, "SupplementaryGroups", bus_property_append_strv, "as", (context).supplementary_groups }, \
+ { interface, "TCPWrapName", bus_property_append_string, "s", (context).tcpwrap_name }
int bus_execute_append_output(Manager *m, DBusMessageIter *i, const char *property, void *data);
int bus_execute_append_input(Manager *m, DBusMessageIter *i, const char *property, void *data);