Change noexec flag in selinux_execve() from int to bool.

This commit is contained in:
Todd C. Miller
2015-12-16 15:16:48 -07:00
parent 4536480800
commit 7a57bae1e6
2 changed files with 2 additions and 2 deletions

View File

@@ -374,7 +374,7 @@ done:
void void
selinux_execve(const char *path, char *const argv[], char *const envp[], selinux_execve(const char *path, char *const argv[], char *const envp[],
int noexec) bool noexec)
{ {
char **nargv; char **nargv;
const char *sesh; const char *sesh;

View File

@@ -222,7 +222,7 @@ int selinux_restore_tty(void);
int selinux_setup(const char *role, const char *type, const char *ttyn, int selinux_setup(const char *role, const char *type, const char *ttyn,
int ttyfd); int ttyfd);
void selinux_execve(const char *path, char *const argv[], char *const envp[], void selinux_execve(const char *path, char *const argv[], char *const envp[],
int noexec); bool noexec);
/* solaris.c */ /* solaris.c */
void set_project(struct passwd *); void set_project(struct passwd *);