diff options
author | Alan Jenkins <alan.christopher.jenkins@gmail.com> | 2018-02-22 20:38:44 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-02-22 21:38:44 +0100 |
commit | e8a3144ec4ff332bd63644e468a98e1a7e06e7e4 (patch) | |
tree | f6a35c6eea6d694387695d2745f57ae5ed4e00f9 /src/boot | |
parent | 5547c12503a683290eaed47954ffcfb2d1bc03cd (diff) | |
download | systemd-e8a3144ec4ff332bd63644e468a98e1a7e06e7e4.tar.gz |
login: fix user@.service case, so we don't allow nested sessions (#8051)
> logind sessions are mostly bound to the audit session concept, and audit
> sessions remain unaffected by "su", in fact they are defined to be
> "sealed off", i.e. in a way that if a process entered a session once, it
> will always stay with it, and so will its children, i.e. the only way to
> get a new session is by forking off something off PID 1 (or something
> similar) that never has been part of a session.
The code had a gap. user@.service is a special case PAM session which does
not create a logind session. Let's remember to check for it.
Fixes #8021
Diffstat (limited to 'src/boot')
0 files changed, 0 insertions, 0 deletions