summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_exec.c
diff options
context:
space:
mode:
authorfvdl <fvdl@NetBSD.org>1995-03-05 23:23:37 +0000
committerfvdl <fvdl@NetBSD.org>1995-03-05 23:23:37 +0000
commit182c23c8bc953f735285f652e318b26abdb110d5 (patch)
treec412b378bbe811dee6c821046621ac00649e418e /sys/compat/linux/common/linux_exec.c
parent6c30f4a8925eee67df33399ec86d46da08c9612e (diff)
Added a few more system calls.
More consistent alternate root file semantics throughout.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
-rw-r--r--sys/compat/linux/common/linux_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c
index 72174b43d4b..4cd7b41961f 100644
--- a/sys/compat/linux/common/linux_exec.c
+++ b/sys/compat/linux/common/linux_exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec.c,v 1.1 1995/02/28 23:24:46 fvdl Exp $ */
+/* $NetBSD: linux_exec.c,v 1.2 1995/03/05 23:23:37 fvdl Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@@ -297,7 +297,7 @@ linux_uselib(p, uap, retval)
int rem, i, magic, error;
sg = stackgap_init();
- CHECK_ALT(p, &sg, SCARG(uap, path));
+ CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
NDINIT(&ni, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
@@ -377,7 +377,7 @@ linux_execve(p, uap, retval)
caddr_t sg;
sg = stackgap_init();
- CHECK_ALT(p, &sg, SCARG(uap, path));
+ CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
return execve(p, uap, retval);
}