]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Export XDG_RUNTIME_DIR to child ssh sessions
authorjca@openbsd.org <jca@openbsd.org>
Mon, 17 Nov 2025 12:59:29 +0000 (12:59 +0000)
committerDamien Miller <djm@mindrot.org>
Tue, 18 Nov 2025 00:29:55 +0000 (11:29 +1100)
commit58533bbdf7aa0548de8e2abd3cb2de0593fa9fdc
tree125b9573197ee26812646462dfa0071fc9acb7bb
parente4cc5ab0efd85f01c0e1ae46825ffc0c7a8f44ce
upstream: Export XDG_RUNTIME_DIR to child ssh sessions

Currently setusercontext(LOGIN_SETALL) does create the directory in
/tmp/run/user, since LOGIN_SETXDGENV is part of LOGIN_SETALL, but the
env variable wasn't exported.

ok djm@

OpenBSD-Commit-ID: 02b8433f72759b3a07b55cbc5a7cdb84391b0017
session.c