diff options
Diffstat (limited to 'sys/kern/kern_exec.c')
| -rw-r--r-- | sys/kern/kern_exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index d97ed3113a44..0241c4d71a2d 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -691,11 +691,7 @@ execve(td, uap) } */ *uap; { -#ifdef MAC return (kern_execve(td, uap->fname, uap->argv, uap->envv, NULL)); -#else - return (ENOSYS); -#endif } #ifndef _SYS_SYSPROTO_H_ @@ -721,8 +717,12 @@ __mac_execve(td, uap) } */ *uap; { +#ifdef MAC return (kern_execve(td, uap->fname, uap->argv, uap->envv, uap->mac_p)); +#else + return (ENOSYS); +#endif } int |
