]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/execute: pass env vars to PAM session setup (#3503)
authorJouke Witteveen <j.witteveen@gmail.com>
Mon, 13 Jun 2016 10:50:12 +0000 (12:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Jun 2016 10:50:12 +0000 (12:50 +0200)
commit2065ca699b38d97b2a4ebd34a7c2d2c186970d20
tree9360de2b74a44b2f29adb3a20669af494908c583
parent988b3b1765153051d48f1b47f42e78d02d2f7a9a
core/execute: pass env vars to PAM session setup (#3503)

Move the merger of environment variables before setting up the PAM
session and pass the aggregate environment to PAM setup. This allows
control over the PAM session hooks through environment variables.

PAM session initiation may update the environment. On successful
initiation of a PAM session, we adopt the environment of the
PAM context.
src/core/execute.c