summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-05-26 16:33:46 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-05-26 16:33:46 -0600
commit50693c9ea4ad3d7a2168a3b5020d0f8f630056eb (patch)
treeac35ac9873de5668928292f2b39dcf5204db0b17 /include
parent8198563e2b79da8d432ef0c1005e81e2d6317ddd (diff)
downloadsudo-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