diff options
| author | fvdl <fvdl@NetBSD.org> | 2003-06-29 22:28:00 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 2003-06-29 22:28:00 +0000 |
| commit | d5aece61d61067d5dd5a0b762c965fbe106fce67 (patch) | |
| tree | 3fd429cd1fc49cc0e1ed7c45b1a2d185123e8eb5 /sys/compat/linux/common/linux_exec.c | |
| parent | 7a5f4f28d0360a953535b84ac213ee6ed4044466 (diff) | |
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.c | 6 |
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 117ab817b1a..b61cb0f0b0e 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.63 2003/06/28 14:21:20 darrenr Exp $ */ +/* $NetBSD: linux_exec.c,v 1.64 2003/06/29 22:29:26 fvdl Exp $ */ /*- * Copyright (c) 1994, 1995, 1998, 2000 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.63 2003/06/28 14:21:20 darrenr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.64 2003/06/29 22:29:26 fvdl Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -99,7 +99,7 @@ linux_sys_execve(l, v, retval) caddr_t sg; sg = stackgap_init(p, 0); - CHECK_ALT_EXIST(l, &sg, SCARG(uap, path)); + CHECK_ALT_EXIST(p, &sg, SCARG(uap, path)); SCARG(&ap, path) = SCARG(uap, path); SCARG(&ap, argp) = SCARG(uap, argp); |
