projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90dc8c2
)
logind: never consider a closing session relevant for PK checks
author
Lennart Poettering
<lennart@poettering.net>
Thu, 26 Sep 2013 19:32:47 +0000
(21:32 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 26 Sep 2013 19:32:47 +0000
(21:32 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1010215
src/login/logind-dbus.c
patch
|
blob
|
history
diff --git
a/src/login/logind-dbus.c
b/src/login/logind-dbus.c
index
e76381b
..
bb85c7d
100644
(file)
--- 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;