2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Make noexec parameter to sudo_execve() bool.

This commit is contained in:
Todd C. Miller
2014-01-08 17:02:22 -07:00
parent aa93ef78a7
commit bb9775879b
4 changed files with 4 additions and 4 deletions

View File

@@ -407,7 +407,7 @@ selinux_execve(const char *path, char *const argv[], char *const envp[],
memcpy(&nargv[2], &argv[1], argc * sizeof(char *)); /* copies NULL */
/* sesh will handle noexec for us. */
sudo_execve(sesh, nargv, envp, 0);
sudo_execve(sesh, nargv, envp, false);
serrno = errno;
free(nargv);
errno = serrno;