Systemd/src/login
Michal Schmidt 2154761fbb logind: fix check for multiple sessions
The "$action-multiple-sessions" polkit actions are defined as
"$action while other users are logged in". To me this implies that the
following sessions should not count:
 - greeter sessions
 - user sessions belonging to the same user as the one who's asking

Not sure how to treat class SESSION_LOCK_SCREEN. I never have these.
I just ignore every class that's not SESSION_USER.

https://bugzilla.redhat.com/show_bug.cgi?id=814424
2012-06-12 10:36:33 +02:00
..
.gitignore login: properly detect MIMO USB displays 2012-05-31 01:20:37 +02:00
70-power-switch.rules login: Use the GOTO properly in udev rule 2012-05-30 18:34:28 +02:00
70-uaccess.rules relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
71-seat.rules.in login: properly detect MIMO USB displays 2012-05-31 01:20:37 +02:00
73-seat-late.rules.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
inhibit.c logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend" 2012-05-08 13:54:23 +02:00
libsystemd-login.pc.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
libsystemd-login.sym relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
loginctl.c loginctl: avoid segfault for kill-session and kill-user commands 2012-04-22 02:04:12 +02:00
logind-acl.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-acl.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-button.c logind: rework button setting semantics 2012-05-30 21:40:32 +02:00
logind-button.h logind: rework button setting semantics 2012-05-30 21:40:32 +02:00
logind-dbus.c logind: fix check for multiple sessions 2012-06-12 10:36:33 +02:00
logind-device.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-device.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-gperf.gperf logind: optionally handle power, sleep and lid switch events 2012-05-30 15:01:51 +02:00
logind-inhibit.c mkdir: append _label to all mkdir() calls that explicitly set the selinux context 2012-05-31 12:40:20 +02:00
logind-inhibit.h logind: punt duplicate definition of InhibitWhat 2012-06-04 13:30:54 +02:00
logind-seat-dbus.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-seat.c mkdir: append _label to all mkdir() calls that explicitly set the selinux context 2012-05-31 12:40:20 +02:00
logind-seat.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-session-dbus.c systemctl: show main and control PID explicitly in cgroup-show 2012-04-16 18:59:40 +02:00
logind-session.c logind: properly clean up user cgroups when they run empty 2012-05-31 19:46:42 +02:00
logind-session.h relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-user-dbus.c udev: replace util_create_path() with mkdir_parents() 2012-04-17 01:09:39 +02:00
logind-user.c logind: add new user state 'closing' 2012-05-31 19:47:52 +02:00
logind-user.h logind: add new user state 'closing' 2012-05-31 19:47:52 +02:00
logind.c logind: properly clean up user cgroups when they run empty 2012-05-31 19:46:42 +02:00
logind.conf logind: rework button setting semantics 2012-05-30 21:40:32 +02:00
logind.h logind: properly clean up user cgroups when they run empty 2012-05-31 19:46:42 +02:00
Makefile
multi-seat-x.c mkdir: append _label to all mkdir() calls that explicitly set the selinux context 2012-05-31 12:40:20 +02:00
org.freedesktop.login1.conf logind: implement suspend/hibernate calls with inhibition logic 2012-05-08 19:02:25 +02:00
org.freedesktop.login1.policy.in logind: implement suspend/hibernate calls with inhibition logic 2012-05-08 19:02:25 +02:00
org.freedesktop.login1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pam-module.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
sd-login.c build-sys: fix built with --disable-logind 2012-05-30 22:25:01 +02:00
sysfs-show.c util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
test-inhibit.c logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend" 2012-05-08 13:54:23 +02:00
test-login.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
uaccess.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
user-sessions.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00