[systemd-commits] src/login
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Sep 26 12:33:11 PDT 2013
src/login/logind-dbus.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit c68ba912c347a79885bb0e863034bdb3a8ae057e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Sep 26 21:32:47 2013 +0200
logind: never consider a closing session relevant for PK checks
https://bugzilla.redhat.com/show_bug.cgi?id=1010215
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index e76381b..bb85c7d 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -957,6 +957,7 @@ static int have_multiple_sessions(
* count, and non-login sessions do not count either. */
HASHMAP_FOREACH(session, m->sessions, i)
if (session->class == SESSION_USER &&
+ !session->closing &&
session->user->uid != uid)
return true;
More information about the systemd-commits
mailing list