diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-05 03:29:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-05 03:35:52 +0100 |
commit | 954449b82df7fc2d37a8d854977a1a73a65edfbd (patch) | |
tree | 8ee110fa0e0d20c60a5a872d889a548c9019ce21 /units | |
parent | d51167c6268d11f02c2676693a8e9dc1b628cdbb (diff) |
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.
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions