diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-05-26 16:33:46 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-05-26 16:33:46 -0600 |
commit | 50693c9ea4ad3d7a2168a3b5020d0f8f630056eb (patch) | |
tree | ac35ac9873de5668928292f2b39dcf5204db0b17 /include | |
parent | 8198563e2b79da8d432ef0c1005e81e2d6317ddd (diff) | |
download | sudo-50693c9ea4ad3d7a2168a3b5020d0f8f630056eb.tar.gz |
Pass envp, not environ, to real execve() from exec_wrapper() if possible.
The replacement execve() function was passing the global environ
to exec_wrapper() instead of the envp parameter. This caused the
command to be run with the wrong environment on AIX systems, and
possibly others, when intercept or log_subcmds was enabled.
Bug #1030.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions