summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-11-05 18:04:50 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-11-05 18:04:50 +0000
commit0c93266b9c33523a17368b9d866acc878dd8ba69 (patch)
tree6714ea277d6466b93e56f60248e153cb6d12a646
parent939b97cba63e59f0a189a9d7fdc9e00edb967feb (diff)
Notes
-rw-r--r--sys/kern/kern_exec.c8
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