]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
execute: document that the 'env' param is input *and* output 22341/head
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Feb 2022 12:50:28 +0000 (13:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Feb 2022 12:50:28 +0000 (13:50 +0100)
src/core/execute.c

index 0b433fa62508f325707db1546463bfa33cc15a6f..380755eb09b186de4c57cf0176d3501212290d02 100644 (file)
@@ -1172,7 +1172,7 @@ static int setup_pam(
                 uid_t uid,
                 gid_t gid,
                 const char *tty,
-                char ***env,
+                char ***env, /* updated on success */
                 const int fds[], size_t n_fds) {
 
 #if HAVE_PAM