Skip to content

Commit a32c4b8

Browse files
committed
Use execvpe
1 parent dbd66c2 commit a32c4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/zygote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fn do_exec(mut arg: DoExecArg) -> ! {
209209
let mut logger = crate::linux::util::StraceLogger::new();
210210
writeln!(logger, "sandbox {}: ready to execve", arg.jail_id).unwrap();
211211

212-
libc::execve(
212+
libc::execvpe(
213213
path,
214214
argv as *const *const c_char,
215215
envp as *const *const c_char,

0 commit comments

Comments
 (0)