Systemd/src/login
Lennart Poettering 954449b82d logind: when registering a new session always use previous session info from cgroup path rather than audit
Previously for cases like "su" or "sudo" where a session is attempted to
be created from within an existing one we used the audit session ID to
detect this and in such a case we simple returned the session data of
the original session a second time.

With this change we will now use the cgroup path of the calling path to
determine the old session, i.e. we only rely on our own session
identification scheme, instead of audits.

We will continue to keep the audit session ID and ours in sync however,
to avoid unnecessary confusion.
2013-03-05 03:35:52 +01: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 uaccess: add ID_SECURITY_TOKEN device class for USB authentication keys 2012-07-24 20:13:46 +02:00
71-seat.rules.in logind: rename "seat-master" tag to "master-of-seat" 2013-02-09 01:25:55 +01:00
73-seat-late.rules.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
inhibit.c inhibit: make the output more readable 2013-03-01 19:22:30 +01:00
libsystemd-login.pc.in relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
libsystemd-login.sym login: introduce sd_session_get_tty() 2013-01-15 03:01:35 +01:00
loginctl.c logind: add UnlockSessions() clal to complement LockSessions() 2013-01-24 05:29:37 +01:00
logind-acl.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
logind-acl.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-action.c logind: rework delay inhibition logic 2013-01-25 06:30:23 +01:00
logind-action.h logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind-button.c logind: add MESSAGE_IDs to interesting events 2013-01-27 23:47:18 -05:00
logind-button.h logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind-dbus.c logind: when registering a new session always use previous session info from cgroup path rather than audit 2013-03-05 03:35:52 +01:00
logind-device.c logind: expose CanGraphical and CanTTY properties on seat objects 2012-06-21 13:48:01 +02:00
logind-device.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-gperf.gperf logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind-inhibit.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
logind-inhibit.h logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey= 2012-09-21 15:44:14 +02:00
logind-seat-dbus.c logind: expose CanGraphical and CanTTY properties on seat objects 2012-06-21 13:48:01 +02:00
logind-seat.c log: introduce a macro to format message id 2012-10-13 14:26:30 +02:00
logind-seat.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind-session-dbus.c logind: unify all session lock loop 2012-10-30 03:40:42 +01:00
logind-session.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
logind-session.h logind: unify all session lock loop 2012-10-30 03:40:42 +01:00
logind-user-dbus.c udev: replace util_create_path() with mkdir_parents() 2012-04-17 01:09:39 +02:00
logind-user.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
logind-user.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
logind.c update TODO 2013-02-14 22:16:58 +01:00
logind.conf logind: add support for automatic suspend/hibernate/shutdown on idle 2012-12-24 00:29:40 +01:00
logind.h logind: rework delay inhibition logic 2013-01-25 06:30:23 +01:00
Makefile logind: move logind into its own subdirectory 2011-12-31 03:16:08 +01:00
multi-seat-x.c multi-seat-x: drop a lot of unnecessary code 2012-09-21 17:03:40 +02:00
org.freedesktop.login1.conf logind: allow HybridSleep methods in default DBus context 2012-12-18 17:45:20 +01:00
org.freedesktop.login1.policy.in logind: Allow active sessions to always shutdown by default 2013-02-11 21:04:25 +01:00
org.freedesktop.login1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
pam-module.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
sd-login.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00
sysfs-show.c logind: rename "seat-master" tag to "master-of-seat" 2013-02-09 01:25:55 +01: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 login: wrap CanTTY and CanGraphical seat attributes in libsystemd-login 2012-06-21 16:52:54 +02:00
uaccess.c relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
user-sessions.c honor SELinux labels, when creating and writing config files 2013-02-14 16:19:38 +01:00