Change noexec flag in selinux_execve() from int to bool.
This commit is contained in:
@@ -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;
|
||||
|
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user