From: Todd C. Miller Date: Wed, 16 Dec 2015 22:16:48 +0000 (-0700) Subject: Change noexec flag in selinux_execve() from int to bool. X-Git-Tag: SUDO_1_8_16^2~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a57bae1e6bc2508f03f717ce3416b2d95d5272b;p=sudo Change noexec flag in selinux_execve() from int to bool. --- diff --git a/src/selinux.c b/src/selinux.c index 8cadc5dd1..3d5a58d69 100644 --- a/src/selinux.c +++ b/src/selinux.c @@ -374,7 +374,7 @@ done: void selinux_execve(const char *path, char *const argv[], char *const envp[], - int noexec) + bool noexec) { char **nargv; const char *sesh; diff --git a/src/sudo.h b/src/sudo.h index 1c00b1bfc..8f29ae81b 100644 --- a/src/sudo.h +++ b/src/sudo.h @@ -222,7 +222,7 @@ int selinux_restore_tty(void); int selinux_setup(const char *role, const char *type, const char *ttyn, int ttyfd); void selinux_execve(const char *path, char *const argv[], char *const envp[], - int noexec); + bool noexec); /* solaris.c */ void set_project(struct passwd *);