diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-24 18:50:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-24 18:50:50 +0200 |
commit | 98a28fef2618e54a644614c759f371f297381b70 (patch) | |
tree | ac0f1d97bce1a298706d367c0b788a956f700bda /src/logind-session-dbus.c | |
parent | 77527da0a02029ce9c5ec86d5db5ea42147a658f (diff) |
logind: hook up PAM module with logind
Diffstat (limited to 'src/logind-session-dbus.c')
-rw-r--r-- | src/logind-session-dbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logind-session-dbus.c b/src/logind-session-dbus.c index b0e592d215..8d1e607e62 100644 --- a/src/logind-session-dbus.c +++ b/src/logind-session-dbus.c @@ -49,6 +49,7 @@ " <property name=\"Remote\" type=\"b\" access=\"read\"/>\n" \ " <property name=\"RemoteHost\" type=\"s\" access=\"read\"/>\n" \ " <property name=\"RemoteUser\" type=\"s\" access=\"read\"/>\n" \ + " <property name=\"Service\" type=\"s\" access=\"read\"/>\n" \ " <property name=\"Leader\" type=\"u\" access=\"read\"/>\n" \ " <property name=\"Audit\" type=\"u\" access=\"read\"/>\n" \ " <property name=\"Type\" type=\"s\" access=\"read\"/>\n" \ @@ -236,6 +237,7 @@ static DBusHandlerResult session_message_dispatch( { "org.freedesktop.login1.Session", "Remote", bus_property_append_bool, "b", &s->remote }, { "org.freedesktop.login1.Session", "RemoteUser", bus_property_append_string, "s", s->remote_user }, { "org.freedesktop.login1.Session", "RemoteHost", bus_property_append_string, "s", s->remote_host }, + { "org.freedesktop.login1.Session", "Service", bus_property_append_string, "s", s->service }, { "org.freedesktop.login1.Session", "Leader", bus_property_append_pid, "u", &s->leader }, { "org.freedesktop.login1.Session", "Audit", bus_property_append_uint32, "u", &s->audit_id }, { "org.freedesktop.login1.Session", "Type", bus_session_append_type, "s", &s->type }, |