summaryrefslogtreecommitdiff
path: root/src/dbus-execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-16 21:54:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-16 21:54:17 +0200
commit5b6319dceedd81f3f1ce7eb70ea5defaef43bcec (patch)
tree0298a9a610482956971a07830f66b8dd051f4bee /src/dbus-execute.h
parent04aa0cb9c46f0a5cd0cf5b4a4e378460423d2635 (diff)
service: optionally call into PAM when dropping priviliges
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 243854f893..1e83caca5a 100644
--- a/src/dbus-execute.h
+++ b/src/dbus-execute.h
@@ -44,7 +44,8 @@
" <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=\"TCPWrapName\" type=\"s\" access=\"read\"/>\n"
+ " <property name=\"TCPWrapName\" type=\"s\" access=\"read\"/>\n" \
+ " <property name=\"PAMName\" type=\"s\" access=\"read\"/>\n"
#define BUS_EXEC_CONTEXT_PROPERTIES(interface, context) \
{ interface, "Environment", bus_property_append_strv, "as", (context).environment }, \
@@ -73,7 +74,8 @@
{ 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, "TCPWrapName", bus_property_append_string, "s", (context).tcpwrap_name }
+ { interface, "TCPWrapName", bus_property_append_string, "s", (context).tcpwrap_name }, \
+ { interface, "PAMName", bus_property_append_string, "s", (context).pam_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);