diff options
| author | manu <manu@NetBSD.org> | 2003-12-20 18:22:16 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2003-12-20 18:22:16 +0000 |
| commit | b23b73b953e5e10e0c77c9c1041bfd0fd31bb7d4 (patch) | |
| tree | fdd27293ef5bfce10c9cda66791f07e524dc365a /sys/compat/linux/common/linux_exec.c | |
| parent | 8f443ee26ab9096bc5a105620394453192ee5a06 (diff) | |
Introduce lwp_emuldata and the associated hooks. No hook is provided for the
exec case, as the emulation already has the ability to intercept that
with the e_proc_exec hook. It is the responsability of the emulation to
take appropriaye action about lwp_emuldata in e_proc_exec.
Patch reviewed by Christos.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c index 78b3d5ccdc3..45dbc12d872 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.68 2003/12/05 21:12:43 jdolecek Exp $ */ +/* $NetBSD: linux_exec.c,v 1.69 2003/12/20 18:22:18 manu 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.68 2003/12/05 21:12:43 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.69 2003/12/20 18:22:18 manu Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -134,6 +134,8 @@ const struct emul emul_linux = { linux_e_proc_exec, linux_e_proc_fork, linux_e_proc_exit, + NULL, + NULL, #ifdef __HAVE_SYSCALL_INTERN linux_syscall_intern, #else |
