From 7a57bae1e6bc2508f03f717ce3416b2d95d5272b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 16 Dec 2015 15:16:48 -0700 Subject: [PATCH] Change noexec flag in selinux_execve() from int to bool. --- src/selinux.c | 2 +- src/sudo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 *); -- 2.40.0